GoLang CairoSurface::copyPage

request it (327)
GoLang replacement for PHP's CairoSurface::copyPage [edit | history]



Do you know a GoLang replacement for PHP's CairoSurface::copyPage? Write it!

PHP CairoSurface::copyPage

PHP original manual for CairoSurface::copyPage [ show | php.net ]

CairoSurface::copyPage

cairo_copy_page

(PECL cairo >= 0.1.0)

CairoSurface::copyPage -- cairo_copy_pageThe copyPage purpose

Description

Object oriented style (method):

public void CairoSurface::copyPage ( void )

Procedural style:

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.

Parameters

context

A CairoContext object

Return Values

Description...

Examples

Example #1 Object oriented style

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

The above example will output something similar to:

...

Example #2 Procedural style

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

The above example will output something similar to:

...

See Also

  • Classname::Method()