The stroker builds each run of segments as its own outline (inner edges cut where they
cross, through the bend's point where they can't) and unites the loops, so the
renderers' sum of signed areas is the stroke's true coverage: no pixel is darker where
pieces overlapped (it was up to about half a pixel at round joins, caps and the joints
of wide curves). The GPU stage draws the oracle's polygons, so it follows.
Fourteen corpus goldens change, all at stroke edges (lighter; the dark knots at
corners go). Measured, median of 80 renders, before -> after: 2,000 stroked shapes at
1080p 9.3 -> 9.0 ms; the demo 2.5 -> 2.6 ms; 300 self-crossing scribbles at 720p
5.9 -> 6.4 ms; edges handed to the rasterizers down 3 to 4 times.
modify.transform_origin sets or cycles the mode (tool state); modify.transform
takes origin: selection | registration | center, and Rotate 90 and Flip follow
the mode. An object is one element or the selected pieces of one raw drawing;
its centre is the centre of its own box carried by its transform, so a drag
sent as thirty small changes ends where one transform would (tested).
modify.lines_to_fills, modify.expand_fill, modify.soften_fill_edges on the
selection of every layer, in keyframe space and stored back in the shape's own;
raw results merge with the drawing again (ADR 0031), objects stay objects.
paint.sample is the colour the CPU renderer draws at a point.
Measured against the union of the stroker's polygons at 2400 %: the fills'
area is within a pixel of the lines' for caps, joins, dashes, dots, width
profiles, tight curves and mirrored, skewed shapes (0.00 to 0.98 px on 200 to
10,000 px of line).
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.
Both reports came from 0.2.1 and were fixed by b5fbdac (drawing objects break
apart into raw shapes): an imported image becomes a raw shape with its bitmap
fill, and a second Break Apart on text turns the outlines into raw shapes.
These tests keep it so. A further Break Apart on raw shapes now says they are
raw shapes already.
Fixes#341Fixes#299
Where a new brush stroke leaves a crossing almost along an older outline,
snapping could make the two cross again with no vertex there. The planar map
then had faces that were not the drawing's regions: a fill's inside read as
outside, and the merge dropped it, sometimes the whole drawing. The merge now
checks Euler's formula on each connected part of its map and declines when it
fails; the engine keeps the new stroke whole on top, as it does when a merge is
too large, and nothing drawn is lost.
Measured on 400 seeded scenarios of seven crossing strokes: 4 lost most or all
of the drawing before (one lost every stroke), none after.
Fixes#308
* The Fill checkbox refilled a shape with white. Turning a fill or a stroke off
now remembers it for the session (element.set_fill / set_stroke {on}), so on
again brings back its colour, gradient, bitmap or line; with nothing to
remember it takes the tool's.
* With only a raw outline selected (double-click on it), Fill put a fill with
no area on each side. It now refills the fill the outline surrounds, or
fills the area it closes off as the Paint Bucket does, and says what to do
when the lines close off nothing.
* The Stroke row has a checkbox like Fill, and the width stops at a hairline
(0.1) instead of removing the stroke at 0.
Fixes#291Fixes#292Fixes#393
Paste in Center and Paste in Place merged raw shapes into the drawing at once,
so a copy pasted over its original joined it before it could be dragged away.
The editor now pastes with float: the raw shapes stay whole and selected on
top, and go into the drawing when the selection lets go of them (or when they
are dropped after a move), as in Animate. The merge belongs to the step around
it, so undoing the paste restores the drawing from before it. Scripts that
paste without float still merge at once.
Fixes#391
With frames 3..5 selected only frame 3 became a keyframe: the commands never
read the count the editor sends. Each frame of the range now becomes a keyframe
(F6) or a blank keyframe (F7) on every selected layer, in one undo step.
Keyframes already inside an F7 range keep their drawings.
Fixes#272
layer.move {layer?, before | after | into} puts a layer anywhere in the stack in one undo step; a folder, mask or guide moves with everything in it; nesting past the limit, a folder into itself and the camera are refused. all: true (and on) on layer.toggle_visible/lock/outline act on every layer but the camera.
GTK trusts an icon-theme.cache that is no older than its theme folder, and
adding icons to the size folders below doesn't change that folder's time. So
after another installer made a cache in ~/.local/share/icons/hicolor, the
icons desktop.integrate wrote were never found and the menu and dock showed a
generic icon (the app-side half of #348; the launcher's own installs are
storytold/craft-launcher#412). The refresh now brings the theme folder's time
forward and rebuilds the cache with gtk-update-icon-cache where installed,
only when a cache is there: none is made where there was none.
Text keeps its filters next to its styled runs. In HTML export, static text in several colours
with filters is one item of pieces (pp), so the pieces share one filtered group as evaluate
draws them; the page's player draws such items piece by piece.
Animate writes a DOMGroup's members in the group's parent space and the
group's matrix as its own frame. The importer read members in the group's
space and applied the matrix on top, so a 50% instance in a group drew at
25%. Members now come in through the inverse of the group's matrix; a
singular matrix keeps the old placement.
The primitives corpus had its groups in the old layout; it is rewritten as
Animate writes groups (same picture, goldens unchanged), with a probe on
the nested half-size square.
Fixes#411.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Model and commands (ADR 0099):
* FilterParam gains a colour's channels (color, shadow_color, highlight_color,
stop_<n>; red, green, blue 0-255, alpha in percent, as the tint) and the
stepped quality, inner, knockout and hide_object, whose keys hold.
* Classic tweens of lists that differ pair the kinds they share in order;
a filter without a partner fades to or from itself doing nothing.
* TextBlock carries a filter list; evaluate draws text with filters in a
filtered group, as a movie clip.
* filter.* commands and element.set_filters act on text; motion.set_key
keys a whole colour; eight built-in presets that can only be hidden
(filter.preset_hide).
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.