PHPマニュアル/PEARマニュアル | ユーザフォーラムで議論/質問 | マニュアル検索 | ハイライト | ハイライトオフ | ポータル | php spot

CairoContext::copyPage - Emits the current page | JavaScript入門&応用&リファレンスなら「JavaScriptist」

  

CairoContext::copyPage

cairo_copy_page

(PECL cairo >= 0.1.0)

CairoContext::copyPage -- cairo_copy_pageEmits the current page

説明

オブジェクト指向型 (method):

public void CairoContext::copyPage ( void )

手続き型:

void cairo_copy_page ( CairoContext $context )

Emits the current page for backends that support multiple pages, but doesn’t clear it, so, the contents of the current page will be retained for the next page too. Use CairoContext::showPage() if you want to get an empty page after the emission.

This is a convenience function that simply calls CairoSurface::copyPage() on CairoContext’s target.

パラメータ

context

A valid CairoContext object created with CairoContext::__construct() or cairo_create()

返り値

値を返しません。

例1 オブジェクト指向型

<?php

$surface 
= new CairoImageSurface(CairoFormat::ARGB325050);

$context = new CairoContext($surface);

$context->copyPage();

?>

例2 手続き型

<?php

$surface 
cairo_image_surface_create(CAIRO_FORMAT_ARGB325050);

$context cairo_create($surface);

cairo_copy_page($context);

?>

参考


忘却曲線を使ってこの知識を確実に記憶に残す

フォーラムで「CairoContext::copyPage - Emits the current page」について話す
各種マニュアル: PHPマニュアル | PEARマニュアル | Smarty(英語)マニュアル | PHP-GTKマニュアル | CairoContext::copyPage - Emits the current page」をGoogle検索
copyright © 1997-2024 PHP ドキュメント作成グループ(ライセンス). provided by php spot. マニュアル: