mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-04 14:37:26 +01:00
TAChart: Add Font.Style support to TBGRABitmapDrawer
git-svn-id: trunk@31652 -
This commit is contained in:
parent
1616b005fa
commit
92f1f8c865
@ -215,7 +215,8 @@ begin
|
||||
Canvas.Font.Height := AFont.Size * 96 div 72;
|
||||
Canvas.Font.Orientation := FGetFontOrientationFunc(AFont);
|
||||
Canvas.Font.BGRAColor := FPColorToBGRA(AFont.FPColor);
|
||||
// TODO: FontStyle
|
||||
if AFont is TFont then
|
||||
Canvas.Font.Style := (AFont as TFont).Style;
|
||||
end;
|
||||
|
||||
procedure TBGRABitmapDrawer.SetPen(APen: TFPCustomPen);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user