A click or a marquee with the selection tools now finds a path or compound
path where its live geometry effects draw it, the copies a Transform effect
makes included, and not where its own geometry no longer paints.
- The engine registers its Use Preview Bounds evaluator with
`vectorcraft_doc::hit::set_drawn_art`. Hit testing keeps the evaluated art
per object, evaluates it again when the object, the document's symbols,
patterns, swatches or live inputs change, and widens each object's cull box
by the art its effects draw.
- Groups and layers with geometry effects or fills and strokes of their own
are hit through their evaluated art. Clicks, Select Behind, the locked
objects under the pointer and marquees map the art back to the members it
is drawn from, at the depth each tool selects, and Direct Selection takes a
group whose own paint the art draws.
- Clipping paths keep their own geometry, except that a clip group's own
effect moves where its mask outline is taken. An isolated clip group's
members are marqueed by their own geometry, as clicks take them. A clip
group whose evaluated art holds only its clipping path is tested member by
member.
- Outline view uses the plain paths, and a layer with Preview off is clicked
in outline. Intertwine groups keep their woven hit order.
Docs: docs/target-app-parity.md.
Under colored lights, a solid-color Inflate surface drew each facet over
its underlay as a fill and then a same-color round seam stroke. At a
partly covered edge pixel the two coverages add up past the facet's real
coverage, so a turned Inflate's near facets bled into the facets behind
them by up to 5 levels against the same art drawn at 3x and averaged down.
- lighting::seamed_fill turns a facet that is one closed polygon with an
area and no crossing edges into one path: the facet and the outer
outline of its round seam (lighting::footprint). solid_surface fills
that path once per channel. Other facets keep a fill and a seam stroke.
The 2 pt underlay, the surface clip and the channel groups are as
before.
- three_d_light_color::turned_colored_inflate_facets_and_seams_cover_their_edges_once
checks Inflate at X 50, Y 35 in an opaque fill: at most one channel
sample more than 3 levels off, by at most 4, and no alpha off.
- docs/three-d.md (Seams) and docs/target-app-parity.md describe it.
Under a colored lightColor or a lights list, Revolve drew each face of a
solid-color or gradient surface on its own, so where two faces'
antialiased edges met, pixels inside the surface let the background
through at 1:1.
- The faces now lie over an underlay of themselves under one clip to
their outline, as colored Inflate's facets do (lighting::sealed, split
into lighting::underlay and sealed). The surface's opacity and blending
mode apply once, to the sealed surface.
- In a group, each run of one member's faces in the shared depth order
takes its own underlay; a translucent member's run keeps its opacity,
blending mode and mask on the sealed run.
- A face with a part of a mapped graphic gives its face to the underlay
and keeps the part right after it.
- Faces in a gradient with transparent stops carry its opacity mask and
are drawn as before. Revolve (Classic) is unchanged.
- The paint-copy budget counts the underlay in validation and drawing.
Docs: docs/three-d.md (Seams), docs/target-app-parity.md.
import_fuzz builds PSD files from scratch whose image resource 1050
holds slices in version 6 (a version 16 descriptor after the first
record) and in the version 16 descriptors of versions 7 and 8. Each
sample has one user slice, one slice that follows a layer and one
generated automatically; the first two come in as user slices.
- the_sliced_psd_samples_bring_in_their_user_slices: each sample opens
with its two user slices and no warning, document.psdInfo counts 2,
and an embedded place brings 2.
- sliced_psd_samples_with_huge_counts_or_cut_short_come_in_without_their_slices:
slice counts of 10,001, 0x7fffffff and u32::MAX, data one byte
short, and data cut inside the count bring the art in without its
slices and with a warning.
- mutated_psd_slices_never_panic: mutated slice data, kept whole, cut
short with the resource length rebuilt, or with the file cut in the
resource block, never makes document.open, document.psdInfo or an
embedded file.place report an internal error.
tests_psdslices::damaged_slices_never_panic now fails when a command
reports an internal error instead of discarding the results.
The Flattener Preview, Object > Flatten Transparency and the EPS, PDF and
print output that flatten transparency now walk each object without
transparency once, while planning, to list the type, strokes and
overprints that Convert All Text to Outlines, Convert All Strokes to
Outlines and dropping overprints change. The preview's lists, the no-op
check and the outlining all read that list.
On 100 groups of a stroked rectangle and stroked type plus five other
objects (309 nodes), with both options on and overprints dropped, the
preview looks at nodes 309 times where it looked 615 times, and
flattening looks at them 309 times where its walks made 2,352 visits,
outlines they made included. The flattened art and ids match the walk per option for
every mix of the three options.