Наш чат в Telegram для обмена идеями, проектами, мыслями, людьми в сфере ИТ г.Ростова-на-Дону: @it_rostov

The CairoFilter class

(Информация о версии неизвестна, возможно, только в SVN)


A CairoFilter is used to indicate what filtering should be applied when reading pixel values from patterns. See CairoPattern::setSource() or cairo_pattern_set_source() for indicating the desired filter to be used with a particular pattern.

Обзор классов

CairoFilter {
/* Константы */
const integer FAST = 0 ;
const integer GOOD = 1 ;
const integer BEST = 2 ;
const integer NEAREST = 3 ;
const integer BILINEAR = 4 ;
const integer GAUSSIAN = 5 ;

Предопределенные константы

CairoFilter Node Types

CairoFilter::FAST -

A high-performance filter, with quality similar to CairoFilter::NEAREST

CairoFilter::GOOD -

A reasonable-performance filter, with quality similar to CairoFilter::BILINEAR

CairoFilter::BEST -

The highest-quality available, performance may not be suitable for interactive use.

CairoFilter::NEAREST -

Nearest-neighbor filtering

CairoFilter::BILINEAR -

Linear interpolation in two dimensions

CairoFilter::GAUSSIAN -

This filter value is currently unimplemented, and should not be used in current code.

Описание класса cairofilter, примеры использования класса cairofilter.

Смотрите также:
Описание на ru2.php.net
Описание на php.ru