InterfaceBase WinAPI: use Polyline instead of Polygon in Arc method

git-svn-id: trunk@10997 -
This commit is contained in:
tombo 2007-04-24 12:34:52 +00:00
parent cdf272468e
commit ee5cf39ee1

View File

@ -38,7 +38,7 @@ begin
Count := 0;
PolyBezierArcPoints(Left, Top, Right-Left, Bottom-Top, Angle1, Angle2, 0,
Points, Count);
Polygon(DC, Points, Count, False);
Polyline(DC, Points, Count);
ReallocMem(Points, 0);
Result := True;
end;