-
-
Notifications
You must be signed in to change notification settings - Fork 99
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
move origin to top-left text draw failed #139
Comments
Yes, this may not be the easiest for people who'd like to work with top-left as the origin, but I'm thinking of changing this system, by introducing a |
Is this a duplicate of #72 ? |
Yes it is! I will close this one. As mentioned in the other issue: I've added a change that adds better support for CartesianIV (i.e. origin is top-left). It differs from CartesianI (i.e. origin is bottom-left) in that it anchors differently to images (anchors top-left vs bottom-left) and that text has always been anchored to the baseline (TextLine) or to top-left (TextBox) and remains so. This means that switching to CartesianIV may change the position of text and images. You can change to CartesianIV using: ctx.SetCoordSystem(canvas.CartesianIV) |
When I use
SetView(canvas.Identity.ReflectYAbout)
text draw resultuse
SetCoordView
can draw right, but other draw can't draw right, ↓ background draw out of canvasThe text was updated successfully, but these errors were encountered: