Castle Game EngineIntroduction Units Class Hierarchy Classes, Interfaces, Objects and Records Types Variables Constants Functions and Procedures Identifiers
|
Class TGrayscaleAlphaImage
Unit
CastleImages
Declaration
type TGrayscaleAlphaImage = class(TCastleImage)
Description
Grayscale image with an alpha channel. Each pixel is two bytes: grayscale + alpha.
Hierarchy
Overview
Methods
 |
procedure DrawFromCore(Source: TCastleImage; X, Y, SourceX, SourceY, SourceWidth, SourceHeight: Integer; const Mode: TDrawMode); override; |
 |
function GetColors(const X, Y, Z: Integer): TCastleColor; override; |
 |
procedure SetColors(const X, Y, Z: Integer; const C: TCastleColor); override; |
 |
class function PixelSize: Cardinal; override; |
 |
class function ColorComponentsCount: Cardinal; override; |
 |
function PixelPtr(const X, Y: Cardinal; const Z: Cardinal = 0): PVector2Byte; |
 |
function RowPtr(const Y: Cardinal; const Z: Cardinal = 0): PArray_Vector2Byte; |
 |
procedure InvertColors; override; |
 |
procedure Clear(const Pixel: TVector4Byte); override; |
 |
function IsClear(const Pixel: TVector4Byte): boolean; override; |
 |
procedure Clear(const Pixel: TVector2Byte); reintroduce; |
 |
function IsClear(const Pixel: TVector2Byte): boolean; reintroduce; |
 |
function HasAlpha: boolean; override; |
 |
function AlphaChannel( const AlphaTolerance: Byte): TAlphaChannel; override; |
 |
procedure LerpWith(const Value: Single; SecondImage: TCastleImage); override; |
 |
class procedure MixColors(const OutputColor: Pointer; const Weights: TVector4Single; const AColors: TVector4Pointer); override; |
 |
procedure Assign(const Source: TCastleImage); override; |
Properties
Description
Methods
 |
procedure DrawFromCore(Source: TCastleImage; X, Y, SourceX, SourceY, SourceWidth, SourceHeight: Integer; const Mode: TDrawMode); override; |
|
|
 |
function GetColors(const X, Y, Z: Integer): TCastleColor; override; |
|
|
 |
procedure SetColors(const X, Y, Z: Integer; const C: TCastleColor); override; |
|
|
 |
class function PixelSize: Cardinal; override; |
|
|
 |
class function ColorComponentsCount: Cardinal; override; |
|
|
 |
function PixelPtr(const X, Y: Cardinal; const Z: Cardinal = 0): PVector2Byte; |
|
|
 |
procedure InvertColors; override; |
|
|
 |
function IsClear(const Pixel: TVector4Byte): boolean; override; |
|
|
 |
function IsClear(const Pixel: TVector2Byte): boolean; reintroduce; |
|
|
 |
function HasAlpha: boolean; override; |
|
|
 |
function AlphaChannel( const AlphaTolerance: Byte): TAlphaChannel; override; |
|
|
 |
procedure LerpWith(const Value: Single; SecondImage: TCastleImage); override; |
|
|
Properties
Generated by PasDoc 0.14.0.
|