mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-07-15 00:55:58 +02:00
Qt: fixed TQtWidgetSet.AngleChord(). issue #30194
git-svn-id: trunk@52406 -
This commit is contained in:
parent
04f0bf21ef
commit
d8ed66ce6a
@ -57,7 +57,7 @@ begin
|
|||||||
{$endif}
|
{$endif}
|
||||||
Result := IsValidDC(DC);
|
Result := IsValidDC(DC);
|
||||||
if Result then
|
if Result then
|
||||||
QPainter_drawChord(TQtDeviceContext(DC).Widget, x1, y1, x2, y2, Angle1, Angle2);
|
QPainter_drawChord(TQtDeviceContext(DC).Widget, x1, y1, x2 - x1, y2 - y1, Angle1, Angle2);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
{------------------------------------------------------------------------------
|
{------------------------------------------------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user