The OpenD Programming Language

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

  1. void maskSurface(Surface surface, Point!double location)
    struct Context
    void
    maskSurface
  2. void maskSurface(Surface surface, double x, double y)

Parameters

location Point!double

coordinates at which to place the origin of surface

Meta