EPIC: Improve Precision in Geometric Calculations #44
Labels
enhancement
New feature or request
epic
A group of issues that can be broken down into a number of smaller issues
The current implementation of the CLI tool, which parses SVG files to Compose Icons, is encountering issues with precision in geometric calculations. This precision loss affects the accuracy of the transformations applied to the SVG elements, resulting in visual discrepancies in the generated icons.
Currently, we are parsing
Float
toDouble
while calculating and back toFloat
, which could be avoided if we directly useDouble
.Components to be migrated:
PathTransformation
ArcTransformation
Point2D
(also mergePrecisePoint2D
after migratingPoint2D
to useDouble
)AffineTransformation
PathNodes
The text was updated successfully, but these errors were encountered: