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

Inputs
surface
a Cairo surface object
surface_x
X coordinate at which to place the origin of surface
surface_y
Y coordinate at which to place the origin of surface

Show TOC