Learn R Programming

RGtk2 (version 2.20.31)

cairoMaskSurface: cairoMaskSurface

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

Usage

cairoMaskSurface(cr, surface, surface.x, surface.y)

Arguments

cr
[Cairo] a cairo context
surface.x
[numeric] X coordinate at which to place the origin of surface
surface.y
[numeric] Y coordinate at which to place the origin of surface