CairoContext::deviceToUser
cairo_device_to_user
Transform a coordinate
Description
Object oriented style (method):
public array CairoContext::deviceToUser
( float $x
, float $y
)
array cairo_device_to_user
( CairoContext $context
, float $x
, float $y
)
Parameters
-
context
-
A valid CairoContext object created with
CairoContext::__construct or cairo_create
-
x
-
x value of the coordinate
-
y
-
y value of the coordinate
Return Values
An array containing the x and y coordinates in the user-space
See Also
- CairoContext::deviceToUserDistance