CairoContext::deviceToUserDistance
cairo_device_to_user_distance
Transform a distance
Beschreibung
Objektorientierter Stil (method):
public array CairoContext::deviceToUserDistance
( float $x
, float $y
)
array cairo_device_to_user_distance
( CairoContext $context
, float $x
, float $y
)
Parameter-Liste
-
context
-
A valid CairoContext object created with
CairoContext::__construct or cairo_create
-
x
-
X component of a distance vector
-
y
-
Y component of a distance vector
Rückgabewerte
Returns an array with the x and y values of a distance vector in the user-space
Siehe auch
- CairoContext::deviceToUser