| ユーザフォーラムで議論/質問 | マニュアル検索 | ハイライト | ハイライトオフ | ポータル | php spot |
CairoContext::clipExtentscairo_clip_extents(PECL cairo >= 0.1.0) CairoContext::clipExtents -- cairo_clip_extents — Computes the area inside the current clip 説明オブジェクト指向型 (method):
public array CairoContext::clipExtents
( void
)
手続き型: Computes a bounding box in user coordinates covering the area inside the current clip. パラメータ
返り値An array containing the (float)x1, (float)y1, (float)x2, (float)y2, coordinates covering the area inside the current clip 例
例1 オブジェクト指向型
<?php 上の例の出力は、 たとえば以下のようになります。 array(4) { [0]=> float(0) [1]=> float(0) [2]=> float(50) [3]=> float(50) }
例2 手続き型
<?php 上の例の出力は、 たとえば以下のようになります。 array(4) { [0]=> float(0) [1]=> float(0) [2]=> float(50) [3]=> float(50) } |
各種マニュアル:
PHPマニュアル |
PEARマニュアル |
Smarty(英語)マニュアル |
PHP-GTKマニュアル |
「CairoContext::clipExtents - Computes the area inside the current clip」をGoogle検索
|