Query: cairo_device_to_user
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
CAIRO_DEVICE_TO_USER(3) 1 CAIRO_DEVICE_TO_USER(3) CairoContext::deviceToUser - Transform a coordinate Object oriented style (method):SYNOPSISpublic array CairoContext::deviceToUser (float $x, float $y)DESCRIPTIONProcedural style: array cairo_device_to_user (CairoContext $context, float $x, float $y) Transform a coordinate from device space to user space by multiplying the given point by the inverse of the current transformation matrix (CTM).PARAMETERSo $context - A valid CairoContext object created with CairoContext::__construct or cairo_create(3) o $x - x value of the coordinate o $y - y value of the coordinateRETURN VALUESAn array containing the x and y coordinates in the user-spaceSEE ALSOCairoContext::deviceToUserDistance. PHP Documentation Group CAIRO_DEVICE_TO_USER(3)