mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-17 18:39:10 +02:00
InterfaceBase WinAPI: use Polyline instead of Polygon in Arc method
git-svn-id: trunk@10997 -
This commit is contained in:
parent
cdf272468e
commit
ee5cf39ee1
@ -38,7 +38,7 @@ begin
|
|||||||
Count := 0;
|
Count := 0;
|
||||||
PolyBezierArcPoints(Left, Top, Right-Left, Bottom-Top, Angle1, Angle2, 0,
|
PolyBezierArcPoints(Left, Top, Right-Left, Bottom-Top, Angle1, Angle2, 0,
|
||||||
Points, Count);
|
Points, Count);
|
||||||
Polygon(DC, Points, Count, False);
|
Polyline(DC, Points, Count);
|
||||||
ReallocMem(Points, 0);
|
ReallocMem(Points, 0);
|
||||||
Result := True;
|
Result := True;
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user