cairo_device_to_user_distance(3) php man page | unix.com

Man Page: cairo_device_to_user_distance

Operating Environment: php

Section: 3

CAIRO_DEVICE_TO_USER_DISTANCE(3)					 1					  CAIRO_DEVICE_TO_USER_DISTANCE(3)

CairoContext::deviceToUserDistance - Transform a distance

       Object oriented style (method):

SYNOPSIS
public array CairoContext::deviceToUserDistance (float $x, float $y)
DESCRIPTION
Procedural 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).
PARAMETERS
o $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 vector
RETURN VALUES
Returns an array with the x and y values of a distance vector in the user-space
SEE ALSO
CairoContext::deviceToUser. PHP Documentation Group CAIRO_DEVICE_TO_USER_DISTANCE(3)
Related Man Pages
cairo_append_path(3) - php
cairo_clip(3) - php
cairo_clip_preserve(3) - php
cairo_clip_rectangle_list(3) - php
cairo_close_path(3) - php
Similar Topics in the Unix Linux Community
User Guide: Posting in the Emergency Forum
UNIX.COM 2017 Year End Summary
Please Welcome Don Cragun as Lead Moderator
Please Welcome Ravinder Singh to the Moderation Team
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Wolf Machowitsch