Package: cairo

Function cairo:device-to-user-distance

Lambda List

cairo:device-to-user-distance (cr dx dy)

Arguments

cr -- a cairo:context-t instance

Return Value

dx -- a double float with the x component of the distance vector
dy -- a double float with the y component of the distance vector

Details

Transform a distance vector from device space to user space. This function is similar to the cairo:device-to-user function except that the translation components of the inverse CTM will be ignored when transforming (dx,dy).
 

See also

2025-1-29