mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-21 23:19:48 +02:00
fpvectorial: Fix doubling of rounded rectangle corner radius after svg reading.
This commit is contained in:
parent
cd60db2407
commit
1b3379213d
@ -2977,8 +2977,6 @@ begin
|
||||
ConvertSVGCoordinatesToFPVCoordinates(AData, lx, ly, lRect.X, lRect.Y);
|
||||
ConvertSVGSizeToFPVSize(AData, cx, cy, lRect.CX, lRect.CY);
|
||||
ConvertSVGSizeToFPVSize(AData, lrx, lry, lRect.RX, lRect.RY);
|
||||
lRect.RX := Abs(lRect.RX) * 2;
|
||||
lRect.RY := Abs(lRect.RY) * 2;
|
||||
|
||||
// Make sure that transformations are read after geometry and position
|
||||
// of rectangle is known.
|
||||
|
Loading…
Reference in New Issue
Block a user