Documentation ¶
Rendered for windows/amd64
Index ¶
- Constants
- func WglCopyContext(hglrcSrc, hglrcDst HGLRC, mask uint) bool
- func WglDeleteContext(hglrc HGLRC) bool
- func WglDescribeLayerPlane(hdc gdi32.HDC, iPixelFormat, iLayerPlane int, nBytes uint8, ...) bool
- func WglGetCurrentDC() gdi32.HDC
- func WglGetLayerPaletteEntries(hdc gdi32.HDC, iLayerPlane, iStart, cEntries int, pcr *gdi32.COLORREF) int
- func WglGetProcAddress(lpszProc *byte) uintptr
- func WglMakeCurrent(hdc gdi32.HDC, hglrc HGLRC) bool
- func WglRealizeLayerPalette(hdc gdi32.HDC, iLayerPlane int, bRealize bool) bool
- func WglSetLayerPaletteEntries(hdc gdi32.HDC, iLayerPlane, iStart, cEntries int, pcr *gdi32.COLORREF) int
- func WglShareLists(hglrc1, hglrc2 HGLRC) bool
- func WglSwapLayerBuffers(hdc gdi32.HDC, fuPlanes uint) bool
- func WglUseFontBitmaps(hdc gdi32.HDC, first, count, listbase uint32) bool
- func WglUseFontOutlines(hdc gdi32.HDC, first, count, listbase uint32, deviation, extrusion float32, ...) bool
- type GLYPHMETRICSFLOAT
- type HGLRC
- type LAYERPLANEDESCRIPTOR
- type POINTFLOAT
Constants ¶
View Source
const ( WGL_SWAP_MAIN_PLANE = (1 << 0) WGL_SWAP_OVERLAY1 = (1 << 1) WGL_SWAP_OVERLAY2 = (1 << 2) WGL_SWAP_OVERLAY3 = (1 << 3) WGL_SWAP_OVERLAY4 = (1 << 4) WGL_SWAP_OVERLAY5 = (1 << 5) WGL_SWAP_OVERLAY6 = (1 << 6) WGL_SWAP_OVERLAY7 = (1 << 7) WGL_SWAP_OVERLAY8 = (1 << 8) WGL_SWAP_OVERLAY9 = (1 << 9) WGL_SWAP_OVERLAY10 = (1 << 10) WGL_SWAP_OVERLAY11 = (1 << 11) WGL_SWAP_OVERLAY12 = (1 << 12) WGL_SWAP_OVERLAY13 = (1 << 13) WGL_SWAP_OVERLAY14 = (1 << 14) WGL_SWAP_OVERLAY15 = (1 << 15) WGL_SWAP_UNDERLAY1 = (1 << 16) WGL_SWAP_UNDERLAY2 = (1 << 17) WGL_SWAP_UNDERLAY3 = (1 << 18) WGL_SWAP_UNDERLAY4 = (1 << 19) WGL_SWAP_UNDERLAY5 = (1 << 20) WGL_SWAP_UNDERLAY6 = (1 << 21) WGL_SWAP_UNDERLAY7 = (1 << 22) WGL_SWAP_UNDERLAY8 = (1 << 23) WGL_SWAP_UNDERLAY9 = (1 << 24) WGL_SWAP_UNDERLAY10 = (1 << 25) WGL_SWAP_UNDERLAY11 = (1 << 26) WGL_SWAP_UNDERLAY12 = (1 << 27) WGL_SWAP_UNDERLAY13 = (1 << 28) WGL_SWAP_UNDERLAY14 = (1 << 29) WGL_SWAP_UNDERLAY15 = (1 << 30) )
for second parameter of WglSwapLayerBuffers
Variables ¶
This section is empty.
Functions ¶
func WglCopyContext ¶
func WglDeleteContext ¶
func WglDescribeLayerPlane ¶
func WglGetCurrentDC ¶
func WglGetProcAddress ¶
func WglRealizeLayerPalette ¶
func WglShareLists ¶
func WglUseFontOutlines ¶
Types ¶
type GLYPHMETRICSFLOAT ¶
type GLYPHMETRICSFLOAT struct { GmfBlackBoxX float32 GmfBlackBoxY float32 GmfptGlyphOrigin POINTFLOAT GmfCellIncX float32 GmfCellIncY float32 }
type LAYERPLANEDESCRIPTOR ¶
type LAYERPLANEDESCRIPTOR struct { NSize uint16 NVersion uint16 DwFlags uint32 IPixelType uint8 CColorBits uint8 CRedBits uint8 CRedShift uint8 CGreenBits uint8 CGreenShift uint8 CBlueBits uint8 CBlueShift uint8 CAlphaBits uint8 CAlphaShift uint8 CAccumBits uint8 CAccumRedBits uint8 CAccumGreenBits uint8 CAccumBlueBits uint8 CAccumAlphaBits uint8 CDepthBits uint8 CStencilBits uint8 CAuxBuffers uint8 ILayerType uint8 BReserved uint8 CrTransparent gdi32.COLORREF }
type POINTFLOAT ¶
type POINTFLOAT struct {
X, Y float32
}
Click to show internal directories.
Click to hide internal directories.