NAME
Rivl_InitMatte - Generate an initial matte for an image
SYNOPSIS
#include <rivl.h>
Rivl_Signal
Rivl_InitMatte (interp, width, height, clippedFlag)
ARGUMENTS
- Tcl_Interp *interp (in)
-
The Tcl interpreter.
- double width, height (in)
-
Size of the new matte.
- int clippedFlag (in)
-
Flag indicating whether the new matte should be clipped to
its size, or solid everywhere.
DESCRIPTION
Rivl_InitMatte returns a byte signal with size taken from width and
height. If clippedFlag is nonzero, then the matte will be solid
255 inside the box (0,0) to (width,height) and 0
elsewhere. Otherwise, the matte will be solid 255 everywhere.