Context.getSource

Gets the current source pattern for cr.

Returns

the current source pattern. This object is owned by

cairo. To keep a reference to it, you must call [cairo.pattern.Pattern.reference].