mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-16 02:40:36 +01:00
TAChart: Scale arrows
git-svn-id: trunk@31725 -
This commit is contained in:
parent
4352638a91
commit
7e525bd5f0
@ -1011,8 +1011,8 @@ var
|
||||
pt: TPoint;
|
||||
begin
|
||||
if not Visible then exit;
|
||||
da := ArcTan2(Width, Length);
|
||||
pt := Point(-Length, 0);
|
||||
da := ArcTan2(ADrawer.Scale(Width), ADrawer.Scale(Length));
|
||||
pt := Point(-ADrawer.Scale(Length), 0);
|
||||
ADrawer.Polyline([
|
||||
AEndPos + RotatePoint(pt, AAngle - da), AEndPos,
|
||||
AEndPos + RotatePoint(pt, AAngle + da)], 0, 3);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user