Method Cairo.Context()->mask_surface()
- Method
mask_surface
voidmask_surface(Surfacesurface,float|intsurface_x,float|intsurface_y)- Description
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.)
- Parameter
surface a Surface
- Parameter
surface_x X coordinate at which to place the origin of surface
- Parameter
surface_y Y coordinate at which to place the origin of surface