mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2026-01-12 03:46:07 +01:00
Allows directly setting the core fpcanvas properties in subclasses
git-svn-id: trunk@16303 -
This commit is contained in:
parent
f5751d81db
commit
584fa63ea4
@ -194,14 +194,6 @@ type
|
||||
FClipping,
|
||||
FManageResources: boolean;
|
||||
FRemovingHelpers : boolean;
|
||||
FDefaultFont,
|
||||
FFont : TFPCustomFont;
|
||||
FDefaultBrush,
|
||||
FBrush : TFPCustomBrush;
|
||||
FDefaultPen,
|
||||
FPen : TFPCustomPen;
|
||||
FPenPos : TPoint;
|
||||
FClipRect : TRect;
|
||||
FHelpers : TList;
|
||||
FLocks : integer;
|
||||
FInterpolation : TFPCustomInterpolation;
|
||||
@ -216,6 +208,11 @@ type
|
||||
function GetBrush : TFPCustomBrush;
|
||||
function GetPen : TFPCustomPen;
|
||||
protected
|
||||
FDefaultFont, FFont : TFPCustomFont;
|
||||
FDefaultBrush, FBrush : TFPCustomBrush;
|
||||
FDefaultPen, FPen : TFPCustomPen;
|
||||
FPenPos : TPoint;
|
||||
FClipRect : TRect;
|
||||
function DoCreateDefaultFont : TFPCustomFont; virtual; abstract;
|
||||
function DoCreateDefaultPen : TFPCustomPen; virtual; abstract;
|
||||
function DoCreateDefaultBrush : TFPCustomBrush; virtual; abstract;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user