Description | Hierarchy | Fields | Methods | Properties |
type TCompressedBitmapItem = class(TCollectionItem)
TCompressedBitmapItem
holds a TCompressedBitmap.
TCompressedBitmapItem
is used to store bitmaps in GoPhast.
FBitmap: TCompressedBitmap; |
|
FCalculatedValues: boolean; |
|
FMeasurementPoints: TMeasurementPointCollection; |
|
FName: string; |
|
FScaleX: double; |
|
FScaleY: double; |
|
FViewDirection: TViewDirection; |
|
FVisible: boolean; |
|
FX: double; |
|
FY: double; |
|
FCanShow: boolean; |
|
FDisplayMessage: boolean; |
procedure Calculate; |
|
function GetScaleX: double; |
|
function GetScaleY: double; |
|
function GetX: double; |
|
function GetY: double; |
|
procedure SetBitmap(const Value: TCompressedBitmap); |
|
procedure SetMeasurementPoints(const Value: TMeasurementPointCollection); |
|
procedure SetViewDirection(const Value: TViewDirection); |
|
procedure SetVisible(const Value: boolean); |
|
function XCoord(const X: double): double; |
|
function YCoord(const Y: double): double; |
|
procedure Assign(Source: TPersistent); override; |
|
constructor Create(Collection: TCollection); override; |
|
destructor Destroy; override; |
|
procedure Invalidate; |
|
procedure DrawCompressedImage(Destination: TBitMap32); |
property ScaleX: double read GetScaleX; |
|
property ScaleY: double read GetScaleY; |
|
property X: double read GetX; |
|
property Y: double read GetY; |
|
property CanShow: boolean read FCanShow write FCanShow; |
|
property DisplayMessage: boolean read FDisplayMessage write FDisplayMessage; |
|
property Bitmap: TCompressedBitmap read FBitmap write SetBitmap; |
|
property Name: string read FName write FName; |
|
property MeasurementPoints: TMeasurementPointCollection
read FMeasurementPoints write SetMeasurementPoints; |
|
property ViewDirection: TViewDirection read FViewDirection
write SetViewDirection; |
|
property Visible: boolean read FVisible write SetVisible; |
FBitmap: TCompressedBitmap; |
|
See Bitmap. |
FCalculatedValues: boolean; |
|
See Calculate. |
FMeasurementPoints: TMeasurementPointCollection; |
|
See MeasurementPoints. |
FName: string; |
|
|
FScaleX: double; |
|
See ScaleX. |
FScaleY: double; |
|
See ScaleY. |
FViewDirection: TViewDirection; |
|
See ViewDirection. |
FVisible: boolean; |
|
See Visible. |
FX: double; |
|
See X. |
FY: double; |
|
See Y. |
FCanShow: boolean; |
|
FDisplayMessage: boolean; |
|
procedure Calculate; |
|
|
function GetScaleX: double; |
|
See ScaleX. |
function GetScaleY: double; |
|
See ScaleY. |
function GetX: double; |
|
See X. |
function GetY: double; |
|
See Y. |
procedure SetBitmap(const Value: TCompressedBitmap); |
|
See Bitmap. |
procedure SetMeasurementPoints(const Value: TMeasurementPointCollection); |
|
See MeasurementPoints. |
procedure SetViewDirection(const Value: TViewDirection); |
|
See ViewDirection. |
procedure SetVisible(const Value: boolean); |
|
See Visible. |
function XCoord(const X: double): double; |
|
|
function YCoord(const Y: double): double; |
|
|
procedure Assign(Source: TPersistent); override; |
|
|
constructor Create(Collection: TCollection); override; |
|
|
destructor Destroy; override; |
|
|
procedure Invalidate; |
|
Invalidate causes X, Y, ScaleX, and ScaleY to be recalculated the next time they are read. |
procedure DrawCompressedImage(Destination: TBitMap32); |
|
property ScaleX: double read GetScaleX; |
|
|
property ScaleY: double read GetScaleY; |
|
|
property X: double read GetX; |
|
|
property Y: double read GetY; |
|
|
property CanShow: boolean read FCanShow write FCanShow; |
|
property DisplayMessage: boolean read FDisplayMessage write FDisplayMessage; |
|
property Bitmap: TCompressedBitmap read FBitmap write SetBitmap; |
|
|
property Name: string read FName write FName; |
|
|
property MeasurementPoints: TMeasurementPointCollection
read FMeasurementPoints write SetMeasurementPoints; |
|
|
property ViewDirection: TViewDirection read FViewDirection
write SetViewDirection; |
|
|
property Visible: boolean read FVisible write SetVisible; |
|
|