The CairoImageSurface class

(PECL cairo >= 0.1.0)

锟斤拷锟�

CairoImageSurface provide the ability to render to memory buffers either allocated by cairo or by the calling code. The supported image formats are those defined in CairoFormat.

锟斤拷摘要

CairoImageSurface extends CairoSurface {
/* 锟斤拷锟斤拷 */
public __construct ( int $format , int $width , int $height )
public static createForData ( string $data , int $format , int $width , int $height ) : void
public static createFromPng ( string $file ) : CairoImageSurface
public getData ( void ) : string
public getFormat ( void ) : int
public getHeight ( void ) : int
public getStride ( void ) : int
public getWidth ( void ) : int
/* 锟教承的凤拷锟斤拷 */
public CairoSurface::__construct ( void )
public CairoSurface::copyPage ( void ) : void
public CairoSurface::createSimilar ( CairoSurface $other , int $content , string $width , string $height ) : void
public CairoSurface::finish ( void ) : void
public CairoSurface::flush ( void ) : void
public CairoSurface::getContent ( void ) : int
public CairoSurface::getDeviceOffset ( void ) : array
public CairoSurface::getFontOptions ( void ) : void
public CairoSurface::getType ( void ) : int
public CairoSurface::markDirty ( void ) : void
public CairoSurface::markDirtyRectangle ( float $x , float $y , float $width , float $height ) : void
public CairoSurface::setDeviceOffset ( float $x , float $y ) : void
public CairoSurface::setFallbackResolution ( float $x , float $y ) : void
public CairoSurface::showPage ( void ) : void
public CairoSurface::status ( void ) : int
public CairoSurface::writeToPng ( string $file ) : void
}

Table of Contents