Name
ccontext:Mask -- paint source with mask
Synopsis
ccontext:Mask(pattern)
Function
A drawing operator that paints the current source using the alpha channel of pattern as a mask. Opaque areas of pattern are painted with the source, transparent areas are not painted.

Inputs
pattern
a Cairo pattern object

Show TOC