Commit Graph
10 Commits
Author SHA1 Message Date
Dodomew 3e065a8838 Snap text to pixel grid after applying viewport offset
Text inside viewports was blurry with fractional scale factors because it was aligned to the pixel grid before the viewport offset was applied.
2026-11-10 22:33:55 +01:00
meehl 20a1db073d Lint 2026-09-02 16:37:59 +02:00
meehl e3288b96ac Implement get_draw_layer API function 2026-08-29 23:36:50 +02:00
meehl 7b925876a5 Cleanup of UV space handling 2026-08-25 10:46:12 +02:00
meehl 8d17f8e64f Use euclid::Scale to convert between physical and logical coord spaces 2026-08-24 23:57:19 +02:00
meehl 8ba72fd7df Cull draw command if shape does not intersect viewport. 2026-08-24 11:41:57 +02:00
meehl 6fe15c63fe DrawCommandRecorder::finish() doesn't need mutable reference 2026-08-18 11:06:38 +02:00
meehl 1cd62c2b1c Fix absolute positioning of text 2026-08-18 11:04:34 +02:00
meehl d43a1cf392 Hash draw commands directly from their byte representation 2026-08-18 10:58:06 +02:00
meehl 3fc87339ca Refactor draw command recording.
Remove distinct draw primitives and unify them into one shared form.
2026-08-15 19:19:55 +02:00