The CairoFillRule class
(Информация о версии неизвестна, возможно, только в SVN)
Введение
A CairoFillRule is used to select how paths are filled. For both fill rules, whether or not a point is included in the fill is determined by taking a ray from that point to infinity and looking at intersections with the path. The ray can be in any direction, as long as it doesn't pass through the end point of a segment or have a tricky intersection such as intersecting tangent to the path. (Note that filling is not actually implemented in this way. This is just a description of the rule that is applied.)
The default fill rule is CairoFillRule::WINDING
.
Обзор классов
Предопределенные константы
CairoFillRule::WINDING
-
If the path crosses the ray from left-to-right, counts +1. If the path crosses the ray from right to left, counts -1. (Left and right are determined from the perspective of looking along the ray from the starting point.) If the total count is non-zero, the point will be filled.
CairoFillRule::EVEN_ODD
-
Counts the total number of intersections, without regard to the orientation of the contour. If the total number of intersections is odd, the point will be filled.
- PHP Руководство
- Функции по категориям
- Индекс функций
- Справочник функций
- Обработка и генерация изображений
- Введение
- Установка и настройка
- Предопределенные константы
- Примеры
- Cairo
- Класс Cairo
- The CairoContext class
- The CairoException class
- The CairoStatus class
- The CairoSurface class
- Svg Surface Backend
- The CairoImageSurface class
- Класс CairoPdfSurface
- Класс CairoPsSurface
- Класс CairoSurfaceType
- The CairoFontFace class
- The CairoFontOptions class
- The CairoFontSlant class
- The CairoFontType class
- The CairoFontWeight class
- Класс CairoScaledFont
- The CairoToyFontFace class
- The CairoPatternType class
- The CairoPattern class
- The CairoGradientPattern class
- Класс CairoSolidPattern
- Класс CairoSurfacePattern
- The CairoLinearGradient class
- Класс CairoRadialGradient
- The CairoAntialias class
- The CairoContent class
- Класс CairoExtend
- The CairoFormat class
- The CairoFillRule class
- The CairoFilter class
- The CairoHintMetrics class
- The CairoHintStyle class
- The CairoLineCap class
- Класс CairoLineJoin
- The CairoMatrix class
- The CairoOperator class
- The CairoPath class
- Класс CairoPsLevel
- Класс CairoSubpixelOrder
- Класс CairoSvgVersion
Коментарии
404 Not Found