[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
Abstract class used to represent a Canvas for painting
Source position: fpg_base.pas line 283
type TfpgCanvasBase = class(TObject) |
||
protected |
||
FBufferedDraw: Boolean; |
|
|
FBeginDrawCount: Integer; |
|
|
|
||
|
||
|
||
FLineWidth: Integer; |
|
|
|
||
|
||
FPersistentResources: Boolean; |
|
|
procedure DoSetFontRes(); virtual; abstract; |
|
|
procedure DoSetTextColor(); virtual; abstract; |
|
|
procedure DoSetColor(); virtual; abstract; |
|
|
procedure DoSetLineStyle(); virtual; abstract; |
|
|
procedure DoGetWinRect(); virtual; abstract; |
|
|
procedure DoFillRectangle(); virtual; abstract; |
|
|
procedure DoXORFillRectangle(); virtual; abstract; |
|
|
procedure DoFillTriangle(); virtual; abstract; |
|
|
procedure DoDrawRectangle(); virtual; abstract; |
|
|
procedure DoDrawLine(); virtual; abstract; |
|
|
procedure DoDrawImagePart(); virtual; abstract; |
|
|
procedure DoDrawString(); virtual; abstract; |
|
|
procedure DoSetClipRect(); virtual; abstract; |
|
|
function DoGetClipRect; virtual; abstract; |
|
|
procedure DoAddClipRect(); virtual; abstract; |
|
|
procedure DoClearClipRect; virtual; abstract; |
|
|
procedure DoBeginDraw(); virtual; abstract; |
|
|
procedure DoPutBufferToScreen(); virtual; abstract; |
|
|
procedure DoEndDraw; virtual; abstract; |
|
|
function GetPixel(); virtual; abstract; |
|
|
procedure SetPixel(); virtual; abstract; |
|
|
procedure DoDrawArc(); virtual; abstract; |
|
|
procedure DoFillArc(); virtual; abstract; |
|
|
procedure DoDrawPolygon(); virtual; abstract; |
||
public |
||
constructor Create; virtual; |
|
|
destructor Destroy; override; |
|
|
procedure DrawRectangle(); |
|
Draws a rectangle. |
procedure DrawLine(); |
|
Draws a line |
procedure DrawLineClipped(); |
|
Draws a line inside a clip rectangle |
procedure ClipLine(); |
|
Clips the line based on AClipRect boundaries. |
procedure DrawImage(); |
|
|
procedure DrawImagePart(); |
|
|
procedure DrawArc(); |
|
|
procedure DrawPolygon(); |
||
procedure StretchDraw(); |
|
|
procedure CopyRect(); |
|
|
procedure DrawString(); |
|
|
procedure FillRectangle(); |
|
|
procedure FillTriangle(); |
|
|
procedure FillArc(); |
|
|
procedure GradientFill(); |
|
|
procedure XORFillRectangle(); |
|
|
procedure SetClipRect(); |
|
|
function GetClipRect; |
|
|
procedure AddClipRect(); |
|
|
procedure ClearClipRect; |
|
|
procedure Clear(); |
|
|
procedure GetWinRect(); |
|
|
procedure SetColor(); |
|
|
procedure SetTextColor(); |
|
|
procedure SetLineStyle(); |
|
|
procedure SetFont(); |
|
|
procedure BeginDraw(); |
|
|
procedure EndDraw(); |
|
|
procedure FreeResources; |
|
|
|
||
|
||
property Font: TfpgFontBase; [rw] |
|
|
|
||
property InterpolationFilter: TfpgCustomInterpolation; [rw] |
|
|
property FastDoubleBuffer: Boolean; [rw] |
|
|
property LineStyle: TfpgLineStyle; [r] |
|
|
property LineWidth: Integer; [r] |
|
|
end; |
|
Abstract class used to represent a Canvas for painting |
|
| | ||
TObject |