Package: cairo

Function cairo:user-to-device

Lambda List

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

Arguments

cr -- a cairo:context-t instance

Return Value

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

Details

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

See also

2025-09-02