Package: cairo

Function cairo:pattern-extend

Lambda List

cairo:pattern-extend (pattern)

Syntax

(cairo:pattern-extend pattern) => extend
(setf (cairo:pattern-extend pattern) extend)

Arguments

pattern -- a cairo:pattern-t instance
extend -- a cairo:extend-t value describing how the area outside of the pattern will be drawn

Details

The cairo:pattern-extend function gets the current extend mode for a pattern. The (setf cairo:pattern-extend) function sets the mode to be used for drawing outside the area of a pattern. See the cairo:extend-t enumeration for details on the semantics of each extend strategy.

The default extend mode is :none for surface patterns and :pad for gradient patterns.
 

See also

2025-1-14