Infer texture size when rendering. #65
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
When using
gfx.Commands.draw_texture
, you have to explicitly size the image using the scale component of the transform to get it to look correct.Ideally, we would infer this from the texture width and height - especially since we already have all of this information. Changing the presented resolution would instead be an override in the description struct.
Also would be worth making it so you can specify the image origin point for things like scaling and rotation.Actually, anchoring can be handled through the transforms. I don't think that's relevant thinking about it.