|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use DC | |
---|---|
com.jniwrapper.win32.gdi | The com.jniwrapper.win32.gdi package contains classes that provide GDI related functionality. |
com.jniwrapper.win32.ui | The com.jniwrapper.win32.ui package contains auxilious classes for working with native windows,
such as Wnd , which provides you with useful window related functionality, WindowProc ,
which is designed for obtaining native window messages etc. |
com.jniwrapper.win32.ui.dialogs | The com.jniwrapper.win32.ui.dialogs package contains Java wrappers for native dialogs,
such as print dialog, select folder dialog, select color dialog etc. |
Uses of DC in com.jniwrapper.win32.gdi |
---|
Subclasses of DC in com.jniwrapper.win32.gdi | |
---|---|
class |
WindowDC
WindowDC class provides the ability to retrieve a DC from a specified window. |
Methods in com.jniwrapper.win32.gdi that return DC | |
---|---|
static DC |
DC.createCompatibleDC(DC dc)
Creates a compatible DC for a given DC. |
Methods in com.jniwrapper.win32.gdi with parameters of type DC | |
---|---|
boolean |
DC.alphaBlend(int xDest,
int yDest,
int widthDest,
int heightDest,
DC hdcSrc,
int xSrc,
int ySrc,
int widthSrc,
int heightSrc,
BlendFunction blendFunction)
Copies an image with transparent pixels to the destination rectangle of the DC. |
static void |
DC.bitBlt(DC hdcDest,
int xDest,
int yDest,
int width,
int height,
DC hdcSrc,
int xSrc,
int ySrc,
DC.RasterOperation rop)
Performs a bit-block transfer of the color data corresponding to a rectangle of pixels from the specified source device context into a destination device context. |
static DC |
DC.createCompatibleDC(DC dc)
Creates a compatible DC for a given DC. |
void |
Bitmap.createDIBSection(DIBitmap result,
DC hdc,
BitmapInfo bitmapInfo,
int colorModel,
com.jniwrapper.Pointer ppvBits,
Handle hSection,
int dwOffset)
Creates a handle to device independent bitmap (DIB). |
static void |
DC.deleteDC(DC dc)
Deletes the specified DC. |
void |
DC.drawGrayed(DC srcDC,
Rect destRect)
Draws the grayed picture from source DC on the current DC. |
static Point |
Brush.getBrushOrigin(DC hDC)
Retrieves the current brush origin for the specified device context. |
long |
Bitmap.getDIBits(DC dc,
int startScan,
int scanLines,
com.jniwrapper.Pointer.Void bits,
BitmapInfo bitmapInfo,
int colorModelType)
Returns bits of a bitmap. |
long |
Bitmap.getDIBits(DC dc,
int startScan,
int scanLines,
com.jniwrapper.Pointer bits,
BitmapInfo bitmapInfo,
int colorModelType)
Returns bits of a bitmap. |
Size |
DC.getTextExtentPoint32(DC dc,
java.lang.String str)
Returns the size of a specified text. |
static Point |
Brush.setBrushOrigin(DC hDC,
int xOrg,
int yOrg)
Sets the brush origin that GDI assigns to the next brush which an application selects into the specified device context. |
static ColorRef |
DC.setDCBrushColor(DC hDC,
ColorRef clrref)
This method sets the current device context (DC) brush color to the specified color value. |
ColorRef |
DC.setDCPenColor(DC hDC,
ColorRef colorRef)
This method sets the current device context (DC) pen color to the specified color value or the nearest to the specified color value in case when the device cannot set the specified color value. |
long |
Bitmap.setDIBits(DC dc,
int startScan,
int scanLines,
com.jniwrapper.Pointer bits,
BitmapInfo bitmapInfo,
int colorModelType)
Sets bits for a bitmap. |
static boolean |
DC.stretchBlt(DC hDCDest,
int xOriginDest,
int yOriginDest,
int widthDest,
int heightDest,
DC hDCSrc,
int xOriginSrc,
int yOriginSrc,
int widthSrc,
int heightSrc,
DC.RasterOperation rasterOp)
Copies a bitmap from a source rectangle into a destination rectangle, stretching or shrinking to fit the dimensions of the destination rectangle, if necessary. |
DDBitmap |
DIBitmap.toDDBitmap(DC dc)
Creates and returns instance of the DDBitmap , initialized by this bitmap |
Constructors in com.jniwrapper.win32.gdi with parameters of type DC | |
---|---|
DDBitmap(DC dc,
Bitmap.PredefinedBitmap predefinedBitmap)
|
|
DDBitmap(DC dc,
DIBitmap diBitmap)
|
|
DDBitmap(DC dc,
java.awt.Image image)
|
|
DDBitmap(DC dc,
int width,
int height)
|
|
DDBitmap(DC dc,
java.lang.String fileName)
|
Uses of DC in com.jniwrapper.win32.ui |
---|
Methods in com.jniwrapper.win32.ui that return DC | |
---|---|
DC |
Wnd.beginPaint(PaintStruct paintStruct)
Prepares a specified window for painting. |
Uses of DC in com.jniwrapper.win32.ui.dialogs |
---|
Methods in com.jniwrapper.win32.ui.dialogs that return DC | |
---|---|
DC |
PrintDlgStructure.getDc()
|
Methods in com.jniwrapper.win32.ui.dialogs with parameters of type DC | |
---|---|
void |
PrintDlgStructure.setDc(DC dc)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |