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

search for in the

CairoContext::copyPage> <CairoContext::closePath
[edit] Last updated: Fri, 17 May 2013

view this page in

CairoContext::__construct

(PECL cairo >= 0.1.0)

CairoContext::__constructCreates a new CairoContext

Beschreibung

public CairoContext::__construct ( CairoSurface $surface )

Creates a new CairoContext object to draw

Parameter-Liste

surface

A valid CairoSurface like CairoImageSurface or CairoPdfSurface

Rückgabewerte

A CairoContext

Beispiele

Beispiel #1 CairoContext::__construct() example

<?php
// The surface to work on
$surface = new CairoImageSurface(CairoFormat::ARGB325050);

// Create a new CairoContext for the CairoSurface
$context = new CairoContext($surface);

?>

Siehe auch

  • Cairo::Method()



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

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