CairoSurface
PHP Manual

CairoSurface::copyPage

cairo_copy_page

(PECL cairo >= 0.1.0)

CairoSurface::copyPage -- cairo_copy_pageThe copyPage purpose

Descrierea

Stil obiect-orientat (method):

public void CairoSurface::copyPage ( void )

Stil procedural:

void cairo_copy_page ( CairoContext $context )

Emits the current page for backends that support multiple pages, but doesn't clear it, so that the contents of the current page will be retained for the next page. Use CairoSurface::showPage() if you want to get an empty page after the emission.

Parametri

context

A CairoContext object

Valorile întoarse

Description...

Exemple

Example #1 Stil obiect-orientat

<?php
/* ... */
?>

Exemplul de mai sus va afișa ceva similar cu:

...

Example #2 Stil procedural

<?php
/* ... */
?>

Exemplul de mai sus va afișa ceva similar cu:

...

Vedeți de asemenea


CairoSurface
PHP Manual