Files
vectorcraft/crates/render
dotCooCoo 901f78bedd Effects: a whole-object raster keeps its origin across whole-pixel pans of a centered view
The canvas pans by moving the view's center, which leaves rounding error
in the view's translation (for example -13680.000000000002). Flooring
the raster's left or top edge then put the origin one pixel lower, the
width or height grew by a pixel, the scale changed, and the whole object
was filtered again. The origin is now rounded to 2^-20 device pixels,
ties to even, before it is floored, as the sizes already were.

pans_of_a_centered_view_draw_the_whole_object_raster_again now pans
across and down in turn at scales 56, 72, 96 and 120, with centers on
whole points too.
2026-12-05 10:48:05 -08:00
..