TAChart: Add missing "ResetFont" for TAggpasDrawer forgotten in r51266 #a9f558b56b

git-svn-id: trunk@51307 -
This commit is contained in:
wp 2016-01-17 10:46:59 +00:00
parent 2ec5176910
commit dde0721065

View File

@ -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