winGDI module
When working on this file, consider moving to winAPI.
- class winGDI.RGBQUAD
Bases:
Structure
- _fields_ = [('rgbBlue', <class 'ctypes.c_ubyte'>), ('rgbGreen', <class 'ctypes.c_ubyte'>), ('rgbRed', <class 'ctypes.c_ubyte'>), ('rgbReserved', <class 'ctypes.c_ubyte'>)]
- rgbBlue
Structure/Union member
- rgbGreen
Structure/Union member
- rgbRed
Structure/Union member
- rgbReserved
Structure/Union member
- class winGDI.BITMAPINFOHEADER
Bases:
Structure
- _fields_ = [('biSize', <class 'ctypes.c_ulong'>), ('biWidth', <class 'ctypes.c_long'>), ('biHeight', <class 'ctypes.c_long'>), ('biPlanes', <class 'ctypes.c_ushort'>), ('biBitCount', <class 'ctypes.c_ushort'>), ('biCompression', <class 'ctypes.c_ushort'>), ('biSizeImage', <class 'ctypes.c_ulong'>), ('biXPelsPerMeter', <class 'ctypes.c_long'>), ('biYPelsPerMeter', <class 'ctypes.c_long'>), ('biClrUsed', <class 'ctypes.c_ulong'>), ('biClrImportant', <class 'ctypes.c_ulong'>)]
- biBitCount
Structure/Union member
- biClrImportant
Structure/Union member
- biClrUsed
Structure/Union member
- biCompression
Structure/Union member
- biHeight
Structure/Union member
- biPlanes
Structure/Union member
- biSize
Structure/Union member
- biSizeImage
Structure/Union member
- biWidth
Structure/Union member
- biXPelsPerMeter
Structure/Union member
- biYPelsPerMeter
Structure/Union member
- class winGDI.BITMAPINFO
Bases:
Structure
- _fields_ = [('bmiHeader', <class 'winGDI.BITMAPINFOHEADER'>), ('bmiColors', <class 'winGDI.RGBQUAD_Array_1'>)]
- bmiColors
Structure/Union member
- bmiHeader
Structure/Union member
- class winGDI.GdiplusStartupInput
Bases:
Structure
- _fields_ = [('GdiplusVersion', <class 'ctypes.c_ulong'>), ('DebugEventCallback', <class 'ctypes.c_void_p'>), ('SuppressBackgroundThread', <class 'ctypes.c_long'>), ('SuppressExternalCodecs', <class 'ctypes.c_long'>)]
- DebugEventCallback
Structure/Union member
- GdiplusVersion
Structure/Union member
- SuppressBackgroundThread
Structure/Union member
- SuppressExternalCodecs
Structure/Union member
- class winGDI.GdiplusStartupOutput
Bases:
Structure
- _fields = [('NotificationHookProc', <class 'ctypes.c_void_p'>), ('NotificationUnhookProc', <class 'ctypes.c_void_p'>)]
- winGDI.gdiPlusInitialize()
- winGDI.gdiPlusTerminate()
- winGDI.GDIPlusGraphicsContext(hdc)
Creates a GDI+ graphics context from a device context handle.
- winGDI.GDIPlusPen(color, width, dashStyle=0)
Creates a GDI+ pen that is automatically destroyed when finished drawing. @param color: an ARGB color. @type color: int @param width: The width of the pen, in pixels. @type width: int @param dashStyle: The style of the line(s) to be drawn.
This is one of the C{DashStyle*} constants. Defaults to C{DashStyleSolid}, which draws solid lines.
@type dashStyle: int
- winGDI.gdiPlusDrawRectangle(gpGraphics, gpPen, left, top, width, height)