Skip to content

CoordinateTransformContext

@scaryterry/pdfium


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).

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: number

Defined in: src/core/types.ts:1581

X offset in device coordinates where rendering starts.


startY: number

Defined in: src/core/types.ts:1583

Y offset in device coordinates where rendering starts.