Name
gl.BitmapFromBrush -- draw a bitmap from a brush's mask
Synopsis
gl.BitmapFromBrush(xorig, yorig, xmove, ymove, id)
Function
This function does the same as gl.Bitmap() except that the pixel data is fetched from the mask of the Hollywood brush specified by id. If the brush specified in id doesn't have a mask, an error will be generated.

See gl.Bitmap for details.

Inputs
xorig
specify the location of the x origin in the bitmap image. The origin is measured from the lower left corner of the bitmap, with right and up being the positive axes.
yorig
specify the location of the y origin in the bitmap image. The origin is measured from the lower left corner of the bitmap, with right and up being the positive axes.
xmove
specify the x offset to be added to the current raster position after the bitmap is drawn
ymove
specify the y offset to be added to the current raster position after the bitmap is drawn
id
identifier of a Hollywood brush that has a mask

Show TOC