Skip to content

Commit

Permalink
fix: map points args order (#788)
Browse files Browse the repository at this point in the history
  • Loading branch information
Brooooooklyn authored Feb 21, 2024
1 parent 9b068f1 commit 72d3d35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion skia-c/skia_c.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1270,7 +1270,7 @@ extern "C"
SkPoint dst[1];
auto p = SkPoint::Make(x, y);
SkPoint src[] = {p};
MATRIX_CAST->mapPoints(src, dst, 1);
MATRIX_CAST->mapPoints(dst, src, 1);
auto dp = dst[0];
mapped_point->x = dp.fX;
mapped_point->y = dp.fY;
Expand Down

0 comments on commit 72d3d35

Please sign in to comment.