CairoImageSurface::getStride

(PECL cairo >= 0.1.0) The getStride purpose public int CairoImageSurface::getStride ( void ) The method description goes here. Returns: Description... This function is currently not documented; only its argument list is available. Examples: CairoImageSurface::getStride() example

CairoImageSurface::getHeight

(PECL cairo >= 0.1.0) Retrieves the height of the CairoImageSurface public int CairoImageSurface::getHeight ( void ) This methods returns the CairoImageSurface height. Returns: CairoImageSurface object height Examples: CairoImageSurface::getHeight() example <?php // creates a new image surface $surface = new CairoIm

CairoImageSurface::getFormat

(PECL cairo >= 0.1.0) Get the image format public int CairoImageSurface::getFormat ( void ) Retrieves the image format, as one of the CairoFormat defined Returns: One of the CairoFormat enums Examples: CairoImageSurface::getFormat() example <?php $surface = new CairoImageSurface(CairoFormat::ARGB32, 50, 50); var_d

CairoImageSurface::getData

(PECL cairo >= 0.1.0) Gets the image data as string public string CairoImageSurface::getData ( void ) Returns the image data of this surface or NULL if surface is not an image surface, or if CairoContext::finish(), procedural : cairo_surface_finish(), has been called. Returns: The image data as string Examples: CairoImageSurface::ge

CairoImageSurface::createFromPng

(PECL cairo >= 0.1.0) Creates a new CairoImageSurface form a png image file public static CairoImageSurface CairoImageSurface::createFromPng ( string $file ) Creates a new CairoImageSurface form a png image file This method should be called static Parameters: file Path to PNG image file Returns: CairoImageSurface object

CairoImageSurface::createForData

(PECL cairo >= 0.1.0) The createForData purpose public static void CairoImageSurface::createForData ( string $data, int $format, int $width, int $height [, int $stride = -1 ] ) The method description goes here. Parameters: data Description... format Description... width Description...

CairoImageSurface::__construct

(PECL cairo >= 0.1.0) Creates a new CairoImageSurface public CairoImageSurface::__construct ( int $format, int $width, int $height ) Creates a new CairoImageSuface object of type format Parameters: format Can be any defined in CairoFormat width The width of the image surface height The height of th

CairoSvgSurface::versionToString

(PECL cairo >= 0.1.0) The versionToString purpose public static string CairoSvgSurface::versionToString ( int $version ) The method description goes here. Parameters: version Description... Returns: Description... This function is currently not documented; only its argument list is available.

CairoSvgSurface::restrictToVersion

(PECL cairo >= 0.1.0) The restrictToVersion purpose public void CairoSvgSurface::restrictToVersion ( string $version ) The method description goes here. Parameters: version Description... Returns: Description... This function is currently not documented; only its argument list is available.

CairoSvgSurface::getVersions

(PECL cairo >= 0.1.0) Used to retrieve a list of supported SVG versions public static array CairoSvgSurface::getVersions ( void ) Object oriented style (method): Procedural style: array cairo_svg_get_versions ( void ) Returns a numerically indexed array of currently available CairoSvgVersion constants. In order to retreive the string values for each item, use CairoSvgSurface::versionToString(). Retu