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

added logic for gui clipping rectangle #435

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

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
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