CairoStatus
CairoSurface::__construct
Cairo
PHP Manual

# The CairoSurface class

(PECL cairo >= 0.1.0)

## Introdução

This is the base-class for all other Surface types. CairoSurface is the abstract type representing all different drawing targets that cairo can render to. The actual drawings are performed using a CairoContext.

## Sinopse da classe

CairoSurface {
/* Métodos */
public __construct ( void )
public void copyPage ( void )
public void createSimilar ( CairoSurface `$other` , int `$content` , string `$width` , string `$height` )
public void finish ( void )
public void flush ( void )
public int getContent ( void )
public array getDeviceOffset ( void )
public void getFontOptions ( void )
public int getType ( void )
public void markDirty ( void )
public void markDirtyRectangle ( string `$x` , string `$y` , string `$width` , string `$height` )
public void setDeviceOffset ( string `$x` , string `$y` )
public void setFallbackResolution ( string `$x` , string `$y` )
public void showPage ( void )
public int status ( void )
public void writeToPng ( string `$file` )
}

## Índice

- CairoSurface::__construct — The __construct purpose
- CairoSurface::copyPage — The copyPage purpose
- CairoSurface::createSimilar — The createSimilar purpose
- CairoSurface::finish — The finish purpose
- CairoSurface::flush — The flush purpose
- CairoSurface::getContent — The getContent purpose
- CairoSurface::getDeviceOffset — The getDeviceOffset purpose
- CairoSurface::getFontOptions — The getFontOptions purpose
- CairoSurface::getType — The getType purpose
- CairoSurface::markDirty — The markDirty purpose
- CairoSurface::markDirtyRectangle — The markDirtyRectangle purpose
- CairoSurface::setDeviceOffset — The setDeviceOffset purpose
- CairoSurface::setFallbackResolution — The setFallbackResolution purpose
- CairoSurface::showPage — The showPage purpose
- CairoSurface::status — The status purpose
- CairoSurface::writeToPng — The writeToPng purpose

CairoStatus
CairoSurface::__construct
Cairo
PHP Manual