mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-19 15:08:40 +00:00
Each pane other than the current document's, under Window > Arrange > Tile and in floating document windows, made and flattened the outlines of its document's selected objects on every frame, and with more points than are outlined it measured the bounds of every selected object on every frame. The pane now keeps the outline shapes by slot and makes them again when the document's revision, the document, the selection or the pane's screen mapping changes. The shapes drawn are the same as before. A pane with View > Edges off keeps none, and the outlines of panes that no longer show are dropped with the pane's other state. With every object selected, one frame of a pane's outlines with their tessellation takes 28.9 ms of CPU time in a release build instead of 40.1 ms for 20,000 rectangles, 116.7 ms instead of 197.2 ms for 20,000 ellipses, and 0.05 ms instead of 32.0 ms for 150,000 rectangles (medians of seven interleaved runs of 20 frames, pane_outlines_timing).