Skip to content

Conversation

JettMonstersGoBoom
Copy link

Included an example with a slight change to allow moving clipping window size to test controls.
NOTE if a control is partially clipped we still render unclipped, and simply clip the mouse position to allow pixel accuracy within the clipwindow.
NOTE if text is clipped, each letter outside of the clipwindow will not be drawn, BUT x&y position still will be updated.

so far the default controls are tested in
clipping_controls_test_suite
left and right text is clipped separately now
@raysan5 raysan5 changed the title added logic for gui clipping rectangle Support gui clipping rectangles Jul 28, 2025
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