com.jniwrapper.win32.gdi
Class DC.RasterOperation

java.lang.Object
  extended by com.jniwrapper.util.EnumItem
      extended by com.jniwrapper.win32.gdi.DC.RasterOperation
Enclosing class:
DC

public static class DC.RasterOperation
extends com.jniwrapper.util.EnumItem

The RasterOperation class represents the enumeration of raster operations.


Field Summary
static DC.RasterOperation BLACKNESS
          Fills the destination rectangle using the color associated with index 0 in the physical palette.
static DC.RasterOperation CAPTUREBLT
          Windows 98/Me, Windows 2000/XP: Includes any windows that are layered on top of your window in the resulting image.
static DC.RasterOperation DSTINVERT
          Inverts the destination rectangle.
static DC.RasterOperation MERGECOPY
          Merges the colors of the source rectangle with the brush currently selected in hdcDest, by using the Boolean AND operator.
static DC.RasterOperation MERGEPAINT
          Merges the colors of the inverted source rectangle with the colors of the destination rectangle by using the Boolean OR operator.
static DC.RasterOperation NOMIRRORBITMAP
          Windows 98/Me, Windows 2000/XP: Prevents the bitmap from being mirrored.
static DC.RasterOperation NOTSRCCOPY
          Copies the inverted source rectangle to the destination.
static DC.RasterOperation NOTSRCERASE
          Combines the colors of the source and destination rectangles by using the Boolean OR operator and then inverts the resultant color.
static DC.RasterOperation PATCOPY
          Copies the brush currently selected in hdcDest, into the destination bitmap.
static DC.RasterOperation PATINVERT
          Combines the colors of the brush currently selected in hdcDest, with the colors of the destination rectangle by using the Boolean XOR operator.
static DC.RasterOperation PATPAINT
          Combines the colors of the brush currently selected in hdcDest, with the colors of the inverted source rectangle by using the Boolean OR operator.
static DC.RasterOperation SRCAND
          Combines the colors of the source and destination rectangles by using the Boolean AND operator.
static DC.RasterOperation SRCCOPY
          Copies the source rectangle directly to the destination rectangle.
static DC.RasterOperation SRCERASE
          Combines the inverted colors of the destination rectangle with the colors of the source rectangle by using the Boolean AND operator.
static DC.RasterOperation SRCINVERT
          Combines the colors of the source and destination rectangles by using the Boolean XOR operator.
static DC.RasterOperation SRCPAINT
          Combines the colors of the source and destination rectangles by using the Boolean OR operator.
static DC.RasterOperation WHITENESS
          Fills the destination rectangle using the color associated with index 1 in the physical palette.
 
Method Summary
static DC.RasterOperation or(DC.RasterOperation[] operations)
          Represnts the OR operation.
 
Methods inherited from class com.jniwrapper.util.EnumItem
equals, getLongValue, getValue, hashCode, isOneOf
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BLACKNESS

public static final DC.RasterOperation BLACKNESS
Fills the destination rectangle using the color associated with index 0 in the physical palette. (This color is black for the default physical palette.)


CAPTUREBLT

public static final DC.RasterOperation CAPTUREBLT
Windows 98/Me, Windows 2000/XP: 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.


DSTINVERT

public static final DC.RasterOperation DSTINVERT
Inverts the destination rectangle.


MERGECOPY

public static final DC.RasterOperation MERGECOPY
Merges the colors of the source rectangle with the brush currently selected in hdcDest, by using the Boolean AND operator.


MERGEPAINT

public static final DC.RasterOperation MERGEPAINT
Merges the colors of the inverted source rectangle with the colors of the destination rectangle by using the Boolean OR operator.


NOMIRRORBITMAP

public static final DC.RasterOperation NOMIRRORBITMAP
Windows 98/Me, Windows 2000/XP: Prevents the bitmap from being mirrored.


NOTSRCCOPY

public static final DC.RasterOperation NOTSRCCOPY
Copies the inverted source rectangle to the destination.


NOTSRCERASE

public static final DC.RasterOperation NOTSRCERASE
Combines the colors of the source and destination rectangles by using the Boolean OR operator and then inverts the resultant color.


PATCOPY

public static final DC.RasterOperation PATCOPY
Copies the brush currently selected in hdcDest, into the destination bitmap.


PATINVERT

public static final DC.RasterOperation PATINVERT
Combines the colors of the brush currently selected in hdcDest, with the colors of the destination rectangle by using the Boolean XOR operator.


PATPAINT

public static final DC.RasterOperation PATPAINT
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.


SRCAND

public static final DC.RasterOperation SRCAND
Combines the colors of the source and destination rectangles by using the Boolean AND operator.


SRCCOPY

public static final DC.RasterOperation SRCCOPY
Copies the source rectangle directly to the destination rectangle.


SRCERASE

public static final DC.RasterOperation SRCERASE
Combines the inverted colors of the destination rectangle with the colors of the source rectangle by using the Boolean AND operator.


SRCINVERT

public static final DC.RasterOperation SRCINVERT
Combines the colors of the source and destination rectangles by using the Boolean XOR operator.


SRCPAINT

public static final DC.RasterOperation SRCPAINT
Combines the colors of the source and destination rectangles by using the Boolean OR operator.


WHITENESS

public static final DC.RasterOperation WHITENESS
Fills the destination rectangle using the color associated with index 1 in the physical palette. (This color is white for the default physical palette.)

Method Detail

or

public static DC.RasterOperation or(DC.RasterOperation[] operations)
Represnts the OR operation.