Beschreibung | Hierarchie | Felder | Methoden | Eigenschaften |
type TOPBitmap = class(TGraphic)
TOPBitmap
![]() |
constructor Create; virtual; |
![]() |
destructor Destroy; override; |
![]() |
procedure Assign(Source: TPersistent); override; |
![]() |
function GetDataSize: Cardinal; |
![]() |
procedure CopyFromColorTable(AColorTable: array of TColor; Swap: Boolean = true; Size: integer = -1); |
![]() |
function CountColors(Max: Integer): Integer; |
![]() |
function MakePalette(Size: Byte; var ColorTable: TOpenColorTableArray): Boolean; |
![]() |
procedure LoadFromStream(Stream: TStream); virtual; |
![]() |
procedure SaveToStream(Stream: TStream); virtual; |
![]() |
procedure LoadFromFile(const Filename: string); virtual; |
![]() |
procedure SaveToFile(const Filename: string); virtual; |
![]() |
procedure OPProgress(Sender: TObject; Stage: TOPProgressStage; PercentDone: Byte; RedrawNow: Boolean; const R: TRect; const Msg: string); virtual; |
![]() |
procedure SetAlpha(Value: Byte); |
![]() |
procedure Clear; |
![]() |
function GetTransparentMask(Tolerance: Byte; var Data: PByte; ReversedBits: Boolean; Boundary:TOpRawImageLineEnd): integer; |
![]() |
function GetFullMask(var Data: PByte): integer; |
![]() |
property BPP: byte read GetBPP; |
![]() |
property ScanLine[Row: Integer]: Pointer read GetScanLine; |
![]() |
property Width: Integer read GetWidth write SetWidth; |
![]() |
property Height: Integer read GetHeight write SetHeight; |
![]() |
property ColorTable: PColorTableArray read GetColorTable write SetColorTable; |
![]() |
property Palette: THandle read GetPalette write SetPalette; |
![]() |
property ColorTableSize: integer read fColorTableSize; |
![]() |
property PixelFormat: TPixelFormat read GetPixelFormat write SetPixelFormat; |
![]() |
property Monochrome: Boolean read fMonochrome write SetMonochrome; |
![]() |
property Data: TBitmapData read fData write fData; |
![]() |
property Handle: THandle read GetHandle write SetHandle; |
![]() |
property ReductionMode: TReductionMode read fReductionMode write fReductionMode; |
![]() |
property Transparent: Boolean read GetTransparent write SetTransparent; |
![]() |
property TransparentColor: TColor read fTransparentColor write SetTransparentColor; |
![]() |
property AlphaBlend: Boolean read fAlphaBlend write SetAlphaBlend; |
![]() |
property Pixels[X, Y: Integer]: TColor read GetPixel write SetPixel; |
![]() |
property Empty: Boolean read GetEmpty; |
![]() |
property OnOPProgress: TOPProgressEvent read fOnOPProgress write fOnOPProgress; |
![]() |
constructor Create; virtual; |
![]() |
destructor Destroy; override; |
![]() |
procedure Assign(Source: TPersistent); override; |
![]() |
function GetDataSize: Cardinal; |
![]() |
procedure CopyFromColorTable(AColorTable: array of TColor; Swap: Boolean = true; Size: integer = -1); |
![]() |
function CountColors(Max: Integer): Integer; |
![]() |
function MakePalette(Size: Byte; var ColorTable: TOpenColorTableArray): Boolean; |
![]() |
procedure LoadFromStream(Stream: TStream); virtual; |
![]() |
procedure SaveToStream(Stream: TStream); virtual; |
![]() |
procedure LoadFromFile(const Filename: string); virtual; |
![]() |
procedure SaveToFile(const Filename: string); virtual; |
![]() |
procedure OPProgress(Sender: TObject; Stage: TOPProgressStage; PercentDone: Byte; RedrawNow: Boolean; const R: TRect; const Msg: string); virtual; |
![]() |
procedure SetAlpha(Value: Byte); |
![]() |
procedure Clear; |
![]() |
function GetTransparentMask(Tolerance: Byte; var Data: PByte; ReversedBits: Boolean; Boundary:TOpRawImageLineEnd): integer; |
![]() |
function GetFullMask(var Data: PByte): integer; |
![]() |
property BPP: byte read GetBPP; |
![]() |
property ScanLine[Row: Integer]: Pointer read GetScanLine; |
![]() |
property Width: Integer read GetWidth write SetWidth; |
![]() |
property Height: Integer read GetHeight write SetHeight; |
![]() |
property ColorTable: PColorTableArray read GetColorTable write SetColorTable; |
![]() |
property Palette: THandle read GetPalette write SetPalette; |
![]() |
property ColorTableSize: integer read fColorTableSize; |
![]() |
property PixelFormat: TPixelFormat read GetPixelFormat write SetPixelFormat; |
![]() |
property Monochrome: Boolean read fMonochrome write SetMonochrome; |
![]() |
property Data: TBitmapData read fData write fData; |
![]() |
property Handle: THandle read GetHandle write SetHandle; |
![]() |
property ReductionMode: TReductionMode read fReductionMode write fReductionMode; |
![]() |
property Transparent: Boolean read GetTransparent write SetTransparent; |
![]() |
property TransparentColor: TColor read fTransparentColor write SetTransparentColor; |
![]() |
property AlphaBlend: Boolean read fAlphaBlend write SetAlphaBlend; |
![]() |
property Pixels[X, Y: Integer]: TColor read GetPixel write SetPixel; |
![]() |
property Empty: Boolean read GetEmpty; |
Belongs to Canvas but is nice to have here |
![]() |
property OnOPProgress: TOPProgressEvent read fOnOPProgress write fOnOPProgress; |