CairoSurface::copyPage

cairo_copy_page

(PECL cairo >= 0.1.0)

CairoSurface::copyPage -- cairo_copy_pageThe copyPage purpose

說明

物件導向風格 (method):

public void CairoSurface::copyPage ( void )

程序化風格:

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.

參數

context

A CairoContext object

回傳值

Description...

範例

Example #1 物件導向風格

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

上例的輸出類似於:

...

Example #2 程序化風格

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

上例的輸出類似於:

...

參見

  • Classname::Method()

add a note add a note

User Contributed Notes

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