Query: cairo_device_to_user_distance
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
CAIRO_DEVICE_TO_USER_DISTANCE(3) 1 CAIRO_DEVICE_TO_USER_DISTANCE(3) CairoContext::deviceToUserDistance - Transform a distance Object oriented style (method):SYNOPSISpublic array CairoContext::deviceToUserDistance (float $x, float $y)DESCRIPTIONProcedural style: array cairo_device_to_user_distance (CairoContext $context, float $x, float $y) Transform a distance vector from device space to user space. This function is similar to CairoContext::deviceToUser or cairo_device_to_user(3) except that the translation components of the inverse Cairo Transformation Matrix will be ignored when transforming ($x,$y).PARAMETERSo $context - A valid CairoContext object created with CairoContext::__construct or cairo_create(3) o $x - X component of a distance vector o $y - Y component of a distance vectorRETURN VALUESReturns an array with the x and y values of a distance vector in the user-spaceSEE ALSOCairoContext::deviceToUser. PHP Documentation Group CAIRO_DEVICE_TO_USER_DISTANCE(3)