CairoContext::deviceToUser

(PECL cairo >= 0.1.0) Transform a coordinate public array CairoContext::deviceToUser ( float $x, float $y ) Object oriented style (method): Procedural 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). Parameters:

CairoContext::curveTo

(PECL cairo >= 0.1.0) Adds a curve public void CairoContext::curveTo ( float $x1, float $y1, float $x2, float $y2, float $x3, float $y3 ) Object oriented style (method): Procedural style: void cairo_curve_to ( CairoContext $context , float $x1 , float $y1 , float $x2 , float $y2 , float $x3 , float $y3 ) Adds a cubic Bezier spline to the path from the current point to position x3 ,y3 in user-space coordinates, using x1,

CairoContext::copyPathFlat

(PECL cairo >= 0.1.0) Gets a flattened copy of the current path public CairoPath CairoContext::copyPathFlat ( void ) Object oriented style (method): Procedural style: CairoPath cairo_copy_path_flat ( CairoContext $context ) Gets a flattened copy of the current path and returns it to the user as a CairoPath. This function is like CairoContext::copyPath() except that any curves in the path will be approximated with piece

CairoContext::copyPath

(PECL cairo >= 0.1.0) Creates a copy of the current path public CairoPath CairoContext::copyPath ( void ) Object oriented style (method): Procedural style: CairoPath cairo_copy_path ( CairoContext $context ) Creates a copy of the current path and returns it to the user as a CairoPath. See CairoPath for hints on how to iterate over the returned data structure. This function will always return a valid CairoPath object, b

CairoContext::copyPage

(PECL cairo >= 0.1.0) Emits the current page public void CairoContext::copyPage ( void ) Object oriented style (method): Procedural style: void cairo_copy_page ( CairoContext $context ) Emits the current page for backends that support multiple pages, but doesn’t clear it, so, the contents of the current page will be retained for the next page too. Use CairoContext::showPage() if you want to get an empty page after the e

CairoContext::__construct

(PECL cairo >= 0.1.0) Creates a new CairoContext public CairoContext::__construct ( CairoSurface $surface ) Creates a new CairoContext object to draw Parameters: surface A valid CairoSurface like CairoImageSurface or CairoPdfSurface Returns: A CairoContext Examples: CairoContext::_

CairoContext::closePath

(PECL cairo >= 0.1.0) Closes the current path public void CairoContext::closePath ( void ) Object oriented style (method): Procedural style: void cairo_close_path ( CairoContext $context ) Adds a line segment to the path from the current point to the beginning of the current sub-path, (the most recent point passed to CairoContext::moveTo()), and closes this sub-path. After this call the current point will be at the join

CairoContext::clipRectangleList

(PECL cairo >= 0.1.0) Retrieves the current clip as a list of rectangles public array CairoContext::clipRectangleList ( void ) Object oriented style (method): Procedural style: array cairo_clip_rectangle_list ( CairoContext $context ) Returns a list-type array with the current clip region as a list of rectangles in user coordinates Parameters: context A valid CairoCon

CairoContext::clipPreserve

(PECL cairo >= 0.1.0) Establishes a new clip region from the current clip public void CairoContext::clipPreserve ( void ) Object oriented style (method): Procedural style: void cairo_clip_preserve ( CairoContext $context ) Establishes a new clip region by intersecting the current clip region with the current path as it would be filled by Context.fill() and according to the current FILL RULE (see CairoContext::setFillRul

CairoContext::clipExtents

(PECL cairo >= 0.1.0) Computes the area inside the current clip public array CairoContext::clipExtents ( void ) Object oriented style (method): Procedural style: array cairo_clip_extents ( CairoContext $context ) Computes a bounding box in user coordinates covering the area inside the current clip. Parameters: context A valid CairoContext object Re