Skip to content

NinePatchTexture fixes and tests#1471

Merged
einarf merged 6 commits intodevelopmentfrom
9patch-fix
Jan 22, 2023
Merged

NinePatchTexture fixes and tests#1471
einarf merged 6 commits intodevelopmentfrom
9patch-fix

Conversation

@einarf
Copy link
Member

@einarf einarf commented Jan 22, 2023

  • Fix wrong y calculations in the second patch row
  • Fixed transparency in red_button_pressed.png
  • Added pixelated=True parameter to NinePatchTextyre.draw_sized to support nearest interpolation
  • Added ArcadeContext.get_framebuffer_image shortcut
  • Expanded and improved conftest (api docs and fixtures)
  • Added unit tests drawing NinePatchTexture with various sizes

@einarf einarf merged commit effbd81 into development Jan 22, 2023
@einarf einarf deleted the 9patch-fix branch January 22, 2023 19:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant