mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-01 05:37:23 -06:00
A pattern fill was written to EMF as every tile's art, each tile in a clip of its own, with the brush made again for each part: a rotated two-colour stripe fill of a 360 x 260 pt rectangle took 473 fills, 246 clips and 122 KB. When the tiles can't overlap (a grid or brick tiling whose art stays in its tile), each tile's clip is left out where what it clips lies inside it already (a convex clip holding every control point of the fills), and the n-th fill of every tile becomes one path. The picture is the same: the tiles don't overlap, and the fill's own clip still trims them. That fill is now 2 fills and 1 clip, 61 KB; unrotated, 99 KB becomes 33 KB. Tiles that overlap, hex tilings, and tiles holding strokes, images or clips that cut are written as before, their parts off the page left out.