mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-07 09:55:54 +02:00
TAChart: Add missing "ResetFont" for TAggpasDrawer forgotten in r51266 #a9f558b56b
git-svn-id: trunk@51307 -
This commit is contained in:
parent
2ec5176910
commit
dde0721065
@ -56,6 +56,7 @@ type
|
||||
AStartAngle16Deg, AAngleLength16Deg: Integer);
|
||||
procedure Rectangle(const ARect: TRect);
|
||||
procedure Rectangle(AX1, AY1, AX2, AY2: Integer);
|
||||
procedure ResetFont;
|
||||
procedure SetBrushColor(AColor: TChartColor);
|
||||
procedure SetBrushParams(AStyle: TFPBrushStyle; AColor: TChartColor);
|
||||
procedure SetPenParams(AStyle: TFPPenStyle; AColor: TChartColor);
|
||||
@ -196,6 +197,11 @@ begin
|
||||
FCanvas.Rectangle(ARect);
|
||||
end;
|
||||
|
||||
procedure TAggPasDrawer.ResetFont;
|
||||
begin
|
||||
FCanvas.Font.Orientation := 0;
|
||||
end;
|
||||
|
||||
procedure TAggPasDrawer.SetBrush(ABrush: TFPCustomBrush);
|
||||
begin
|
||||
with FCanvas.Brush do begin
|
||||
|
Loading…
Reference in New Issue
Block a user