@mark1russell7/layout-contract 0.10.2 → 0.10.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -18,6 +18,8 @@ The package has one runtime dependency: `@mark1russell7/rigor-generators`, the h
18
18
  | The measures | `MeasureSpec`, `Direction`, `JointMeasureId`, `JOINT_MEASURES`, `JOINT_MOVED_MIN`, `Verdict`, `compareMeasure`, `minEffectOf` |
19
19
  | The balance and stability measures | `balanceOf`, `Balance`, `nearestGaps`, `procrustesOf`, `ProcrustesOptions`, `perChange`, `balanceMeasures`, `balanceMeasureSpecs`, `BALANCE_MEASURE_SUFFIXES`, `BalanceMeasureSuffix`, `BALANCE_SIDE_DEPTH`, `PlacedBox` |
20
20
  | The cell measures | `cellsOf`, `Cells`, `CellItem`, `cellMeasures`, `cellMeasureSpecs`, `cellMeasureEntries`, `CELL_MEASURE_SUFFIXES`, `CellMeasureSuffix`, `CELL_SOURCE`, `SQUARE_COMPACTNESS` |
21
+ | The paths | `PathSegment`, `PathMove`, `PathLine`, `PathCubic`, `PathArc`, `PathTangent`, `PATH_KINDS`, `pathOf`, `samplePath`, `pathBounds`, `pathStart`, `pathEnd`, `toSvgPath`, `cubicAt`, `checkPath` |
22
+ | The picture `layout-picture/1` | `LayoutPicture`, `PictureBox`, `PictureRoute`, `PictureLabel`, `LabelAlign`, `LABEL_ALIGNS`, `PICTURE_SCHEMA`, `pictureOf`, `PictureParts`, `PictureRouteSource`, `checkPicture`, `parsePicture`, `pictureBounds` |
21
23
  | Text layout, in the subpath `/text` | `layoutText`, `TextLayout`, `TextLayoutOptions`, `TextSizing`, `createTextCharset`, `TextCharset`, `TextCharsetOptions`, `DIGITS`, `PRINTABLE_ASCII`, `createTextLayoutCache`, `TextLayoutCache`, `TextLayoutCacheOptions`, `TextLayoutCacheStats`, `createMeasurer`, `TextMeasurer`, `canvasAdvance`, `AdvanceFn`, `fontKey`, `graphemesOf`, `textMeasures`, `TEXT_MEASURES`, `TEXT_UNITS` |
22
24
  | The edges step | `edgeStep`, `EdgeShape`, `EdgeStepParams`, `EDGE_DENSITY`, `EDGE_STEP_VERSION` |
23
25
  | The random numbers | `mulberry32`, `fnv1a32`, `stepRandom`, `randomInt` |
