Nuta
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować się zalogować lub zmienić katalog.
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować zmienić katalogi.
Defines values for performing raster operations on drawn ink.
Syntax
typedef 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
} ;
Constants
IRO_BlackValue: 1 Black pen color. |
IRO_NotMergePenValue: 2 The inverse of MergePen. |
IRO_MaskNotPenValue: 3 A combination of the colors that are common to the background color and the inverse of the pen. |
IRO_NotCopyPenValue: 4 The inverse of CopyPen. |
IRO_MaskPenNotValue: 5 A combination of the colors that are common to both the pen and the inverse of the display. |
IRO_NotValue: 6 The inverse of the display color. |
IRO_XOrPenValue: 7 A combination of the colors in the pen and in the display color, but not in both. |
IRO_NotMaskPenValue: 8 The inverse of MaskPen. |
IRO_MaskPenValue: 9 A combination of the colors that are common to both the pen and the display. |
IRO_NotXOrPenValue: 10 An inverse of XOrPen. |
IRO_NoOperationValue: 11 No operation; the output remains unchanged. |
IRO_MergeNotPenValue: 12 A combination of the display color and the inverse of the pen color. |
IRO_CopyPenValue: 13 The pen color. This is the default value. |
IRO_MergePenNotValue: 14 A combination of the pen color and the inverse of the display color. |
IRO_MergePenValue: 15 A combination of the pen color and the display color. |
IRO_WhiteValue: 16 A white pen color. |
Remarks
Use these values to set the value for the RasterOperation drawing attribute. Any object with a DrawingAttributes property can have this value set.
Note Many printers do not support many of the available raster operations. Because of this, the colors you see on the display may be different from the colors that you would see if they were printed on paper. This is directly related to the printer drivers or printer hardware. You may need to experiment to determine which printers can produce the correct output when various raster operations are set on ink.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows XP Tablet PC Edition [desktop apps only] |
| Minimum supported server | None supported |
| Header | msinkaut.h |