Expand description
Grid viewport system — hierarchical coordinate contexts.
Viewports define rectangular regions with their own coordinate systems, scales, and graphical parameters. They form a stack (push/pop) that determines how child grobs are positioned and sized.
Structs§
- Grid
Layout - A grid layout divides a viewport into rows and columns.
- Viewport
- A grid viewport — a rectangular region with its own coordinate system.
- Viewport
Stack - A stack of viewports, starting from the root (device) viewport.
- Viewport
Transform - The computed absolute transform for a viewport, in device cm coordinates.
Enums§
- Justification
- Justification for positioning within a viewport.
Functions§
- compute_
transform - Compute the full transform stack for a ViewportStack, returning the transform for the current (topmost) viewport.