d1c823df41
Fix comptime checks in slot map
455ede6d78
Fix demo build errors
c2a95726ca
Tidy up graphics API additions
4e3263b352
Back the GUI canvas atop a slot map
7e8691c050
Add GUI module
Add function for drawing colored rectangles.
Add function for drawing colored rectangles.
Text rendering
Gonna implement a V1 of text rendering in a GUI module. It's less destructive than implementing it as part of the GFX module when it doesn't need to be. At the very least, it can be integrated…
Text rendering
I considered adding sub-pixel font rendering to the list of things to discuss, but it incurs too many restrictions. For example, simply moving the where the bounding box is rendered on the screen…
Expose different sampling modes when drawing textures
Infer texture size when rendering.
Actually, anchoring can be handled through the transforms. I don't think that's relevant thinking about it.
Infer texture size when rendering.
Also would be worth making it so you can specify the image origin point for things like scaling and rotation.