Q3DrawContext_GetMask
You can use theQ3DrawContext_GetMaskfunction to get the mask of a draw context.
TQ3Status Q3DrawContext_GetMask ( TQ3DrawContextObject context, TQ3Bitmap *mask);
context- A draw context object.
mask- On exit, the mask of the specified draw context.
DESCRIPTION
TheQ3DrawContext_GetMaskfunction returns, in themaskparameter, the current mask for the draw context specified by thecontextparameter. The mask is a bitmap whose bits determine whether or not corresponding pixels in the drawing destination are drawn or are masked out.Q3DrawContext_GetMaskallocates memory internally for the returned bitmap; when you're done using the bitmap, you should call theQ3Bitmap_Emptyfunction to dispose of that memory.