mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-29 09:46:19 +01:00
A pattern brush's scale can now follow Pressure, Tilt, Bearing, Rotation or Stylus Wheel, with a second scale beside the first, as an Art brush's Width does. Pattern Brush Options and Options of Selected Object show the mode menu and the second scale on the Scale row, and brush.new, brush.options and brush.objectOptions take `scale_mode` and `scale_max`. Each side, start and end tile is as tall as the scale at each point of the stroke and as long as the scale at its middle; a corner tile takes the scale at its corner. Stretch to Fit, Add Space to Fit and Approximate Path fit the tiles of each run as they are measured where they land. A stroke without the input draws at the scale half way between the two. A brush with a fixed scale draws as before, and brushes without the new fields save without them. Options of Selected Object keeps each path's own second scale when only the scale or the mode changes, for pattern scales and art widths. Docs: docs/mcp.md, docs/target-app-parity.md, docs/hardware-parity.md.