Main Gtk struct.
A cairo_pattern_t represents a source when drawing onto a
surface. There are different subtypes of cairo_pattern_t,
for different types of sources; for example,
Pattern.createRgb creates a pattern for a solid
opaque color.
Other than various
Pattern.createType
functions, some of the pattern types can be implicitly created using various
cairo_set_source_type() functions;
for example cairo_set_source_rgb().
The type of a pattern can be queried with Pattern.getType.
Memory management of cairo_pattern_t is done with
Pattern.reference and Pattern.destroy.
Since 1.0
Main Gtk struct. A cairo_pattern_t represents a source when drawing onto a surface. There are different subtypes of cairo_pattern_t, for different types of sources; for example, Pattern.createRgb creates a pattern for a solid opaque color. Other than various Pattern.createType
functions, some of the pattern types can be implicitly created using various cairo_set_source_type() functions; for example cairo_set_source_rgb(). The type of a pattern can be queried with Pattern.getType. Memory management of cairo_pattern_t is done with Pattern.reference and Pattern.destroy. Since 1.0