-
Notifications
You must be signed in to change notification settings - Fork 5
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
diagram upside down when rescaling when window resized #7
Comments
Cairo/gtk and diagrams have different ideas about the y-axis: in diagrams, the positive y-axis points up (just like in math); in cairo/gtk, it points down (so (0,0) is at the top left of the screen). When a diagram is "adjusted" it is rescaled and centered but also flipped upside down to account for this. I think the problem is that your code is flipping the diagram twice: |
Thanks for that illuminating answer. So the original I've tried
And about the root of my problem: I have a |
Ah, I see now, Unfortunately I do not understand the GTK backend well enough to answer your questions about |
The text was updated successfully, but these errors were encountered: