Share via


Raster Operation Codes

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

Raster-operation codes define how the graphics device interface (GDI) combines the bits from the selected pen with the bits in the destination bitmap.

GDI uses two types of raster operations:

  • Binary, which involve two operands: a pen and a destination bitmap. For more information, see Binary Raster Operations.
  • Ternary, which involve three operands: a source bitmap, a brush, and a destination bitmap. For more information, see Ternary Raster Operations.

Both binary and ternary raster operations use Boolean operators.

See Also

Reference

GDI Reference
GetROP2
SetROP2
BitBlt
PatBlt
StretchBlt
MAKEROP4