CairoImageSurface::getWidth
CairoPdfSurface::__construct
Cairo
PHP Manual

# The CairoPdfSurface class

## Introduction

Description of the class.

## Class synopsis

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