diff options
Diffstat (limited to 'graphics/lazpaint/files')
-rw-r--r-- | graphics/lazpaint/files/patch-lazpaint_ugraph.pas | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/graphics/lazpaint/files/patch-lazpaint_ugraph.pas b/graphics/lazpaint/files/patch-lazpaint_ugraph.pas new file mode 100644 index 000000000000..14726d6d64ad --- /dev/null +++ b/graphics/lazpaint/files/patch-lazpaint_ugraph.pas @@ -0,0 +1,11 @@ +--- lazpaint/ugraph.pas 2025-06-03 00:14:12.239399000 -0700 ++++ lazpaint/ugraph.pas 2025-06-03 00:14:45.095187000 -0700 +@@ -1206,7 +1206,7 @@ + w := FramePenWidth*ACanvasScale/10 / 2 + 1; + rF := EmptyRectF; + for pt in APoints do +- rF := rF.Union(RectF(pt + PointF(0.5, 0.5) - PointF(w, w), ++ rF := rF.Union(BGRABitmapTypes.RectF(pt + PointF(0.5, 0.5) - PointF(w, w), + pt + PointF(0.5, 0.5) + PointF(w, w))); + result := rect(floor(rF.Left), floor(rF.Top), + ceil(rF.Right), ceil(rF.Bottom)); |