Package: cairo

Function cairo:pattern-surface

Lambda List

cairo:pattern-surface (pattern)

Arguments

pattern -- a cairo:pattern-t instance

Return Value

The cairo:surface-t instance of the pattern.

Details

Gets the surface of a surface pattern. Returns nil if the pattern is not a surface pattern.

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

See also

2024-2-2