Context.maskSurface

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.) Since 1.0

class Context
void
maskSurface

Parameters

surface Surface

a cairo_surface_t

surfaceX double

X coordinate at which to place the origin of surface

surfaceY double

Y coordinate at which to place the origin of surface

Meta