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

search for in the

CairoContext::deviceToUserDistance> <CairoContext::curveTo
[edit] Last updated: Fri, 30 Nov 2012

view this page in

CairoContext::deviceToUser

cairo_device_to_user

(PECL cairo >= 0.1.0)

CairoContext::deviceToUser -- cairo_device_to_userTransform a coordinate

Opis

Styl obiektowy (method):

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

Styl proceduralny:

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).

Parametry

context

A valid CairoContext object created with CairoContext::__construct() or cairo_create()

x

x value of the coordinate

y

y value of the coordinate

Zwracane wartości

An array containing the x and y coordinates in the user-space

Zobacz też:



add a note add a note User Contributed Notes CairoContext::deviceToUser - [0 notes]
There are no user contributed notes for this page.

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