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

Scaled GImage uses transformed coordinate system for rendering, rather than global coordinate system #73

Open
htiek opened this issue Dec 7, 2022 · 0 comments

Comments

@htiek
Copy link
Collaborator

htiek commented Dec 7, 2022

The GImage type has a function GImage::scale that scales the image. When the image is scaled, it is drawn on the screen at the wrong coordinates; it seems like the x and y coordinates of the image are also scaled by the scale factor. The rendering code might need to invert the scale transform on the x and y coordinates before first drawing things.

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

No branches or pull requests

1 participant