Skip to content

Commit

Permalink
docs: Add matrix transform.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gadgetoid committed Dec 11, 2024
1 parent 6000437 commit d7faf37
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/picovector.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ and then apply rotation and scale as needed.
around point `(x, y)`.
* `scale(scale_x, scale_t)` - apply a scale, change the size of polygons
* `translate(x, y)` - apply a translation, change the position of polygons
* `matrix([1.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 1.0])` - apply an arbitrary matrix transformation
* `reset()` - reset the transform object back to the default (no transform)

Internally transforms are matrix operations, so the order you apply them
Expand Down

0 comments on commit d7faf37

Please sign in to comment.