略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: CairoSurface::copyPage

2024-12-27

CairoSurface::copyPage

cairo_copy_page

(PECL cairo >= 0.1.0)

CairoSurface::copyPage -- cairo_copy_pageThe copyPage purpose

说明

面向对象风格 (method):

public CairoSurface::copyPage ( void ) : void

过程化风格:

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.

参数

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.

官方地址:https://www.php.net/manual/en/cairosurface.copypage.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3