PHP - Manual: CairoSurface::copyPage
2024-12-27
(PECL cairo >= 0.1.0)
CairoSurface::copyPage -- cairo_copy_page — The copyPage purpose
面向对象风格 (method):
过程化风格:
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
/* ... */
?>
以上例程的输出类似于:
...
官方地址:https://www.php.net/manual/en/cairosurface.copypage.php