| 1 |
|
| 2 |
@c %start of fragment |
| 3 |
|
| 4 |
@node Patterns |
| 5 |
@chapter Patterns |
| 6 |
Sources for drawing |
| 7 |
|
| 8 |
@section Overview |
| 9 |
@code{<cairo-pattern>} is the paint with which cairo draws. The |
| 10 |
primary use of patterns is as the source for all cairo drawing |
| 11 |
operations, although they can also be used as masks, that is, as the |
| 12 |
brush too. |
| 13 |
|
| 14 |
A cairo pattern is created by using one of the many constructors, of the |
| 15 |
form cairo_pattern_create_@emph{type}() or implicitly through |
| 16 |
cairo_set_source_@emph{type}() functions. |
| 17 |
|
| 18 |
@section Usage |
| 19 |
@include defuns-cairo-pattern.xml.texi |
| 20 |
|
| 21 |
@c %end of fragment |