fpvectorial: Adds pen setting to the ellipse rendering

git-svn-id: trunk@37237 -
This commit is contained in:
sekelsenmat 2012-05-10 10:20:28 +00:00
parent fc747d6013
commit 14ea0c8587

View File

@ -1556,6 +1556,8 @@ var
ALCLDest: TCanvas absolute ADest;
{$endif}
begin
ApplyPenToCanvas(ADest);
CalculateBoundingBox(ADest, fx1, fy1, fx2, fy2);
x1 := CoordToCanvasX(fx1);
x2 := CoordToCanvasX(fx2);
@ -1586,8 +1588,6 @@ begin
else
{$endif}
begin
ADest.Pen.Style := psSolid;
ADest.Pen.FPColor := colBlack;
ADest.Ellipse(x1, y1, x2, y2);
end;
end;