@@ -116,6 +118,7 @@ The comments of the source name each doc as `docs/<NAME>.md`. The docs are in th
116
118
  | [`docs/CURVES.md`](https://github.com/mark1russell7/layout-contract/blob/main/docs/CURVES.md) | The Hilbert, Moore and Morton curves through a grid, as data |
117
119
  | [`docs/FRAMES.md`](https://github.com/mark1russell7/layout-contract/blob/main/docs/FRAMES.md) | The frame record `layout-frame/1`, the frames between two layouts and their laws |
118
120
  | [`docs/GEOMETRY-3D.md`](https://github.com/mark1russell7/layout-contract/blob/main/docs/GEOMETRY-3D.md) | The 3D records: points, boxes, rotations and rigid transforms |
121
+ | [`docs/PICTURE.md`](https://github.com/mark1russell7/layout-contract/blob/main/docs/PICTURE.md) | The picture record `layout-picture/1`: the placed boxes, the path of each route and the labels that a viewer draws |
119
122
  | [`docs/TEXT.md`](https://github.com/mark1russell7/layout-contract/blob/main/docs/TEXT.md) | The text layout of the subpath `/text`: the rules, the units and the measures |
120
123
  | [`docs/CORPUS.md`](https://github.com/mark1russell7/layout-contract/blob/main/docs/CORPUS.md) | The shared corpus registry, its dimensions and families |
121
124
  | [`docs/CORPUS-CHECKS.md`](https://github.com/mark1russell7/layout-contract/blob/main/docs/CORPUS-CHECKS.md) | The corpus checks and the split files |
package/build/index.d.ts CHANGED
@@ -918,6 +918,185 @@ export declare function frameMove(a: LayoutFrame, b: LayoutFrame): number;
918
918
  * The gate of a start: a start that is a fixed point of the engine gives 0.
919
919
  */
920
920
  export declare function fixedPointMove(start: LayoutFrame, run: (start: LayoutFrame) => LayoutFrame): number;
921
+ /** The kinds of the segments of a path. */
922
+ export declare const PATH_KINDS: readonly ["move", "line", "cubic", "arc"];
923
+ /** The start of a path: the pen goes to `to` and draws nothing. */
924
+ export interface PathMove {
925
+ readonly kind: "move";
926
+ readonly to: Point;
927
+ }
928
+ /** A straight line from the end of the segment before to `to`. */
929
+ export interface PathLine {
930
+ readonly kind: "line";
931
+ readonly to: Point;
932
+ }
933
+ /** A cubic Bezier curve from the end of the segment before to `to`, with the control points `c1` and `c2`. */
934
+ export interface PathCubic {
935
+ readonly kind: "cubic";
936
+ readonly c1: Point;
937
+ readonly c2: Point;
938
+ readonly to: Point;
939
+ }
940
+ /**
941
+ * A circular arc from the end of the segment before to `to`. The arc has its center at `center` and the radius `radius`.
942
+ * It starts at the angle `start` and turns by `sweep` radians. A positive `sweep` turns from the x axis to the y axis.
943
+ * On a canvas, `ctx.arc(center.x, center.y, radius, start, start + sweep, sweep < 0)` draws it.
944
+ */
945
+ export interface PathArc {
946
+ readonly kind: "arc";
947
+ readonly center: Point;
948
+ readonly radius: number;
949
+ readonly start: number;
950
+ readonly sweep: number;
951
+ readonly to: Point;
952
+ }
953
+ /**
954
+ * A segment of a path. A path is a list of segments: one `move` first, then lines, cubic curves and arcs.
955
+ * A renderer maps the list to SVG path data, to canvas commands or to the vertices of a mesh.
956
+ */
957
+ export type PathSegment = PathMove | PathLine | PathCubic | PathArc;
958
+ /** A point of a path, with the direction of the path at that point. */
959
+ export interface PathTangent {
960
+ readonly point: Point;
961
+ /** A unit vector along the path, in the direction from its start to its end. A path with no length gives the vector 0, 0. */
962
+ readonly direction: Point;
963
+ }
964
+ /** This function gives the path of a polyline: a `move` to the first point, then a line to each next point. A list with no point gives an empty path. */
965
+ export declare function pathOf(points: readonly Point[]): PathSegment[];
966
+ /**
967
+ * This function gives a polyline that follows the path. The distance from each part of the path to the polyline is `tolerance` or less.
968
+ * The polyline starts at the point of the `move` and goes through the end of each segment.
969
+ * Hit tests, measures and renderers that draw only lines use this polyline.
970
+ */
971
+ export declare function samplePath(segments: readonly PathSegment[], tolerance?: number): Point[];
972
+ /** This function gives the point at the parameter `t` of the cubic Bezier curve with the control points `p0`, `p1`, `p2` and `p3`. */
973
+ export declare function cubicAt(p0: Point, p1: Point, p2: Point, p3: Point, t: number): Point;
974
+ /**
975
+ * This function writes the segments as the data of an SVG path: the commands `M`, `L`, `C` and `A`.
976
+ * Each number has at most `digits` digits after the point.
977
+ */
978
+ export declare function toSvgPath(segments: readonly PathSegment[], digits?: number): string;
979
+ /**
980
+ * This function gives the exact bounding box of a path. The box of a cubic curve has the points where the curve turns back on an axis.
981
+ * The box of an arc has the points of its circle at each quarter turn that the arc goes through.
982
+ * A path with no segment gives a `RangeError`.
983
+ */
984
+ export declare function pathBounds(segments: readonly PathSegment[]): Rect;
985
+ /**
986
+ * This function gives the first point of a path and the direction in which the path leaves it.
987
+ * The direction comes from the first segment that has a length. A path with no segment gives a `RangeError`.
988
+ */
989
+ export declare function pathStart(segments: readonly PathSegment[]): PathTangent;
990
+ /**
991
+ * This function gives the last point of a path and the direction in which the path comes to it. An arrow head at the end points along it.
992
+ * The direction comes from the last segment that has a length. A path with no segment gives a `RangeError`.
993
+ */
994
+ export declare function pathEnd(segments: readonly PathSegment[]): PathTangent;
995
+ /**
996
+ * This function gives the problems of a path. An empty list means a good path.
997
+ * A good path starts with its one `move`, and each number of it is finite. An arc has a radius of 0 or more.
998
+ * An arc starts at the end of the segment before, and it ends at its `to`, to 1e-6 of its radius plus 1.
999
+ */
1000
+ export declare function checkPath(value: unknown): string[];
1001
+ /** The schema of a picture. */
1002
+ export declare const PICTURE_SCHEMA = "layout-picture/1";
1003
+ /** The places of the lines of a label in its width. */
1004
+ export declare const LABEL_ALIGNS: readonly ["left", "center", "right"];
1005
+ /** The place of the lines of a label in its width. */
1006
+ export type LabelAlign = (typeof LABEL_ALIGNS)[number];
1007
+ /** One box of a picture: its rectangle in the coordinates of the picture. A child does not have coordinates relative to its parent. */
1008
+ export interface PictureBox extends PlacedBox {
1009
+ /** The box that contains this box. A parent comes before its children in the list. */
1010
+ readonly parent?: string;
1011
+ /** The region of the box, relative to its top-left corner, as `LayoutBox.shape`. Without it, the box is its rectangle. */
1012
+ readonly shape?: Region;
1013
+ /** The free data of the box. A viewer chooses the look of the box from it. */
1014
+ readonly data?: Readonly<Record<string, unknown>>;
1015
+ }
1016
+ /** The route of one edge: the two boxes of the edge and the path that a renderer draws. */
1017
+ export interface PictureRoute {
1018
+ /** The id of the edge. */
1019
+ readonly id: string;
1020
+ readonly source: string;
1021
+ readonly target: string;
1022
+ /** The path from the source to the target. A polyline is a path of lines (`pathOf`). */
1023
+ readonly path: readonly PathSegment[];
1024
+ /** The free data of the edge. A viewer chooses the look of the route from it. */
1025
+ readonly data?: Readonly<Record<string, unknown>>;
1026
+ }
1027
+ /**
1028
+ * One label: the lines of a text that an engine measured, at a place. A renderer draws the lines with `font`, and it does not break them again.
1029
+ * The rectangle is the area of the text. Line `i` is in the band that starts at `y + i * lineHeight`, and the band has the height `lineHeight`.
1030
+ */
1031
+ export interface PictureLabel extends PlacedBox {
1032
+ /** The box that the label names. A label has at most one of `box` and `route`. */
1033
+ readonly box?: string;
1034
+ /** The route that the label names. */
1035
+ readonly route?: string;
1036
+ readonly lines: readonly string[];
1037
+ /** The height of each line. A finite number above 0. */
1038
+ readonly lineHeight: number;
1039
+ /** The font of the measure, as the CSS property `font`. */
1040
+ readonly font: string;
1041
+ /** The place of each line in the width `w`. The default is `left`. */
1042
+ readonly align?: LabelAlign;
1043
+ readonly data?: Readonly<Record<string, unknown>>;
1044
+ }
1045
+ /**
1046
+ * A picture: the boxes, the routes and the labels of a layout, in the coordinates of the picture.
1047
+ * Each list is in the order of the paint, so its first record is at the back. A viewer chooses the order of the three lists.
1048
+ */
1049
+ export interface LayoutPicture {
1050
+ readonly schema: typeof PICTURE_SCHEMA;
1051
+ /** The id of the input of the picture. */
1052
+ readonly id?: string;
1053
+ readonly boxes: readonly PictureBox[];
1054
+ readonly routes: readonly PictureRoute[];
1055
+ readonly labels: readonly PictureLabel[];
1056
+ }
1057
+ /**
1058
+ * A route of a router, for `pictureOf`: the id of its edge and the points of its polyline. A `Route` of `highways` has this form.
1059
+ * With `path`, the picture has that path, for example a curve through the points.
1060
+ */
1061
+ export interface PictureRouteSource {
1062
+ readonly edge: string;
1063
+ readonly points: readonly Point[];
1064
+ readonly path?: readonly PathSegment[];
1065
+ }
1066
+ /** The parts of a picture that an input does not hold, for `pictureOf`. */
1067
+ export interface PictureParts {
1068
+ readonly routes?: readonly PictureRouteSource[];
1069
+ readonly labels?: readonly PictureLabel[];
1070
+ }
1071
+ /**
1072
+ * This function gives the problems of one `layout-picture/1` value. An empty list means a good picture.
1073
+ * Each id occurs one time in its list, each number is finite, and a size is 0 or more. A parent is a box before its child in the list.
1074
+ * The source and the target of a route are boxes of the picture, and its path has no problem of `checkPath`.
1075
+ *
1076
+ * A label has lines of text, a line height above 0 and a font. Its `box` or its `route` is in the picture, and it does not have the two.
1077
+ * The check accepts fields that the format does not know.
1078
+ */
1079
+ export declare function checkPicture(value: unknown): string[];
1080
+ /**
1081
+ * This function reads one `layout-picture/1` value, for example a parsed JSON document.
1082
+ * It throws a `TypeError` with the problems of `checkPicture`.
1083
+ */
1084
+ export declare function parsePicture(value: unknown): LayoutPicture;
1085
+ /**
1086
+ * This function makes the picture of a placed input. Each box with `x` and `y` is in the picture, and a box with no place is not.
1087
+ * The coordinates of each box are those of the input. The order is the order of the input, but each box comes immediately before its children.
1088
+ *
1089
+ * Each route gets the source, the target and the data of its edge in the input. A route with no `path` gets the polyline of its points.
1090
+ * The labels of `parts` go into the picture with no change.
1091
+ * A `RangeError` comes for a placed box below a box with no place, and for a loop of parents.
1092
+ * It comes also for a route with no edge in the input, and for each problem of `checkPicture`.
1093
+ */
1094
+ export declare function pictureOf(input: Pick<LayoutInput, "id" | "boxes" | "edges">, parts?: PictureParts): LayoutPicture;
1095
+ /**
1096
+ * This function gives the bounding box of a picture: its boxes, the exact bounds of its paths and its labels.
1097
+ * A picture with no record gives `undefined`. The picture must be good (`checkPicture`).
1098
+ */
1099
+ export declare function pictureBounds(picture: LayoutPicture): Rect | undefined;
921
1100
  /**
922
1101
  * The common fields of a strategy of an engine. Each engine adds its own function, for example `pack` or `route`.
923
1102
  * `O` is the type of the options, and `S` is the type of `supports`.
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","names":["StrategySpace","KindOptions","SpaceSizeOptions","SpaceSize","EnumerateOptions","StrategyConfig"],"sources":["../src/geometry3.ts","../src/curves.ts","../src/tolerance.ts","../src/output.ts","../src/record.ts","../src/rules.ts","../src/turn.ts","../src/resize.ts","../src/balance.ts","../src/measure-registry.ts","../src/cell.ts","../src/frame.ts","../src/strategy.ts","../src/random.ts","../src/edges.ts","../src/hash.ts","../src/portfolio.ts","../src/corpus-manifest.ts","../src/strategy-space.ts","../src/strategy-catalog.ts","../src/verdict.ts","../src/families.ts","../src/measure-survey.ts"],"mappings":";;;;;;;;iBAOiB;WACN;WACA;WACA;;;qBAIE,SAAS;;;;;iBAML;WACN;WACA;WACA;WACA;WACA;WACA;;;;;;iBAOM;WACN;WACA;WACA;WACA;;;qBAIE,cAAc;;;;;iBAMV;WACN,UAAU;WACV,UAAU;;;qBAIR,eAAe;;wBAGZ,WAAW,GAAG,QAAQ,GAAG,SAAS;;wBAKlC,gBAAgB,GAAG,QAAQ,GAAG,SAAS;;wBAKvC,YAAY,OAAO,QAAQ,iBAAiB;;wBAK5C,KAAK,GAAG,QAAQ,GAAG;;wBAKnB,OAAO,GAAG,QAAQ,GAAG,SAAS;;wBAK9B,QAAQ,QAAQ;;wBAKhB,UAAU,GAAG,QAAQ,GAAG;;;;;;wBASxB,cAAc,MAAM,QAAQ,gBAAgB;;;;;wBAa5C,kBAAkB,OAAO,WAAW,OAAO,YAAY;;wBAUvD,iBAAiB,UAAU,YAAY;;;;;wBAQvC,mBAAmB,UAAU,YAAY;;wBAOzC,aAAa,UAAU,WAAW,OAAO,SAAS;;wBAYlD,gBAAgB,WAAW,YAAY,OAAO,SAAS;;;;;wBAQvD,mBAAmB,OAAO,YAAY,OAAO,aAAa;;wBAQ1D,kBAAkB,WAAW,aAAa;;;;;wBA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WAEA;WACA;;WAEA,QAAQ,OAAO;;;;;;;wBAWV,cAAc,MAAM,aAAa,cAAc,gBAAgB,cAAc,UAAS,iBAAsB,aAAa;;;;;qBA+D5H,YAAY;;;;qBA0BZ,eAAe;;;;;;;;;qBAuBf,kBAAkB,aAAa;;;;;;qBAqD/B,gBAAgB,aAAa;;qBCl3B7B;;iBAGI;WACN;WACA;WACA,WAAW;WACX;WACA;;WAEA;;;iBAIM;WACN;WACA;WACA,mBAAmB;;;iBAIb;WACN,eAAe;;WAEf;WACA,kBAAkB;;;;;;iBAOZ;WACN;WACA;;WAEA;aAA4B;aAAqB;aAAyB;;;;iBAIpE;;WAEN;;WAEA,UAAU,SAAS;;WAEnB;aAA+B;aAAqB;aAAsC;;;WAE1F,gBAAgB;;WAEhB;;WAEA,OAAO,SAAS;;;wBAOX,YAAY;;wBA8CZ,eAAe;;wBAMf,eAAe,QAAQ,gBAAgB"}
1
+ {"version":3,"file":"index.d.ts","names":["StrategySpace","KindOptions","SpaceSizeOptions","SpaceSize","EnumerateOptions","StrategyConfig"],"sources":["../src/geometry3.ts","../src/curves.ts","../src/tolerance.ts","../src/output.ts","../src/record.ts","../src/rules.ts","../src/turn.ts","../src/resize.ts","../src/balance.ts","../src/measure-registry.ts","../src/cell.ts","../src/frame.ts","../src/path.ts","../src/picture.ts","../src/strategy.ts","../src/random.ts","../src/edges.ts","../src/hash.ts","../src/portfolio.ts","../src/corpus-manifest.ts","../src/strategy-space.ts","../src/strategy-catalog.ts","../src/verdict.ts","../src/families.ts","../src/measure-survey.ts"],"mappings":";;;;;;;;iBAOiB;WACN;WACA;WACA;;;qBAIE,SAAS;;;;;iBAML;WACN;WACA;WACA;WACA;WACA;WACA;;;;;;iBAOM;WACN;WACA;WACA;WACA;;;qBAIE,cAAc;;;;;iBAMV;WACN,UAAU;WACV,UAAU;;;qBAIR,eAAe;;wBAGZ,WAAW,GAAG,QAAQ,GAAG,SAAS;;wBAKlC,gBAAgB,GAAG,QAAQ,GAAG,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