Raster Operation Codes (Windows CE 5.0)

Send Feedback

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

GDI Reference | GetROP2 | SetROP2 | BitBlt | PatBlt | StretchBlt | MAKEROP4

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.