Developers
Developers
Bitmap Copy Method Constants (GDI32)
/// <summary>
/// Copies the source rectangle directly to the destination rectangle.
/// </summary>
public const int SRCCOPY = (int)0x00CC0020;

/// <summary>
/// Combines the colors of the source and destination rectangles by using the
/// Boolean OR operator.
/// </summary>
public const int SRCPAINT = (int)0x00EE0086;

/// <summary>
/// Combines the colors of the source and destination rectangles by using the
/// Boolean AND operator.
/// </summary>
public const int SRCAND = (int)0x008800C6;

/// <summary>
/// Combines the colors of the source and destinwation rectangles by using the
/// Boolean XOR operator.
/// </summary>
public const int SRCINVERT = (int)0x00660046;

/// <summary>
/// Combines the inverted colors of the destination rectangle with the colors
/// of the source rectangle by using the Boolean AND operator.
/// </summary>
public const int SRCERASE = (int)0x00440328;

/// <summary>
/// Copies the inverted source rectangle to the destination.
/// </summary>
public const int NOTSRCCOPY = (int)0x00330008;

/// <summary>
/// Combines the colors of the source and destination rectangles by using the
/// Boolean OR operator and then inverts the resultant color.
/// </summary>
public const int NOTSRCERASE = (int)0x001100A6;

/// <summary>
/// Merges the colors of the source rectangle with the brush currently
/// selected in hdcDest, by using the Boolean AND operator.
/// </summary>
public const int MERGECOPY = (int)0x00C000CA;

/// <summary>
/// Merges the colors of the inverted source rectangle with the colors of the
/// destination rectangle by using the Boolean OR operator.
/// </summary>
public const int MERGEPAINT = (int)0x00BB0226;

/// <summary>
/// Copies the brush currently selected in hdcDest, into the destination
/// bitmap.
/// </summary>
public const int PATCOPY = (int)0x00F00021;

/// <summary>
/// Combines the colors of the brush currently selected in hdcDest, with
/// the colors of the inverted source rectangle by using the Boolean OR
/// operator. The result of this operation is combined with the colors of the
/// destination rectangle by using the Boolean OR operator.
/// </summary>
public const int PATPAINT = (int)0x00FB0A09;

/// <summary>
/// Combines the colors of the brush currently selected in hdcDest,
/// with the colors of the destination rectangle by using the Boolean XOR
/// operator.
/// </summary>
public const int PATINVERT = (int)0x005A0049;

/// <summary>
/// Inverts the destination rectangle.
/// </summary>
public const int DSTINVERT = (int)0x00550009;

/// <summary>
/// Fills the destination rectangle using the color associated with index 0
/// in the physical palette. (This color is black for the default physical
/// palette).
/// </summary>
public const int BLACKNESS = (int)0x00000042;

/// <summary>
/// Fills the destination rectangle using the color associated with index 1
/// in the physical palette. (This color is white for the default physical
/// palette.).
/// </summary>
public const int WHITENESS = (int)0x00FF0062;

/// <summary>
/// Prevents the bitmap from being mirrored.
/// </summary>
public const int NOMIRRORBITMAP = unchecked( (int)0x80000000 );

/// <summary>
/// Includes any windows that are layered on top of your window in the
/// resulting image. By default, the image only contains your window.
/// Note that this generally cannot be used for printing device contexts.
/// </summary>
public const int CAPTUREBLT = (int)0x40000000;

Back To Constants Index
Send Comments And FeedBack     Contact Us     Terms Of Use    Privacy Statement   
All items on this site are Copyright © 2006 by Sam Jones and Adaptive Intelligence. All rights reserved.