CairoPdfSurface::setSize
CairoPsSurface::__construct
Cairo
PHP Manual

# The CairoPsSurface class

(PECL cairo >= 0.1.0)

## Introduction

## Class synopsis

CairoPsSurface extends CairoSurface {
/* Methods */
public __construct ( string `$file` , float `$width` , float `$height` )
public void dscBeginPageSetup ( void )
public void dscBeginSetup ( void )
public void dscComment ( string `$comment` )
public bool getEps ( void )
public static array getLevels ( void )
public static string levelToString ( int `$level` )
public void restrictToLevel ( string `$level` )
public void setEps ( string `$level` )
public void setSize ( string `$width` , string `$height` )
/* Inherited methods */
public 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` )
}

## Table of Contents

- CairoPsSurface::__construct — The __construct purpose
- CairoPsSurface::dscBeginPageSetup — The dscBeginPageSetup purpose
- CairoPsSurface::dscBeginSetup — The dscBeginSetup purpose
- CairoPsSurface::dscComment — The dscComment purpose
- CairoPsSurface::getEps — The getEps purpose
- CairoPsSurface::getLevels — The getLevels purpose
- CairoPsSurface::levelToString — The levelToString purpose
- CairoPsSurface::restrictToLevel — The restrictToLevel purpose
- CairoPsSurface::setEps — The setEps purpose
- CairoPsSurface::setSize — The setSize purpose

CairoPdfSurface::setSize
CairoPsSurface::__construct
Cairo
PHP Manual