downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

CairoContext::fill> <CairoContext::deviceToUser
[edit] Last updated: Fri, 23 Mar 2012

view this page in

CairoContext::deviceToUserDistance

cairo_device_to_user_distance

(PECL cairo >= 0.1.0)

CairoContext::deviceToUserDistance -- cairo_device_to_user_distanceTransform a distance

Opis

Styl obiektowy (method):

public array CairoContext::deviceToUserDistance ( float $x , float $y )

Styl proceduralny:

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() except that the translation components of the inverse Cairo Transformation Matrix will be ignored when transforming (x,y).

Parametry

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

Zwracane wartości

Returns an array with the x and y values of a distance vector in the user-space

Zobacz też:



add a note add a note User Contributed Notes CairoContext::deviceToUserDistance
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites