Scaled `GImage` uses transformed coordinate system for rendering, rather than global coordinate system
htiek opened this issue · 0 comments
htiek commented
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.