Pattern.reference

Increases the reference count on pattern by one. This prevents pattern from being destroyed until a matching call to cairo_pattern_destroy() is made. The number of references to a cairo_pattern_t can be get using cairo_pattern_get_reference_count().

class Pattern
reference
()

Return Value

Type: Pattern

the referenced cairo_pattern_t.

Meta