Increases the reference count on surface by one. This prevents surface from being destroyed until a matching call to cairo_surface_destroy() is made. The number of references to a cairo_surface_t can be get using cairo_surface_get_reference_count().
the referenced cairo_surface_t.
See Implementation
Increases the reference count on surface by one. This prevents surface from being destroyed until a matching call to cairo_surface_destroy() is made. The number of references to a cairo_surface_t can be get using cairo_surface_get_reference_count().