mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-15 23:05:39 +00:00
In a turned or skewed user space, the source is drawn onto the filter's canvas pixels first and cut to the pixels it draws there, so the image lies along the user space's axes. A region in objectBoundingBox units (the default filterUnits) and primitive lengths with primitiveUnits="objectBoundingBox" are then measured against the object's box in that user space instead of the raster's box turned into it. SVG export and the image fallback keep a filter live only when SVG import can store its user space again: scale and axes together can scale it past 0.001 to 1000 points to a unit while each is valid alone (scale 1000 with axes [2, 0, 0, 2]). Such an object is written as an image. Import and export share the user-space check.