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

Allow passing Matrix3x2 to DrawTextProcessor #125

Closed
antonfirsov opened this issue Mar 24, 2021 · 0 comments · Fixed by #126
Closed

Allow passing Matrix3x2 to DrawTextProcessor #125

antonfirsov opened this issue Mar 24, 2021 · 0 comments · Fixed by #126

Comments

@antonfirsov
Copy link
Member

Follow-up on the discussion #124.

We should enable using an arbitrary Matrix3x2 transform as a parameter within DrawTextProcessor.

The easiest implementation seems to be to pass it to PathBuilder here:

Open questions

Before implementing, we need to figure out how does the transform interfere with DrawTextProcessor.Location and ultimately RenderOptions.Origin. Ideally, I would replace DrawTextProcessor.Location with DrawTextProcessor.Transform entirely, but there might be things I'm missing.

@tocsoft any thoughts?

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

Successfully merging a pull request may close this issue.

1 participant