com.sun.jna.examples.win32

Interface GDI32

public interface GDI32 extends W32API

Definition (incomplete) of gdi32.dll.
Nested Class Summary
static classGDI32.BITMAPINFO
static classGDI32.BITMAPINFOHEADER
static classGDI32.RECT
static classGDI32.RGBQUAD
static classGDI32.RGNDATA
static classGDI32.RGNDATAHEADER
Field Summary
intALTERNATE
intBI_BITFIELDS
intBI_JPEG
intBI_PNG
intBI_RGB
intBI_RLE4
intBI_RLE8
intCOMPLEXREGION
intDIB_PAL_COLORS
intDIB_RGB_COLORS
intERROR
GDI32INSTANCE
intNULLREGION
intRDH_RECTANGLES
intRGN_AND
intRGN_COPY
intRGN_DIFF
intRGN_OR
intRGN_XOR
intSIMPLEREGION
intWINDING
Method Summary
intCombineRgn(HRGN hrgnDest, HRGN hrgnSrc1, HRGN hrgnSrc2, int fnCombineMode)
HBITMAPCreateCompatibleBitmap(HDC hDC, int width, int height)
HDCCreateCompatibleDC(HDC hDC)
HBITMAPCreateDIBitmap(HDC hDC, GDI32.BITMAPINFOHEADER lpbmih, int fdwInit, Pointer lpbInit, GDI32.BITMAPINFO lpbmi, int fuUsage)
HBITMAPCreateDIBSection(HDC hDC, GDI32.BITMAPINFO pbmi, int iUsage, PointerByReference ppvBits, Pointer hSection, int dwOffset)
HRGNCreatePolyPolygonRgn(User32.POINT[] lppt, int[] lpPolyCounts, int nCount, int fnPolyFillMode)
HRGNCreateRectRgn(int nLeftRect, int nTopRect, int nRightRect, int nBottomRect)
HRGNCreateRoundRectRgn(int nLeftRect, int nTopRect, int nRightRect, int nBottomRect, int nWidthEllipse, int nHeightEllipse)
booleanDeleteDC(HDC hDC)
booleanDeleteObject(HANDLE p)
HRGNExtCreateRegion(Pointer lpXform, int nCount, GDI32.RGNDATA lpRgnData)
HANDLESelectObject(HDC hDC, HANDLE hGDIObj)
intSetPixel(HDC hDC, int x, int y, int crColor)
booleanSetRectRgn(HRGN hrgn, int nLeftRect, int nTopRect, int nRightRect, int nBottomRect)

Field Detail

ALTERNATE

public int ALTERNATE

BI_BITFIELDS

public int BI_BITFIELDS

BI_JPEG

public int BI_JPEG

BI_PNG

public int BI_PNG

BI_RGB

public int BI_RGB

BI_RLE4

public int BI_RLE4

BI_RLE8

public int BI_RLE8

COMPLEXREGION

public int COMPLEXREGION

DIB_PAL_COLORS

public int DIB_PAL_COLORS

DIB_RGB_COLORS

public int DIB_RGB_COLORS

ERROR

public int ERROR

INSTANCE

public GDI32 INSTANCE

NULLREGION

public int NULLREGION

RDH_RECTANGLES

public int RDH_RECTANGLES

RGN_AND

public int RGN_AND

RGN_COPY

public int RGN_COPY

RGN_DIFF

public int RGN_DIFF

RGN_OR

public int RGN_OR

RGN_XOR

public int RGN_XOR

SIMPLEREGION

public int SIMPLEREGION

WINDING

public int WINDING

Method Detail

CombineRgn

public int CombineRgn(HRGN hrgnDest, HRGN hrgnSrc1, HRGN hrgnSrc2, int fnCombineMode)

CreateCompatibleBitmap

public HBITMAP CreateCompatibleBitmap(HDC hDC, int width, int height)

CreateCompatibleDC

public HDC CreateCompatibleDC(HDC hDC)

CreateDIBitmap

public HBITMAP CreateDIBitmap(HDC hDC, GDI32.BITMAPINFOHEADER lpbmih, int fdwInit, Pointer lpbInit, GDI32.BITMAPINFO lpbmi, int fuUsage)

CreateDIBSection

public HBITMAP CreateDIBSection(HDC hDC, GDI32.BITMAPINFO pbmi, int iUsage, PointerByReference ppvBits, Pointer hSection, int dwOffset)

CreatePolyPolygonRgn

public HRGN CreatePolyPolygonRgn(User32.POINT[] lppt, int[] lpPolyCounts, int nCount, int fnPolyFillMode)

CreateRectRgn

public HRGN CreateRectRgn(int nLeftRect, int nTopRect, int nRightRect, int nBottomRect)

CreateRoundRectRgn

public HRGN CreateRoundRectRgn(int nLeftRect, int nTopRect, int nRightRect, int nBottomRect, int nWidthEllipse, int nHeightEllipse)

DeleteDC

public boolean DeleteDC(HDC hDC)

DeleteObject

public boolean DeleteObject(HANDLE p)

ExtCreateRegion

public HRGN ExtCreateRegion(Pointer lpXform, int nCount, GDI32.RGNDATA lpRgnData)

SelectObject

public HANDLE SelectObject(HDC hDC, HANDLE hGDIObj)

SetPixel

public int SetPixel(HDC hDC, int x, int y, int crColor)

SetRectRgn

public boolean SetRectRgn(HRGN hrgn, int nLeftRect, int nTopRect, int nRightRect, int nBottomRect)
Copyright © 2007-2009 Timothy Wall. All Rights Reserved.