cairoimagesurface.getwidth(3) php man page | unix.com

Man Page: cairoimagesurface.getwidth

Operating Environment: php

Section: 3

CAIROIMAGESURFACE.GETWIDTH(3)						 1					     CAIROIMAGESURFACE.GETWIDTH(3)

CairoImageSurface::getWidth - Retrieves the width of the CairoImageSurface

SYNOPSIS
public int CairoImageSurface::getWidth (void ) DESCRIPTION
Gets the width of the CairoImageSurface PARAMETERS
This function has no parameters. RETURN VALUES
Returns the width of the CairoImageSurface object EXAMPLES
Example #1 CairoImageSurface::getWidth example <?php // creates a new image surface $surface = new CairoImageSurface(CairoFormat::ARGB32, 80, 50); //gets the width var_dump($surface->getWidth()); ?> The above example will output something similar to: int(80) SEE ALSO
CairoImageSurface::getHeight. PHP Documentation Group CAIROIMAGESURFACE.GETWIDTH(3)
Related Man Pages
cairoimagesurface(3) - php
cairo_clip_rectangle_list(3) - php
cairo_close_path(3) - php
cairo_copy_path_flat(3) - php
cairo_get_current_point(3) - php
Similar Topics in the Unix Linux Community
User Guide: Posting in the Emergency Forum
Rules for Homework &amp; Coursework Questions Forum
New Code Tags (Syntax Highlighting)
Please Welcome Don Cragun as Lead Moderator
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Don Cragun