Versions in this module Expand all Collapse all v0 v0.1.2 Jun 25, 2020 v0.1.1 Sep 13, 2019 v0.1.0 Sep 8, 2019 Changes in this version + const ANSI_FIXED_FONT + const ANSI_VAR_FONT + const ASPECTX + const ASPECTXY + const ASPECTY + const BITSPIXEL + const BKMODE_LAST + const BLACKONWHITE + const BLACK_BRUSH + const BLACK_PEN + const BLTALIGNMENT + const BS_DIBPATTERN + const BS_DIBPATTERN8X8 + const BS_DIBPATTERNPT + const BS_HATCHED + const BS_HOLLOW + const BS_INDEXED + const BS_MONOPATTERN + const BS_NULL + const BS_PATTERN + const BS_PATTERN8X8 + const BS_SOLID + const CCHDEVICENAME + const CCHFORMNAME + const CC_CHORD + const CC_CIRCLES + const CC_ELLIPSES + const CC_INTERIORS + const CC_NONE + const CC_PIE + const CC_ROUNDRECT + const CC_STYLED + const CC_WIDE + const CC_WIDESTYLED + const CLIPCAPS + const CM_CMYK_COLOR + const CM_DEVICE_ICM + const CM_GAMMA_RAMP + const CM_NONE + const COLORMGMTCAPS + const COLORONCOLOR + const COLORRES + const CURVECAPS + const DC_BRUSH + const DC_PEN + const DEFAULT_GUI_FONT + const DEFAULT_PALETTE + const DESKTOPHORZRES + const DESKTOPVERTRES + const DEVICE_DEFAULT_FONT + const DKGRAY_BRUSH + const DRIVERVERSION + const DT_CHARSTREAM + const DT_DISPFILE + const DT_METAFILE + const DT_PLOTTER + const DT_RASCAMERA + const DT_RASDISPLAY + const DT_RASPRINTER + const ERROR_FILE_NOT_FOUND + const ERROR_INSUFFICIENT_BUFFER + const ERROR_INVALID_FUNCTION + const ERROR_INVALID_PARAMETER + const ERROR_MORE_DATA + const ERROR_SUCCESS + const GRAY_BRUSH + const HALFTONE + const HOLLOW_BRUSH + const HORZRES + const HORZSIZE + const HS_BDIAGONAL + const HS_CROSS + const HS_DIAGCROSS + const HS_FDIAGONAL + const HS_HORIZONTAL + const HS_VERTICAL + const LC_INTERIORS + const LC_MARKER + const LC_NONE + const LC_POLYLINE + const LC_POLYMARKER + const LC_STYLED + const LC_WIDE + const LC_WIDESTYLED + const LINECAPS + const LOGPIXELSX + const LOGPIXELSY + const LTGRAY_BRUSH + const MAXSTRETCHBLTMODE + const NULL_BRUSH + const NULL_PEN + const NUMBRUSHES + const NUMCOLORS + const NUMFONTS + const NUMMARKERS + const NUMPENS + const NUMRESERVED + const OEM_FIXED_FONT + const OPAQUE + const PC_INTERIORS + const PC_NONE + const PC_PATHS + const PC_POLYGON + const PC_POLYPOLYGON + const PC_RECTANGLE + const PC_SCANLINE + const PC_STYLED + const PC_TRAPEZOID + const PC_WIDE + const PC_WIDESTYLED + const PC_WINDPOLYGON + const PDEVICESIZE + const PHYSICALHEIGHT + const PHYSICALOFFSETX + const PHYSICALOFFSETY + const PHYSICALWIDTH + const PLANES + const POLYGONALCAPS + const PS_ALTERNATE + const PS_COSMETIC + const PS_DASH + const PS_DASHDOT + const PS_DASHDOTDOT + const PS_DOT + const PS_ENDCAP_FLAT + const PS_ENDCAP_MASK + const PS_ENDCAP_ROUND + const PS_ENDCAP_SQUARE + const PS_GEOMETRIC + const PS_INSIDEFRAME + const PS_JOIN_BEVEL + const PS_JOIN_MASK + const PS_JOIN_MITER + const PS_JOIN_ROUND + const PS_NULL + const PS_SOLID + const PS_STYLE_MASK + const PS_TYPE_MASK + const PS_USERSTYLE + const RASTERCAPS + const RC_BANDING + const RC_BITBLT + const RC_BITMAP64 + const RC_DEVBITS + const RC_DIBTODEV + const RC_DI_BITMAP + const RC_FLOODFILL + const RC_GDI20_OUTPUT + const RC_OP_DX_OUTPUT + const RC_PALETTE + const RC_SCALING + const RC_STRETCHBLT + const RC_STRETCHDIB + const SB_CONST_ALPHA + const SB_GRAD_RECT + const SB_GRAD_TRI + const SB_NONE + const SB_PIXEL_ALPHA + const SB_PREMULT_ALPHA + const SCALINGFACTORX + const SCALINGFACTORY + const SHADEBLENDCAPS + const SIZEPALETTE + const STRETCH_ANDSCANS + const STRETCH_DELETESCANS + const STRETCH_HALFTONE + const STRETCH_ORSCANS + const SWP_ASYNCWINDOWPOS + const SWP_DEFERERASE + const SWP_DRAWFRAME + const SWP_FRAMECHANGED + const SWP_HIDEWINDOW + const SWP_NOACTIVATE + const SWP_NOCOPYBITS + const SWP_NOMOVE + const SWP_NOOWNERZORDER + const SWP_NOREDRAW + const SWP_NOREPOSITION + const SWP_NOSENDCHANGING + const SWP_NOSIZE + const SWP_NOZORDER + const SWP_SHOWWINDOW + const SYSTEM_FIXED_FONT + const SYSTEM_FONT + const TC_CP_STROKE + const TC_CR_90 + const TC_CR_ANY + const TC_EA_DOUBLE + const TC_IA_ABLE + const TC_OP_CHARACTER + const TC_OP_STROKE + const TC_RA_ABLE + const TC_RESERVED + const TC_SA_CONTIN + const TC_SA_DOUBLE + const TC_SA_INTEGER + const TC_SCROLLBLT + const TC_SF_X_YINDEP + const TC_SO_ABLE + const TC_UA_ABLE + const TC_VA_ABLE + const TECHNOLOGY + const TEXTCAPS + const TRANSPARENT + const TTF_ABSOLUTE + const TTF_CENTERTIP + const TTF_DI_SETITEM + const TTF_IDISHWND + const TTF_PARSELINKS + const TTF_RTLREADING + const TTF_SUBCLASS + const TTF_TRACK + const TTF_TRANSPARENT + const TTN_FIRST + const TTN_GETDISPINFO + const TTN_LAST + const TTN_LINKCLICK + const TTN_NEEDTEXT + const TTN_POP + const TTN_SHOW + const VERTRES + const VERTSIZE + const VREFRESH + const WHITEONBLACK + const WHITE_BRUSH + const WHITE_PEN + func DeleteDC(hdc HDC) bool + func DeleteObject(hgdiobj HGDIOBJ) bool + func Ellipse(hdc HDC, nLeftRect, nTopRect, nRightRect, nBottomRect int32) bool + func FillRect(hdc HDC, rect *RECT, brush HBRUSH) bool + func GdipCloneBrush(brush *GpBrush, cloneBrush **GpBrush) error + func GdipCreateBitmapFromHBITMAP(hbm HBITMAP, hpal HPALETTE, bitmap **GpBitmap) error + func GdipCreateFont(fontFamily *GpFontFamily, emSize REAL, style int32, unit GpUnit, font **GpFont) error + func GdipCreateFontFamilyFromName(name string, fontCollection *GpFontCollection, fontFamily **GpFontFamily) error + func GdipCreateFromHDC(hdc HDC, graphics **GpGraphics) error + func GdipCreateHBITMAPFromBitmap(bitmap *GpBitmap, hbmReturn *HBITMAP, background ARGB) error + func GdipCreateLineBrush(point1, point2 *GpPoint, color1, color2 ARGB, wrapMode GpWrapMode, ...) error + func GdipCreatePen1(color ARGB, width REAL, unit GpUnit, pen **GpPen) error + func GdipCreateSolidFill(color ARGB, brush **GpSolidFill) error + func GdipCreateStringFormat(formatAttributes int32, language LANGID, format **GpStringFormat) error + func GdipDeleteBrush(brush *GpBrush) error + func GdipDeleteFont(font *GpFont) error + func GdipDeleteFontFamily(fontFamily *GpFontFamily) error + func GdipDeleteGraphics(graphics *GpGraphics) error + func GdipDeletePen(pen *GpPen) error + func GdipDeleteStringFormat(format *GpStringFormat) error + func GdipDisposeImage(image *GpImage) error + func GdipDrawRectangle(graphics *GpGraphics, pen *GpPen, x, y, width, height REAL) error + func GdipDrawString(graphics *GpGraphics, str string, length int32, font *GpFont, ...) error + func GdipFillRectangle(graphics *GpGraphics, brush *GpBrush, x, y, width, height REAL) error + func GdipGetBrushType(brush *GpBrush, brushType *GpBrushType) error + func GdipGetDC(graphics *GpGraphics, hdc *HDC) error + func GdipGetImageEncoders(numEncoders UINT, size UINT, decoders *ImageCodecInfo) error + func GdipGetImageEncodersSize(numEncoders *UINT, size *UINT) error + func GdipGetImageGraphicsContext(image *GpImage, graphics **GpGraphics) error + func GdipGetSolidFillColor(brush **GpSolidFill, color *ARGB) error + func GdipReleaseDC(graphics *GpGraphics, hdc HDC) error + func GdipSaveImageToFile(image *GpImage, filename string, clsidEncoder *CLSID, ...) error + func GdipSetSmoothingMode(graphics *GpGraphics, smoothingMode SmoothingMode) error + func GdipSetSolidFillColor(brush **GpSolidFill, color ARGB) error + func GdipSetStringFormatAlign(format *GpStringFormat, align StringAlignment) error + func GdipSetTextRenderingHint(graphics *GpGraphics, mode TextRenderingHint) error + func GdiplusShutdown() + func GdiplusStartup(input *GdiplusStartupInput, output *GdiplusStartupOutput) error + func GetDeviceCaps(hdc HDC, index int32) int32 + func GetObject(hgdiobj HGDIOBJ, cbBuffer uintptr, lpvObject unsafe.Pointer) int32 + func LineTo(hdc HDC, X, Y int32) bool + func MoveToEx(hdc HDC, x, y int32, lpPoint *POINT) bool + func MultiByteToWideChar(CodePage UINT, dwFlags uint32, lpMultiByteStr *byte, cchMultiByte int32, ...) int32 + func Rectangle(hdc HDC, LeftRect, TopRect, RightRect, BottomRect int32) bool + func ReleaseDC(hwnd HWND, hDC HDC) bool + func SetBkMode(hdc HDC, iBkMode int32) int32 + func SetBrushOrgEx(hdc HDC, nXOrg, nYOrg int32, lppt *POINT) bool + func SetStretchBltMode(hdc HDC, iStretchMode int32) int32 + func WcharPtrToString(p *WCHAR) string + func WideCharToMultiByte(CodePage UINT, dwFlags uint32, lpWideCharStr *WCHAR, cchWideChar int32, ...) int32 + type ARGB uint32 + type ATOM uint16 + type BITMAPINFO struct + BmiColors *RGBQUAD + BmiHeader BITMAPINFOHEADER + type BITMAPINFOHEADER struct + BiBitCount uint16 + BiClrImportant uint32 + BiClrUsed uint32 + BiCompression uint32 + BiHeight int32 + BiPlanes uint16 + BiSize uint32 + BiSizeImage uint32 + BiWidth int32 + BiXPelsPerMeter int32 + BiYPelsPerMeter int32 + type BOOL int32 + type CLSID GUID + func GetEncoderClsid(format string) (clsid *CLSID, index int) + type COLORREF uint32 + type DEVMODE struct + DmBitsPerPel uint32 + DmCollate int16 + DmColor int16 + DmCopies int16 + DmDefaultSource int16 + DmDeviceName [CCHDEVICENAME]uint16 + DmDisplayFlags uint32 + DmDisplayFrequency uint32 + DmDitherType uint32 + DmDriverExtra uint16 + DmDriverVersion uint16 + DmDuplex int16 + DmFields uint32 + DmFormName [CCHFORMNAME]uint16 + DmICMIntent uint32 + DmICMMethod uint32 + DmLogPixels uint16 + DmMediaType uint32 + DmOrientation int16 + DmPanningHeight uint32 + DmPanningWidth uint32 + DmPaperLength int16 + DmPaperSize int16 + DmPaperWidth int16 + DmPelsHeight uint32 + DmPelsWidth uint32 + DmPrintQuality int16 + DmReserved1 uint32 + DmReserved2 uint32 + DmScale int16 + DmSize uint16 + DmSpecVersion uint16 + DmTTOption int16 + DmYResolution int16 + type DWM_FRAME_COUNT uint64 + type DWORD uint32 + type EncoderParameter struct + Guid GUID + NumberOfValues ULONG + type EncoderParameters struct + Count UINT + Parameter EncoderParameter + type GUID struct + Data1 uint32 + Data2 uint16 + Data3 uint16 + Data4 [8]byte + type GdiplusStartupInput struct + DebugEventCallback uintptr + GdiplusVersion uint32 + SuppressBackgroundThread BOOL + SuppressExternalCodecs BOOL + type GdiplusStartupOutput struct + NotificationHook uintptr + NotificationUnhook uintptr + type GpBitmap struct + type GpBrush struct + type GpBrushType int32 + const BrushTypeHatchFill + const BrushTypeLinearGradient + const BrushTypePathGradient + const BrushTypeSolidColor + const BrushTypeTextureFill + type GpFont struct + type GpFontCollection struct + type GpFontFamily struct + type GpGraphics struct + type GpImage struct + type GpLineGradient struct + type GpPen struct + type GpPoint struct + X REAL + Y REAL + type GpSolidFill struct + type GpStatus int32 + const Aborted + const AccessDenied + const FileNotFound + const FontFamilyNotFound + const FontStyleNotFound + const GdiplusNotInitialized + const GenericError + const InsufficientBuffer + const InvalidParameter + const NotImplemented + const NotTrueTypeFont + const ObjectBusy + const Ok + const OutOfMemory + const ProfileNotFound + const PropertyNotFound + const PropertyNotSupported + const UnknownImageFormat + const UnsupportedGdiplusVersion + const ValueOverflow + const Win32Error + const WrongState + func (s GpStatus) String() string + type GpStringFormat struct + type GpUnit int32 + const UnitDisplay + const UnitDocument + const UnitInch + const UnitMillimeter + const UnitPixel + const UnitPoint + const UnitWorld + type GpWrapMode int32 + const WrapModeClamp + const WrapModeTile + const WrapModeTileFlipX + const WrapModeTileFlipXY + const WrapModeTileFlipY + type HACCEL HANDLE + type HANDLE uintptr + type HBITMAP HANDLE + func CreateBitmap(nWidth, nHeight int32, cPlanes, cBitsPerPel uint32, lpvBits unsafe.Pointer) HBITMAP + func CreateCompatibleBitmap(hdc HDC, width, height uint32) HBITMAP + type HBRUSH HANDLE + func CreateBrushIndirect(lplb *LOGBRUSH) HBRUSH + func CreateSolidBrush(color COLORREF) HBRUSH + type HCURSOR HANDLE + type HDC HANDLE + func CreateCompatibleDC(hdc HDC) HDC + func CreateDC(lpszDriver, lpszDevice, lpszOutput *uint16, lpInitData *DEVMODE) HDC + type HDROP HANDLE + type HDWP HANDLE + type HENHMETAFILE HANDLE + type HFONT HANDLE + type HGDIOBJ HANDLE + func GetStockObject(fnObject int32) HGDIOBJ + func SelectObject(hdc HDC, hgdiobj HGDIOBJ) HGDIOBJ + type HGLOBAL HANDLE + type HGLRC HANDLE + type HHOOK HANDLE + type HICON HANDLE + type HIMAGELIST HANDLE + type HINSTANCE HANDLE + type HKEY HANDLE + type HKL HANDLE + type HMENU HANDLE + type HMODULE HANDLE + type HMONITOR HANDLE + type HPALETTE HANDLE + type HPEN HANDLE + func CreatePen(PenStyle, Width int32, color COLORREF) HPEN + func ExtCreatePen(dwPenStyle, dwWidth uint32, lplb *LOGBRUSH, dwStyleCount uint32, ...) HPEN + type HRESULT int32 + type HRGN HANDLE + type HRSRC HANDLE + type HTHUMBNAIL HANDLE + type HWND HANDLE + type ImageCodecInfo struct + Clsid CLSID + CodecName *WCHAR + DllName *WCHAR + FilenameExtension *WCHAR + Flags uint32 + FormatDescription *WCHAR + FormatID GUID + MimeType *WCHAR + SigCount uint32 + SigMask *byte + SigPattern *byte + SigSize uint32 + Version uint32 + type LANGID uint16 + const LANG_NEUTRAL + type LOGBRUSH struct + LbColor COLORREF + LbHatch uintptr + LbStyle uint32 + type LPARAM uintptr + type LPCVOID unsafe.Pointer + type LRESULT uintptr + type POINT struct + X int32 + Y int32 + type PVOID unsafe.Pointer + type PWCHAR *uint16 + type QPC_TIME uint64 + type QualityMode int32 + const QualityModeDefault + const QualityModeHigh + const QualityModeInvalid + const QualityModeLow + type REAL float32 + type RECT struct + Bottom int32 + Left int32 + Right int32 + Top int32 + type RGBQUAD struct + RgbBlue byte + RgbGreen byte + RgbRed byte + RgbReserved byte + type RectF struct + Hright REAL + Width REAL + X REAL + Y REAL + type SmoothingMode int32 + const SmoothingModeAntiAlias + const SmoothingModeAntiAlias8x4 + const SmoothingModeAntiAlias8x8 + const SmoothingModeDefault + const SmoothingModeHighQuality + const SmoothingModeHighSpeed + const SmoothingModeInvalid + const SmoothingModeNone + type StringAlignment int32 + const StringAlignmentCenter + const StringAlignmentFar + const StringAlignmentNear + type StringFormatFlags int32 + const StringFormatFlagsDirectionRightToLeft + const StringFormatFlagsDirectionVertical + const StringFormatFlagsDisplayFormatControl + const StringFormatFlagsLineLimit + const StringFormatFlagsMeasureTrailingSpaces + const StringFormatFlagsNoClip + const StringFormatFlagsNoFitBlackBox + const StringFormatFlagsNoFontFallback + const StringFormatFlagsNoWrap + type TRACEHANDLE uintptr + type TextRenderingHint int32 + const TextRenderingHintAntiAlias + const TextRenderingHintAntiAliasGridFit + const TextRenderingHintClearTypeGridFit + const TextRenderingHintSingleBitPerPixel + const TextRenderingHintSingleBitPerPixelGridFit + const TextRenderingHintSystemDefault + type UINT uint32 + type ULONG uint32 + type ULONG_PTR uintptr + type WCHAR uint16 + func StringToWcharPtr(str string) *WCHAR + type WORD uint16 + type WPARAM uintptr