mapPageCoordsToDevice

fun mapPageCoordsToDevice(pageIndex: Int, startX: Int, startY: Int, sizeX: Int, sizeY: Int, rotate: Int, pageX: Double, pageY: Double): Point

Map page coordinates to device screen coordinates

Return

mapped coordinates

Parameters

pageIndex

index of page

startX

left pixel position of the display area in device coordinates

startY

top pixel position of the display area in device coordinates

sizeX

horizontal size (in pixels) for displaying the page

sizeY

vertical size (in pixels) for displaying the page

rotate

page orientation: 0 (normal), 1 (rotated 90 degrees clockwise), 2 (rotated 180 degrees), 3 (rotated 90 degrees counter-clockwise)

pageX

X value in page coordinates

pageY

Y value in page coordinate