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

CairoContext::__construct - Creates a new CairoContext | JavaScript入門&応用&リファレンスなら「JavaScriptist」

  

CairoContext::__construct

(PECL cairo >= 0.1.0)

CairoContext::__constructCreates a new CairoContext

説明

public CairoContext::__construct ( CairoSurface $surface )

Creates a new CairoContext object to draw

パラメータ

surface

A valid CairoSurface like CairoImageSurface or CairoPdfSurface

返り値

A CairoContext

例1 CairoContext::__construct() example

<?php
// The surface to work on
$surface = new CairoImageSurface(CairoFormat::ARGB325050);

// Create a new CairoContext for the CairoSurface
$context = new CairoContext($surface);

?>

参考

  • Cairo::Method()


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

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