Package: cairo

Function cairo:pattern-reference

Lambda List

cairo:pattern-reference (pattern)

Arguments

pattern -- a cairo:pattern-t instance

Return Value

The referenced cairo:pattern-t instance.

Details

Increases the reference count on pattern by one. This prevents pattern from being destroyed until a matching call to the cairo:pattern-destroy function is made.

The number of references to a cairo:pattern-t can be get using the cairo:pattern-reference-count function.
 

See also

2025-1-14