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

Proper way to geometrically scale line sketches? #52

Open
kchanqvq opened this issue Aug 22, 2022 · 1 comment
Open

Proper way to geometrically scale line sketches? #52

kchanqvq opened this issue Aug 22, 2022 · 1 comment

Comments

@kchanqvq
Copy link

It seems that the current transform/matrix facility scales both the shape itself and the pen. Is there a nice way to scale the geometry of line sketches but maintain line thickness?

If this has to be done manually for now, would a patch that provides pen-preserving transformation be desirable? (I think to do that we need to do calculation in the drawing primitives instead of delegating to the OpenGL side).

@vydd
Copy link
Owner

vydd commented Oct 16, 2022

Hey! That sounds reasonable. Can you think of an elegant way to support both? Thanks!

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

2 participants