mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-16 00:21:33 +00:00
SVG Filters: the axes error reads in every complete-message language, and the docs say how axes return to the document's
- The "`axes` must be [a, b, c, d] ..." refusal gets an @msg row in each of the 24 complete-message catalogs, next to the other svg.filter rows. - docs/mcp.md and the params text say that absent or [1, 0, 0, 1] axes are the document's, that effect.setParams sets them back with [1, 0, 0, 1] (the commands refuse null), and that moving, turning, scaling or skewing the object moves `origin` and leaves `axes` as they are.
This commit is contained in:
+4
-3
@@ -5301,7 +5301,8 @@ SVG Filter (New, Edit, Delete, Import…), and from the Appearance panel it edit
|
||||
The canvas, raster export, printing and PDF draw the filter with the object as its source graphic, its user space
|
||||
starting at `origin` (`[x, y]` in points, `[0, 0]` by default) with its units `scale` points (1 by default), its
|
||||
axes along `axes` (`[a, b, c, d]`: one unit along the filter's x axis points `[a, b]` in the document and one along
|
||||
its y axis `[c, d]`, before `scale`; absent, the document's axes; each number -1000 to 1000 and `a·d - b·c` at least
|
||||
its y axis `[c, d]`, before `scale`; absent or `[1, 0, 0, 1]`, the document's axes, and `effect.setParams` sets them
|
||||
back with `[1, 0, 0, 1]`, since the commands refuse `null`; each number -1000 to 1000 and `a·d - b·c` at least
|
||||
0.001 from 0, or the command refuses it), its object bounding box the drawn object's, and at the Document Raster Effects resolution when the view is finer. The
|
||||
filter runs on coarser pixels when a morphology radius or kernel unit would span more than 32 of them, or a standard
|
||||
deviation more than 512. With `axes`, the filter runs on pixels lined up with its own axes, so offsets, blurs and the
|
||||
@@ -5309,8 +5310,8 @@ region run along them, and the result is drawn onto the object's pixels through
|
||||
along each axis as the object's and coarser when there would be more than 4 times as many, or when a radius, kernel
|
||||
unit or standard deviation would span more than 32 or 512 of them. The object's box is then
|
||||
its box in that user space: a region measured against it, and a region or primitive lengths in `objectBoundingBox`
|
||||
units, are measured against that box. Moving the object moves `origin` and
|
||||
leaves `scale` and `axes` as they are. An effect whose XML or `axes` these rules refuse (from a file or a script) is not drawn or exported. The
|
||||
units, are measured against that box. Moving, turning, scaling or skewing the object moves `origin` with it and
|
||||
leaves `axes` as they are, and `scale` too unless Scale Strokes & Effects scales it. An effect whose XML or `axes` these rules refuse (from a file or a script) is not drawn or exported. The
|
||||
filter is drawn and written rebuilt from its filter elements and their filter attributes alone, without comments,
|
||||
text, descriptions or other attributes. An image in a filter is drawn only when its bytes are a PNG, JPEG, GIF or WebP
|
||||
within the pixel limit. A filter region in user space given in percentages is measured against the object's box (x
|
||||
|
||||
Reference in New Issue
Block a user