CoordinateTransformContext
Defined in: src/core/types.ts:1606
Context for coordinate transformation between device and page space.
Defines the viewport mapping used for conversion between device coordinates (pixels) and page coordinates (points).
Properties
Section titled “Properties”rotate
Section titled “rotate”rotate:
PageRotation
Defined in: src/core/types.ts:1616
Page rotation applied during rendering.
sizeX:
number
Defined in: src/core/types.ts:1612
Width of the rendering area in device coordinates.
sizeY:
number
Defined in: src/core/types.ts:1614
Height of the rendering area in device coordinates.
startX
Section titled “startX”startX:
number
Defined in: src/core/types.ts:1608
X offset in device coordinates where rendering starts.
startY
Section titled “startY”startY:
number
Defined in: src/core/types.ts:1610
Y offset in device coordinates where rendering starts.