Package: cairo

Function cairo:device-to-user

Lambda List

cairo:device-to-user (cr x y)

Arguments

cr -- a cairo:context-t instance

Return Value

x -- a double float with the x value of the coordinate
y -- a double float with the y value of the coordinate

Details

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

See also

2025-1-29