Регистрация Войти
Войти через VK Войти через FB Войти через Google Войти через Яндекс
Войти через VK Войти через FB Войти через Google Войти через Яндекс
Поиск по сайту
The CairoImageSurface class
(Информация о версии неизвестна, возможно, только в SVN)
Введение
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 {
/* Методы */
__construct ( int $format , int $width , int $height )
public static void createForData ( string $data , int $format , int $width , int $height [, int $stride = -1 ] )
public static CairoImageSurface createFromPng ( string $file )
public string getData ( void )
public int getFormat ( void )
public int getHeight ( void )
public int getStride ( void )
public int getWidth ( void )
/* Наследуемые методы */
CairoSurface::__construct ( void )
public void CairoSurface::copyPage ( void )
public void CairoSurface::createSimilar ( CairoSurface $other , int $content , string $width , string $height )
public void CairoSurface::finish ( void )
public void CairoSurface::flush ( void )
public int CairoSurface::getContent ( void )
public array CairoSurface::getDeviceOffset ( void )
public void CairoSurface::getFontOptions ( void )
public int CairoSurface::getType ( void )
public void CairoSurface::markDirty ( void )
public void CairoSurface::markDirtyRectangle ( string $x , string $y , string $width , string $height )
public void CairoSurface::setDeviceOffset ( string $x , string $y )
public void CairoSurface::setFallbackResolution ( string $x , string $y )
public void CairoSurface::showPage ( void )
public int CairoSurface::status ( void )
public void CairoSurface::writeToPng ( string $file )
}
Содержание
- CairoImageSurface::__construct — Creates a new CairoImageSurface
- CairoImageSurface::createForData — The createForData purpose
- CairoImageSurface::createFromPng — Creates a new CairoImageSurface form a png image file
- CairoImageSurface::getData — Gets the image data as string
- CairoImageSurface::getFormat — Get the image format
- CairoImageSurface::getHeight — Retrieves the height of the CairoImageSurface
- CairoImageSurface::getStride — The getStride purpose
- CairoImageSurface::getWidth — Retrieves the width of the CairoImageSurface
Описание класса cairoimagesurface, примеры использования класса cairoimagesurface.
Смотрите также:
Описание на ru2.php.net
Описание на php.ru