TAChart: Add Font.Style support to TBGRABitmapDrawer

git-svn-id: trunk@31652 -
This commit is contained in:
ask 2011-07-10 09:55:46 +00:00
parent 1616b005fa
commit 92f1f8c865

View File

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