Package: cairo

Function cairo-surface-reference

Lambda List

cairo-surface-reference (surface)

Arguments

surface -- a cairo-surface-t instance

Return Value

The referenced cairo-surface-t instance.

Details

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

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

See also

2020-12-16