/** * ECMA-376 ST_ShapeType preset geometry definitions — scrolls / waves and the * accent + accent-border callout family. * * Shapes covered: * - **Scrolls** (`verticalScroll`, `horizontalScroll`) — rectangle-bodied * shapes with rolled paper corners on opposite ends. `adj` (default 12500 * in 1/100000 units) controls the roll diameter. * - **Waves** (`wave`, `doubleWave`) — rectangles whose top (and, for * `doubleWave`, bottom) edge is a sine wave traced by two cubic Bezier * humps. `adj1` is the wave amplitude (% of `h`), `adj2` is the horizontal * phase offset (% of `w`). * - **Accent callouts** (`accentCallout1` / `accentCallout2` / * `accentCallout3`) — same rectangular body and N-segment leader as their * plain-`callout*` siblings, plus an extra vertical accent bar drawn at the * leader-line root (a stroked `moveTo`/`lnTo` pair flush with the body * edge). * - **Accent border callouts** (`accentBorderCallout1` / `…2` / `…3`) — same * as the accent callouts but the body rectangle is itself stroked, * matching the `borderCallout*` family from the misc batch. * * Geometry simplifications worth flagging: * - The scroll roll is approximated as a quarter-arc + line + quarter-arc * rather than the spec's full `arcTo`/`cubicBezTo` construction. The visual * silhouette is identical at default `adj`; the simplification trades a * handful of bezier control points for legibility. * - The accent bar on `accentCallout*` is a stroke-only sub-path identical to * the body's left edge offset by a small inset (`x1` from the leader * formulas). Per ECMA-376 the accent bar attaches at the rectangle edge * nearest the pointer; we standardise on the left edge because every * canonical default places `adj2` (= leader-tip x position) negative — i.e. * the pointer is to the left of the body. Callers that override `adj2` to * a positive value still get a visually plausible (left-edge) accent bar. * * Aggregated into `PRESET_SHAPE_GEOMETRY_TABLE` by * `preset-shape-definitions-table.ts` (manual spread). */ import type { PresetShapeGeometryDefinition } from './preset-shape-definitions-table.js'; /** * Scrolls / waves + accent callout preset definitions, exported for manual * aggregation into `PRESET_SHAPE_GEOMETRY_TABLE`. Keys are ECMA-376 * ST_ShapeType names. */ export declare const SCROLLS_ACCENT_CALLOUTS_PRESET_DEFINITIONS: Record; //# sourceMappingURL=preset-shape-definitions-scrolls-accent-callouts.d.ts.map