PHP Velho Oeste 2024

Класс CairoImageSurface

(PECL cairo >= 0.1.0)

Введение

CairoImageSurface обеспечивает возможность рендеринга в буферы памяти, выделенные cairo или вызывающим кодом. Поддерживаемые форматы изображений определены в 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
}

Содержание

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top