Skip to content

RasterOpConstants

Raster-operation codes for the Op argument of the PaintPicture method, controlling how the source bitmap is combined with the destination pixels. The numeric values are the standard Windows GDI ROP codes.

ConstantValueDescription
vbDstInvert&H550009Inverts the destination.
vbMergeCopy&HC000CAAND of source and pattern.
vbMergePaint&HBB0226OR of inverted source and destination.
vbNotSrcCopy&H330008Copies the inverted source to the destination.
vbNotSrcErase&H1100A6Inverts the result of OR-ing source and destination.
vbPatCopy&HF00021Copies the pattern to the destination.
vbPatInvert&H5A0049XOR of pattern and destination.
vbPatPaint&HFB0A09OR of pattern and destination, then OR with inverted source.
vbSrcAnd&H8800C6AND of source and destination.
vbSrcCopy&HCC0020Copies the source to the destination.
vbSrcErase&H440328AND of source and inverted destination.
vbSrcInvert&H660046XOR of source and destination.
vbSrcPaint&HEE0086OR of source and destination.

twinBASIC and LOGO copyright of "WaynePhillipsEA" author