CairoImageSurface::getWidth
CairoPdfSurface::__construct
Cairo
PHP Manual

# The CairoPdfSurface class

(PECL cairo >= 0.1.0)

## Introduction

## Class synopsis

CairoPdfSurface extends CairoSurface {
/* Methods */
public __construct ( string `$file` , float `$width` , float `$height` )
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

- CairoPdfSurface::__construct — The __construct purpose
- CairoPdfSurface::setSize — The setSize purpose

CairoImageSurface::getWidth
CairoPdfSurface::__construct
Cairo
PHP Manual