Package: cairo

Function cairo-pattern-get-surface

Lambda List

cairo-pattern-get-surface (pattern)

Arguments

pattern -- a cairo-pattern-t instance

Return Value

surface -- a cairo-surface-t instance of the pattern
status -- :success, or :pattern-type-mismatch if the pattern is not a surface pattern

Details

Gets the surface of a surface pattern. The reference returned in surface is owned by the pattern. The caller should call the function cairo-surface-reference if the surface is to be retained.
 

See also

2020-12-25