adafruit / Adafruit_Blinka_Displayio

Displayio for Blinka
MIT License
14 stars 20 forks source link

Fix TileGrid flip_x, flip_y and transpose_xy #107

Closed s-ol closed 1 year ago

s-ol commented 1 year ago

The != works as an 'xor' condition on the booleans, since each of the transforms is a noop if executed twice.

This works as expected with all my existing CPy code, but I haven't done testing with a parent Group that has its own transform, so the order in which these are applied and possible interactions should still be verified against the native implementation.

Close #106

jposada202020 commented 1 year ago

@s-ol Just wanted to say thank you!!!!. This makes display_text PRs much easier. This is the result on a BlinkaPygame display for this PR https://github.com/adafruit/Adafruit_CircuitPython_Display_Text/pull/187

image

without you PR...

image