downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

CairoPdfSurface> <CairoImageSurface::getStride
[edit] Last updated: Fri, 24 May 2013

view this page in

CairoImageSurface::getWidth

(PECL cairo >= 0.1.0)

CairoImageSurface::getWidthRecupera el ancho del CairoImageSurface

Descripción

public int CairoImageSurface::getWidth ( void )

Obtiene el ansho del CairoImageSurface

Parámetros

Esta función no tiene parámetros.

Valores devueltos

Devuelve el ansho del objeto CairoImageSurface

Ejemplos

Ejemplo #1 Ejemplo de CairoImageSurface::getWidth()

<?php
// crea una nueva superficie de imagen
$superficie = new CairoImageSurface(CairoFormat::ARGB328050);

// obtiene el ancho
var_dump($superficie->getWidth());

?>

El resultado del ejemplo sería algo similar a:

int(80)

Ver también



add a note add a note User Contributed Notes CairoImageSurface::getWidth - [0 notes]
There are no user contributed notes for this page.

 
show source | credits | sitemap | contact | advertising | mirror sites