Expand Fill and Soften Fill Edges ask for a distance, direction and steps and
remember them; the Modify › Shape items are enabled by what the selection has.
While a colour picker popup is open the stage is its eyedropper: a chip shows
the colour under the pointer, a click gives it to the picker, Esc closes it.
Free Transform sends the transformation origin with turns, scales and skews,
marks each object's own point, and Properties shows Transform about.
Floating paste, pictures from the system clipboard, refused merges and the
Fill/Stroke memory are recorded in ADR 0108. The command reference is
regenerated; clippy findings in the new tests are fixed.
Masked artwork hid nothing, so the stipple of a selection under it showed
through even where the artwork covers it. The idea is from the follow-up
commits of outside PR #404 (Untoldent); main's faster pass works on row spans,
so it is done there: the spans a mask does not show are set aside, the rest go
behind the artwork, with no path booleans, and a mask is outlined once a frame.
Soft masks still hide nothing. The PR's other follow-up (a symbol instance
below full opacity hides nothing) already holds on main: such an instance is a
group, and grouped artwork is never an occluder.
Measured (selection_overlay_cost, 720 selected raw pieces): 6.24 ms a frame,
as before (6.50 ms when the pass was rewritten); the same drawing under an
opaque sheet behind a 48-shape mask: 6.28 ms.
Rotation was there (drag just outside a corner) but the pointer showed the
system's shortcut arrow, so nobody found it. No desktop has a rotate cursor, so
the app hides the system one there and draws a curved double arrow bent around
the box, also while turning.
Fixes#194
A double-click on a raw fill selects it with its outline (since #92), but egui
only counts two clicks up to 0.3 s apart, measured in frames: a relaxed
double-click, or a slow frame after the first click, made it two clicks. The
app now allows the half second Windows and macOS do.
Fixes#192
The pan is measured from the canvas centre, so a panel that grew or shrank moved
the artwork. A view the artist chose now takes up the centre's move; a view still
as Fit in Window left it goes on fitting. Idea from outside PR #424 (Call4han),
done for every canvas change rather than only while a dock edge is dragged.
Fixes#423
The stage keeps drawn frames in a cache with a 768 MiB budget. In a browser
tab, whose memory is one block that only grows, a 24-frame document filled
it: 900 MB for one moving symbol (#314). The web build's budget is 256 MiB
(30 frames of a 1920 x 1080 stage); the desktop's is unchanged.
Measured on the desktop while here (Windows 10, debug build, the sample
open, 10 s): 0 ms of CPU while idle, 226 MB working set.
Outside PR #404 outlined every display item above each selected fill, stroke and backing: a selected raw drawing of 720 pieces (144 outlined rectangles) took 599.77 ms a frame. Occluders are now kept for the frame: bounds once, outlines only for items whose bounds meet the selected spans and once each, scanned only over those spans, at most 4000 outlines a frame. Clipped and group-faded artwork no longer counts as opaque. The same drawing: 6.50 ms a frame selected, 1.02 ms unselected (optimised dev build, 1600x940).
Bones marked with the shape they are inside bend it through that shape's skin;
other bones move an instance or a whole shape. One pose, solver and tween.
A document with a mixed armature is written as format version 4; every other
document byte for byte as before.
Measured (optimised test profile): 25 bones, two shapes of 1,002 points and
8 instances bind in 1.6 ms and pose in 0.066 ms per frame; IK through all 25
bones 0.07 ms.
A third palette, Light, over the same roles as Graphite and high contrast,
designed for light and checked by the same contrast rules. Preferences ›
Appearance › Theme offers Follow system, Dark (Graphite), Light and High
contrast, applied live. Follow system now also follows the system's light
or dark mode (Windows, macOS, portal/GNOME, prefers-color-scheme).
--theme light|dark|high-contrast for one run. ADR 0077.
Fixes#227