com.jniwrapper.win32.gdi
Class WindowDC

java.lang.Object
  extended bycom.jniwrapper.Parameter
      extended bycom.jniwrapper.Pointer.Void
          extended bycom.jniwrapper.win32.Handle
              extended bycom.jniwrapper.win32.gdi.DC
                  extended bycom.jniwrapper.win32.gdi.WindowDC
All Implemented Interfaces:
com.jniwrapper.IntegerParameter, com.jniwrapper.PointerParameter

public class WindowDC
extends DC

WindowDC class provides the ability to retrieve a DC from a specified window.


Nested Class Summary
 
Nested classes inherited from class com.jniwrapper.win32.gdi.DC
DC.MappingMode, DC.RasterOperation
 
Field Summary
 
Fields inherited from class com.jniwrapper.win32.gdi.DC
BKMODE_LAST, BKMODE_OPAQUE, BKMODE_TRANSPARENT, DC_PEN, DT_RIGHT, GRADIENT_FILL_RECT_H, GRADIENT_FILL_RECT_V
 
Fields inherited from class com.jniwrapper.win32.Handle
INFINITE_TIMEOUT, INVALID_HANDLE_VALUE, STATUS_ABANDONED_WAIT_0, STATUS_TIMEOUT, STATUS_WAIT_0
 
Fields inherited from class com.jniwrapper.Parameter
LICENSE_TYPE, V
 
Constructor Summary
WindowDC(long value)
           
WindowDC(Wnd wnd)
           
 
Method Summary
static WindowDC getWindowDC(Wnd wnd)
           
 void release()
          Releases the current DC by calling its delete method.
 
Methods inherited from class com.jniwrapper.win32.gdi.DC
alphaBlend, bitBlt, createCompatibleDC, deleteDC, drawGrayed, drawIcon, drawIconEx, drawRectangle, drawText, fillRect, fillRectangle, fillRegion, frameRegion, getDeviceCaps, getPixel, getPolyFillMode, getTextExtentPoint32, gradientFill, intersectClipRect, invertRegion, lineTo, maskBlt, moveTo, paintBitmap, paintOpaqueBitmap, paintRegion, patBlt, rectangle, roundRect, selectClipRgn, selectObject, selectObject, selectObject, selectObject, selectObject, setBkColor, setBkMode, setDCBrushColor, setDCPenColor, setMapMode, setPolyFillMode, setTextColor, stretchBlt, textOut, transparentBlt
 
Methods inherited from class com.jniwrapper.win32.Handle
clone, closeHandle, equals, waitFor, waitFor
 
Methods inherited from class com.jniwrapper.Pointer.Void
asFunction, asFunction, asTypedPointer, castTo, getDebugInfo, getLength, getValue, hashCode, isNull, read, setValue, toString, write
 
Methods inherited from class com.jniwrapper.Parameter
, a, a, acceptIOPerformer, asReturnValue, b, dataBufferAssigned, getAlignedLength, getAlignmentRequirement, getDataBuffer, getDataBufferOffset, indent, pop, push, read, read, setDataBuffer, toByteArray, write
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WindowDC

public WindowDC(long value)

WindowDC

public WindowDC(Wnd wnd)
Method Detail

release

public void release()
Description copied from class: DC
Releases the current DC by calling its delete method.

Overrides:
release in class DC

getWindowDC

public static WindowDC getWindowDC(Wnd wnd)