Package: cairo

Function cairo:user-to-device-distance

Lambda List

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

Arguments

cr -- a cairo:context-t instance

Return Value

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

Details

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

See also

2025-1-29