Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tiny typo fix in docs #45

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
4 changes: 2 additions & 2 deletions docs/picovector.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ and then apply rotation and scale as needed.

* `rotate(angle, (x, y))` - rotate polygons by `angle` in degrees
around point `(x, y)`.
* `scale(scale_x, scale_t)` - apply a scale, change the size of polygons
* `scale(scale_x, scale_y)` - 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)
Expand Down Expand Up @@ -218,4 +218,4 @@ Returns a four tuple with the x, y position, width and height in pixels.

When you draw text the x, y position and angle are used to create a new
Transform to control the position and rotation of your text. The transform
set with `.set_transform()` is also applied.
set with `.set_transform()` is also applied.