RASTERMODE

Top  Previous  Next

Syntax

RASTERMODE(win as WINDOW,mode as INT)

Description

Sets the current raster mode for the window. The raster mode controls how source pixels from drawing operations are combined with the pixels already in the window. The default raster mode is @RMCOPYPEN

Parameters

win - Window to set the raster mode

mode - New mode

Return value

None

Remarks

See Also: RASTERMODE constants in the appendix.

Example usage

RASTERMODE mywnd, @RMXORPEN