Skip to content

CoordinateTransformContext

@scaryterry/pdfium


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

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

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

X offset in device coordinates where rendering starts.


startY: number

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

Y offset in device coordinates where rendering starts.