Cairo
PHP Manual

The CairoSurface class

(PECL cairo >= 0.1.0)

Introduction

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.

Class synopsis

CairoSurface {
/* Methods */
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 ( float $x , float $y , float $width , float $height )
public void setDeviceOffset ( float $x , float $y )
public void setFallbackResolution ( float $x , float $y )
public void showPage ( void )
public int status ( void )
public void writeToPng ( string $file )
}

Table of Contents


Cairo
PHP Manual