Skip to content

Conversation

ZERICO2005
Copy link
Contributor

@ZERICO2005 ZERICO2005 commented Jul 19, 2025

Adds gfx_RotatedScaledSprite and gfx_RotatedScaledTransparentSprite along with a demo under toolchain/examples/library_examples/sprites_rotate_clipped:

image

These functions return the size of the sprite before clipping is performed.

The performance of the clipped routines is identical to the unclipped routines apart from a small constant overhead to calculate the clipped region.

@ZERICO2005
Copy link
Contributor Author

Found a small optimization for gfx_SetDefaultPalette, and added an autotest for it

@adriweb
Copy link
Member

adriweb commented Aug 28, 2025

Would be the last merge before toolchain v13 release. If someone has time for a review :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

4 participants