Normalise either a HatchStyle preset name or a
HatchParams into the canonical representation. The
supplied out is filled in-place and returned for chaining;
pass a freshly-allocated buffer (see emptyHatchPattern)
on first use and reuse it on subsequent updates.
Invalid input — unknown preset, non-finite or non-positive
spacing, more than MAX_HATCH_FAMILIES families — is
treated as "solid" so a typo doesn't silently emit a mangled
hatch.
Normalise either a HatchStyle preset name or a HatchParams into the canonical representation. The supplied
outis filled in-place and returned for chaining; pass a freshly-allocated buffer (see emptyHatchPattern) on first use and reuse it on subsequent updates.Invalid input — unknown preset, non-finite or non-positive spacing, more than MAX_HATCH_FAMILIES families — is treated as "solid" so a typo doesn't silently emit a mangled hatch.