RGtk2 (version 2.20.31)

cairoDeviceToUser: cairoDeviceToUser

Description

Transform a coordinate from device space to user space by multiplying the given point by the inverse of the current transformation matrix (CTM).

Usage

cairoDeviceToUser(cr, x, y)

Arguments

cr
[Cairo] a cairo
x
[numeric] X value of coordinate (in/out parameter)
y
[numeric] Y value of coordinate (in/out parameter)