Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions third_party/packages/path_parsing/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
## NEXT

* Updates minimum supported SDK version to Flutter 3.38/Dart 3.10.
* Fix deprecation lints.

## 1.1.0

Expand Down
4 changes: 2 additions & 2 deletions third_party/packages/path_parsing/lib/src/path_parsing.dart
Original file line number Diff line number Diff line change
Expand Up @@ -653,7 +653,7 @@ class SvgPathNormalizer {
}
pointTransform.setIdentity();

pointTransform.scale(1.0 / rx, 1.0 / ry);
pointTransform.scaleByDouble(1.0 / rx, 1.0 / ry, 1.0 / rx, 1);
pointTransform.rotateZ(-angle);

_PathOffset point1 = _mapPoint(pointTransform, currentPoint);
Expand Down Expand Up @@ -687,7 +687,7 @@ class SvgPathNormalizer {

pointTransform.setIdentity();
pointTransform.rotateZ(angle);
pointTransform.scale(rx, ry);
pointTransform.scaleByDouble(rx, ry, rx, 1);

// Some results of atan2 on some platform implementations are not exact
// enough. So that we get more cubic curves than expected here. Adding 0.001f
Expand Down
Loading