CairoSurface::writeToPng
CairoSvgSurface::__construct
Cairo
PHP Manual

# Svg Surface Backend

## 導入

Svg specific surface class, uses the SVG (standard vector graphics) surface backend.

## クラス概要

CairoSvgSurface
CairoSvgSurface extends CairoSurface {
/* メソッド */
__construct ( string `$file` , float `$width` , float `$height` )
public static array getVersions ( void )
public void restrictToVersion ( string `$version` )
public static string versionToString ( int `$version` )
/* 継承したメソッド */
CairoSurface::__construct ( void )
public void CairoSurface::copyPage ( void )
public void CairoSurface::createSimilar ( CairoSurface `$other` , int `$content` , string `$width` , string `$height` )
public void CairoSurface::finish ( void )
public void CairoSurface::flush ( void )
public int CairoSurface::getContent ( void )
public array CairoSurface::getDeviceOffset ( void )
public void CairoSurface::getFontOptions ( void )
public int CairoSurface::getType ( void )
public void CairoSurface::markDirty ( void )
public void CairoSurface::markDirtyRectangle ( string `$x` , string `$y` , string `$width` , string `$height` )
public void CairoSurface::setDeviceOffset ( string `$x` , string `$y` )
public void CairoSurface::setFallbackResolution ( string `$x` , string `$y` )
public void CairoSurface::showPage ( void )
public int CairoSurface::status ( void )
public void CairoSurface::writeToPng ( string `$file` )
}

## 目次

- CairoSvgSurface::__construct — The __construct purpose
- CairoSvgSurface::getVersions — Used to retrieve a list of supported SVG versions
- CairoSvgSurface::restrictToVersion — The restrictToVersion purpose
- CairoSvgSurface::versionToString — The versionToString purpose

CairoSurface::writeToPng
CairoSvgSurface::__construct
Cairo
PHP Manual