PHP Velho Oeste 2024

CairoSurface::copyPage

cairo_copy_page

(PECL cairo >= 0.1.0)

CairoSurface::copyPage -- cairo_copy_pageThe copyPage purpose

Descrição

Estilo orientado à objeto (method):

public CairoSurface::copyPage ( void ) : void

Estilo procedural:

cairo_copy_page ( CairoContext $context ) : void

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.

Parâmetros

context

A CairoContext object

Valor Retornado

Description...

Exemplos

Exemplo #1 Estilo orientado à objeto

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

O exemplo acima irá imprimir algo similar à:

...

Exemplo #2 Estilo procedural

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

O exemplo acima irá imprimir algo similar à:

...

Veja Também

  • Classname::Method()

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top