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

Store width offsets instead of quad ranges for automatic anchors #862

Open
karimnaaji opened this issue Jul 22, 2016 · 0 comments
Open

Store width offsets instead of quad ranges for automatic anchors #862

karimnaaji opened this issue Jul 22, 2016 · 0 comments

Comments

@karimnaaji
Copy link
Member

Follow up work/optimization when #842 gets merged.

To fallback to an alignment that matches the anchor, text alignments (center, left, ...) are drawn and stored as quad ranges. Instead, store several width for each line to offset the quads accordingly, shift them when update of buffers happens (pushTransform in textLabel.cpp).

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

No branches or pull requests

1 participant