Method Cairo.Context()->mask_surface()
- Method
mask_surface
void
mask_surface(Surface
surface
,float
|int
surface_x
,float
|int
surface_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