Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
4/8/2010

Defines values for performing raster operations on drawn ink.

Use these values to set the value for the IInkDrawingAttributes::RasterOperationdrawing attribute. Any object with a DrawingAttributesproperty can have this value set. When the RasterOperationvalue is set to anything other than CopyPen, all drawing attributes (anti-aliasing, smoothing, and transparency) are ignored.

Syntax

enum InkRasterOperation {
  IRO_Black = 1,
  IRO_NotMergePen = 2,
  IRO_MaskNotPen = 3,
  IRO_NotCopyPen = 4,
  IRO_MaskPenNot = 5,
  IRO_Not = 6,
  IRO_XOrPen = 7,
  IRO_NotMaskPen = 8,
  IRO_MaskPen = 9,
  IRO_NotXOrPen = 10,
  IRO_NoOperation = 11,
  IRO_MergeNotPen = 12,
  IRO_CopyPen = 13,
  IRO_MergePenNot = 14,
  IRO_MergePen = 15,
  IRO_White = 16
} InkRasterOperation;

Elements

Black

Specifies black pen color.

NotMergePen

Specifies the inverse of MergePen.

MaskNotPen

Specifies a combination of the colors that are common to the background color and the inverse of the pen.

NotCopyPen

Specifies the inverse of CopyPen.

MakePenNot

Specifies a combination of the colors that are common to both the pen and the inverse of the display.

Not

Specifies the inverse of the display color.

XOrPen

Specifies a combination of the colors in the pen and in the display color, but not in both.

NotMaskPen

Specifies the inverse of MaskPen.

MaskPen

Specifies a combination of the colors that are common to both the pen and the display.

NotXOrPen

Specifies an inverse of XOrPen.

NoOperation

Specifies no operation; the output remains unchanged.

MergeNotPen

Specifies a combination of the display color and the inverse of the pen color.

CopyPen

Specifies the pen color.

This is the default value.

MergePenNot

Specifies a combination of the pen color and the inverse of the display color.

MergePen

Specifies a combination of the pen color and the display color.

White

Specifies a white pen color.

Requirements

Header msinkaut.h
Windows Embedded CE Windows CE 5.0 and later
Windows Mobile Windows Mobile 6 Classic and later, Windows Mobile 6 Professional and later

See Also