mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-18 01:19:16 +02:00
TAChart: Always draw axis arrows with solid pen.
git-svn-id: trunk@65422 -
This commit is contained in:
parent
eb20bb28bc
commit
2d8041f71d
@ -751,6 +751,7 @@ begin
|
|||||||
diag := -ADrawer.Scale(Round(Sqrt(Sqr(Length) + Sqr(Width))));
|
diag := -ADrawer.Scale(Round(Sqrt(Sqr(Length) + Sqr(Width))));
|
||||||
pt1 := AEndPos + RotatePointX(diag, AAngle - da)*sgn;
|
pt1 := AEndPos + RotatePointX(diag, AAngle - da)*sgn;
|
||||||
pt2 := AEndPos + RotatePointX(diag, AAngle + da)*sgn;
|
pt2 := AEndPos + RotatePointX(diag, AAngle + da)*sgn;
|
||||||
|
ADrawer.SetPenParams(psSolid, FPColorToTColor(APen.FPColor), APen.Width);
|
||||||
if BaseLength > 0 then begin
|
if BaseLength > 0 then begin
|
||||||
ptBase := AEndPos + RotatePointX(-ADrawer.Scale(BaseLength), AAngle)*sgn;
|
ptBase := AEndPos + RotatePointX(-ADrawer.Scale(BaseLength), AAngle)*sgn;
|
||||||
ADrawer.SetBrushParams(bsSolid, FPColorToChartColor(APen.FPColor));
|
ADrawer.SetBrushParams(bsSolid, FPColorToChartColor(APen.FPColor));
|
||||||
|
Loading…
Reference in New Issue
Block a user