Method CalculateMatrix

Namespace TallComponents.PDF.Rasterizer
Class Page

Calculates matrix for methods Page.Draw(SKBitmap, SKMatrix, ...) and DrawJob.Start(SKBitmap, SKMatrix, ...)

Syntax

public  SKMatrix  CalculateMatrix( Single  scale Single  offsetX Single  offsetY PageBoundary  boundary )

Returns

SKMatrix

Parameters


Single scale
Scaling of the page to relative size rendered at 72 dpi

Single offsetX
Horizontal offset of the page origin (bottom left corner) in pixels

Single offsetY
Vertical offset of the page origin (bottom left corner) in pixels (positive number moves origin up)

PageBoundary boundary
Specify boundary of the page used for calculation