cairoMaskSurface {RGtk2} | R Documentation

## 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`` | [`CairoSurface`] a `CairoSurface`
``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`

### Author(s)

Derived by RGtkGen from GTK+ documentation

[Package RGtk2 version 2.20.40 Index]