CairoImageSurface クラス
(バージョン情報なし。おそらく SVN 版にしか存在しないでしょう)
導入
CairoImageSurface は、cairo あるいは呼び出し元のコードが確保したメモリバッファの内容をレンダリングする機能を提供します。 対応する画像フォーマットは CairoFormat で定義されているものです。
クラス概要
CairoImageSurface
extends
CairoSurface
{
/* メソッド */
public static void createForData
( string
$data
, int $format
, int $width
, int $height
[, int $stride = -1
] )/* 継承したメソッド */
public void CairoSurface::createSimilar
( CairoSurface
$other
, int $content
, string $width
, string $height
)
public void CairoSurface::markDirtyRectangle
( string
}$x
, string $y
, string $width
, string $height
)目次
- CairoImageSurface::__construct — Creates a new CairoImageSurface
- CairoImageSurface::createForData — The createForData purpose
- CairoImageSurface::createFromPng — Creates a new CairoImageSurface form a png image file
- CairoImageSurface::getData — Gets the image data as string
- CairoImageSurface::getFormat — Get the image format
- CairoImageSurface::getHeight — Retrieves the height of the CairoImageSurface
- CairoImageSurface::getStride — The getStride purpose
- CairoImageSurface::getWidth — Retrieves the width of the CairoImageSurface