CoordinateTransformContext
Defined in: src/core/types.ts:1579
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:1589
Page rotation applied during rendering.
sizeX:
number
Defined in: src/core/types.ts:1585
Width of the rendering area in device coordinates.
sizeY:
number
Defined in: src/core/types.ts:1587
Height of the rendering area in device coordinates.
startX
Section titled “startX”startX:
number
Defined in: src/core/types.ts:1581
X offset in device coordinates where rendering starts.
startY
Section titled “startY”startY:
number
Defined in: src/core/types.ts:1583
Y offset in device coordinates where rendering starts.