Class TFPCustomImage

Unit

Declaration

type TFPCustomImage = class(TPersistent)

Description

This item has no description.

Hierarchy

Overview

Methods

Protected procedure SetInternalColor(x,y:integer; const Value:TFPColor); virtual;
Protected function GetInternalColor(x,y:integer) : TFPColor; virtual;
Protected procedure SetInternalPixel(x,y:integer; Value:integer); virtual; abstract;
Protected function GetInternalPixel(x,y:integer) : integer; virtual; abstract;
Protected procedure SetUsePalette(Value:boolean); virtual;
Protected procedure Progress(Sender: TObject; Stage: TProgressStage; PercentDone: Byte; RedrawNow: Boolean; const R: TRect; const Msg: AnsiString; var Continue: Boolean); Virtual;
Public constructor create(AWidth,AHeight:integer); virtual;
Public destructor destroy; override;
Public procedure Assign(Source: TPersistent); override;
Public procedure LoadFromStream(Str:TStream; Handler:TFPCustomImageReader); overload;
Public procedure LoadFromStream(Str:TStream); overload;
Public procedure LoadFromFile(const filename:String; Handler:TFPCustomImageReader); overload;
Public procedure LoadFromFile(const filename:String); overload;
Public procedure SaveToStream(Str:TStream; Handler:TFPCustomImageWriter);
Public procedure SaveToFile(const filename:String; Handler:TFPCustomImageWriter); overload;
Public procedure SaveToFile(const filename:String); overload;
Public procedure SetSize(AWidth, AHeight : integer); virtual;
Public procedure RemoveExtra(const key:string);
Public function ExtraCount: integer;

Properties

Public property Height : integer read FHeight write SetHeight;
Public property Width : integer read FWidth write SetWidth;
Public property Colors [x,y: integer]: TFPColor read GetColor write SetColor;
Public property UsePalette : boolean read GetUsePalette write SetUsePalette;
Public property Palette : TFPPalette read FPalette;
Public property Pixels [x,y: integer]: integer read GetPixel write SetPixel;
Public property Extra [const key: string]: string read GetExtra write SetExtra;
Public property ExtraValue [index: integer]: string read GetExtraValue write SetExtraValue;
Public property ExtraKey [index: integer]: string read GetExtraKey write SetExtraKey;
Public property OnProgress: TFPImgProgressEvent read FOnProgress write FOnProgress;

Description

Methods

Protected procedure SetInternalColor(x,y:integer; const Value:TFPColor); virtual;

This item has no description.

Protected function GetInternalColor(x,y:integer) : TFPColor; virtual;

This item has no description.

Protected procedure SetInternalPixel(x,y:integer; Value:integer); virtual; abstract;

This item has no description.

Protected function GetInternalPixel(x,y:integer) : integer; virtual; abstract;

This item has no description.

Protected procedure SetUsePalette(Value:boolean); virtual;

This item has no description.

Protected procedure Progress(Sender: TObject; Stage: TProgressStage; PercentDone: Byte; RedrawNow: Boolean; const R: TRect; const Msg: AnsiString; var Continue: Boolean); Virtual;

This item has no description.

Public constructor create(AWidth,AHeight:integer); virtual;

This item has no description.

Public destructor destroy; override;

This item has no description.

Public procedure Assign(Source: TPersistent); override;

This item has no description.

Public procedure LoadFromStream(Str:TStream; Handler:TFPCustomImageReader); overload;

This item has no description.

Public procedure LoadFromStream(Str:TStream); overload;

This item has no description.

Public procedure LoadFromFile(const filename:String; Handler:TFPCustomImageReader); overload;

This item has no description.

Public procedure LoadFromFile(const filename:String); overload;

This item has no description.

Public procedure SaveToStream(Str:TStream; Handler:TFPCustomImageWriter);

This item has no description.

Public procedure SaveToFile(const filename:String; Handler:TFPCustomImageWriter); overload;

This item has no description.

Public procedure SaveToFile(const filename:String); overload;

This item has no description.

Public procedure SetSize(AWidth, AHeight : integer); virtual;

This item has no description.

Public procedure RemoveExtra(const key:string);

This item has no description.

Public function ExtraCount: integer;

This item has no description.

Properties

Public property Height : integer read FHeight write SetHeight;

This item has no description.

Public property Width : integer read FWidth write SetWidth;

This item has no description.

Public property Colors [x,y: integer]: TFPColor read GetColor write SetColor;

This item has no description.

Public property UsePalette : boolean read GetUsePalette write SetUsePalette;

This item has no description.

Public property Palette : TFPPalette read FPalette;

This item has no description.

Public property Pixels [x,y: integer]: integer read GetPixel write SetPixel;

This item has no description.

Public property Extra [const key: string]: string read GetExtra write SetExtra;

This item has no description.

Public property ExtraValue [index: integer]: string read GetExtraValue write SetExtraValue;

This item has no description.

Public property ExtraKey [index: integer]: string read GetExtraKey write SetExtraKey;

This item has no description.

Public property OnProgress: TFPImgProgressEvent read FOnProgress write FOnProgress;

This item has no description.


Generated by PasDoc 0.17.0.snapshot.