API Collection
GSLayer Grid
Setting for rounding coordinates on a layer.
Overview
A layer uses the grid settings of its associated master. The grid determines how layer coordinates are rounded during editing and geometry operations.
Temporary rounding disablement lets an operation preserve exact coordinates while still using the same layer API.
Topics
Grid settings used to round coordinates.
Grid
Current grid settings used for layer rounding, or
nilwhen no grid is available.Current grid settings, limiting horizontal rounding to a maximum grid length.
Horizontal grid length used for layer rounding.
Vertical grid length used for layer rounding.
Temporarily disables grid rounding for layer operations.
A point aligned to the layer grid for a node type.
Topics
Grid settings used to round coordinates.
Grid
Current grid settings used for layer rounding.
Current grid settings, limiting horizontal rounding to a maximum grid length.
Horizontal grid length used for layer rounding.
Vertical grid length used for layer rounding.
Temporarily disables grid rounding for layer operations.
A point aligned to the layer grid for a node type.
See Also
The different roles that a layer can serve.
The paths and components that form the outline of a layer.
Bounding rectangles of outlines, selections, and metrics.
Side bearings, baseline offsets, layer box, and metrics keys.
Background content and reference images associated with a layer.
Named attachment points on a layer.
Manual and generated hint data on a layer.
Layer-local guides used while editing outlines.
Spacing adjustment between specific layers.
Layer-local notes displayed with a glyph.
Axis coordinates and rules that place layers in a design space.
Colors used to draw a layer.
Additional values stored for a layer.
Intersections between layer outlines and line segments.
Operations for modifying outlines and other layer content.