@tracespace/plotter
Version:
Plot @tracespace/parser ASTs into image trees.
6 lines (5 loc) • 311 B
TypeScript
import type { SimpleShape } from '@tracespace/parser';
import * as Tree from '../tree';
import type { Point } from '../location-store';
export declare function createShape(shape: SimpleShape, point: Point): Tree.SimpleShape;
export declare function shapeToSegments(shape: Tree.SimpleShape): Tree.PathSegment[];