⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 gdi_8h.htm

📁 MINIGUI1.6开发API
💻 HTM
📖 第 1 页 / 共 5 页
字号:
<dl class="el"><dd class="mdescRight">Is an alias of <em>ClipRgnCopy</em>.  <a href="group__region__fns.htm#ga34"></a><br></dl><li>#define <a class="el" href="group__region__fns.htm#ga35">IntersectRegion</a>&nbsp;&nbsp;&nbsp;ClipRgnIntersect<dl class="el"><dd class="mdescRight">Is an alias of <em>ClipRgnIntersect</em>.  <a href="group__region__fns.htm#ga35"></a><br></dl><li>#define <a class="el" href="group__dc__fns.htm#ga22">HDC_SCREEN</a>&nbsp;&nbsp;&nbsp;0<dl class="el"><dd class="mdescRight">Handle to the device context of the whole screen.  <a href="group__dc__fns.htm#ga22"></a><br></dl><li>#define <a class="el" href="group__dc__fns.htm#ga23">HDC_INVALID</a>&nbsp;&nbsp;&nbsp;0<dl class="el"><dd class="mdescRight">Indicates an invalid handle to device context.  <a href="group__dc__fns.htm#ga23"></a><br></dl><li>#define <a class="el" href="group__dc__fns.htm#ga41">CreateCompatibleDC</a>(hdc)&nbsp;&nbsp;&nbsp;CreateCompatibleDCEx(hdc, 0, 0);<dl class="el"><dd class="mdescRight">Creates a memory DC which is compatible with a given DC.  <a href="group__dc__fns.htm#ga41"></a><br></dl><li>#define <a class="el" href="group__dc__fns.htm#ga42">DeleteCompatibleDC</a>(hdc)&nbsp;&nbsp;&nbsp;DeleteMemDC(hdc)<dl class="el"><dd class="mdescRight">Deletes a memory DC.  <a href="group__dc__fns.htm#ga42"></a><br></dl><li>#define <a class="el" href="group__yuv__fns.htm#ga11">LockYUVOverlay</a>&nbsp;&nbsp;&nbsp;GAL_LockYUVOverlay<dl class="el"><dd class="mdescRight">Is an alias of <em>GAL_LockYUVOverlay</em>.  <a href="group__yuv__fns.htm#ga11"></a><br></dl><li>#define <a class="el" href="group__yuv__fns.htm#ga12">UnlockYUVOverlay</a>&nbsp;&nbsp;&nbsp;GAL_UnlockYUVOverlay<dl class="el"><dd class="mdescRight">Is an alias of <em>GAL_UnlockYUVOverlay</em>.  <a href="group__yuv__fns.htm#ga12"></a><br></dl><li>#define <a class="el" href="group__yuv__fns.htm#ga13">FreeYUVOverlay</a>&nbsp;&nbsp;&nbsp;GAL_FreeYUVOverlay<dl class="el"><dd class="mdescRight">Is an alias of <em>GAL_FreeYUVOverlay</em>.  <a href="group__yuv__fns.htm#ga13"></a><br></dl><li>#define <a class="el" href="group__gamma__fns.htm#ga3">SetGamma</a>&nbsp;&nbsp;&nbsp;GAL_SetGamma<dl class="el"><dd class="mdescRight">Is an alias of <em>GAL_SetGamma</em>.  <a href="group__gamma__fns.htm#ga3"></a><br></dl><li>#define <a class="el" href="group__gamma__fns.htm#ga4">SetGammaRamp</a>&nbsp;&nbsp;&nbsp;GAL_SetGammaRamp<dl class="el"><dd class="mdescRight">Is an alias of <em>GAL_SetGammaRamp</em>.  <a href="group__gamma__fns.htm#ga4"></a><br></dl><li>#define <a class="el" href="group__gamma__fns.htm#ga5">GetGammaRamp</a>&nbsp;&nbsp;&nbsp;GAL_GetGammaRamp<dl class="el"><dd class="mdescRight">Is an alias of <em>GAL_GetGammaRamp</em>.  <a href="group__gamma__fns.htm#ga5"></a><br></dl><li>#define <a class="el" href="group__dc__attrs.htm#ga22">GetBkColor</a>(hdc)&nbsp;&nbsp;&nbsp;GetDCAttr (hdc, DC_ATTR_BK_COLOR)<dl class="el"><dd class="mdescRight">Gets the background color of a DC.  <a href="group__dc__attrs.htm#ga22"></a><br></dl><li>#define <a class="el" href="group__dc__attrs.htm#ga23">GetBkMode</a>(hdc)&nbsp;&nbsp;&nbsp;GetDCAttr (hdc, DC_ATTR_BK_MODE)<dl class="el"><dd class="mdescRight">Gets the background mode of a DC.  <a href="group__dc__attrs.htm#ga23"></a><br></dl><li>#define <a class="el" href="group__dc__attrs.htm#ga24">GetPenColor</a>(hdc)&nbsp;&nbsp;&nbsp;GetDCAttr (hdc, DC_ATTR_PEN_COLOR)<dl class="el"><dd class="mdescRight">Gets the pen color of a DC.  <a href="group__dc__attrs.htm#ga24"></a><br></dl><li>#define <a class="el" href="group__dc__attrs.htm#ga25">GetBrushColor</a>(hdc)&nbsp;&nbsp;&nbsp;GetDCAttr (hdc, DC_ATTR_BRUSH_COLOR)<dl class="el"><dd class="mdescRight">Gets the brush color of a DC.  <a href="group__dc__attrs.htm#ga25"></a><br></dl><li>#define <a class="el" href="group__dc__attrs.htm#ga26">GetTextColor</a>(hdc)&nbsp;&nbsp;&nbsp;GetDCAttr (hdc, DC_ATTR_TEXT_COLOR)<dl class="el"><dd class="mdescRight">Gets the text color of a DC.  <a href="group__dc__attrs.htm#ga26"></a><br></dl><li>#define <a class="el" href="group__dc__attrs.htm#ga27">GetTabStop</a>(hdc)&nbsp;&nbsp;&nbsp;GetDCAttr (hdc, DC_ATTR_TAB_STOP)<dl class="el"><dd class="mdescRight">Gets the tabstop value of a DC.  <a href="group__dc__attrs.htm#ga27"></a><br></dl><li>#define <a class="el" href="group__dc__attrs.htm#ga28">SetBkColor</a>(hdc, color)&nbsp;&nbsp;&nbsp;SetDCAttr (hdc, DC_ATTR_BK_COLOR, (<a class="el" href="group__win32__types.htm#ga4">DWORD</a>) color)<dl class="el"><dd class="mdescRight">Sets the background color of a DC to a new value.  <a href="group__dc__attrs.htm#ga28"></a><br></dl><li>#define <a class="el" href="group__dc__attrs.htm#ga29">SetBkMode</a>(hdc, mode)&nbsp;&nbsp;&nbsp;SetDCAttr (hdc, DC_ATTR_BK_MODE, (<a class="el" href="group__win32__types.htm#ga4">DWORD</a>) mode)<dl class="el"><dd class="mdescRight">Sets the background color of a DC to a new mode.  <a href="group__dc__attrs.htm#ga29"></a><br></dl><li>#define <a class="el" href="group__dc__attrs.htm#ga30">SetPenColor</a>(hdc, color)&nbsp;&nbsp;&nbsp;SetDCAttr (hdc, DC_ATTR_PEN_COLOR, (<a class="el" href="group__win32__types.htm#ga4">DWORD</a>) color)<dl class="el"><dd class="mdescRight">Sets the pen color of a DC to a new value.  <a href="group__dc__attrs.htm#ga30"></a><br></dl><li>#define <a class="el" href="group__dc__attrs.htm#ga31">SetBrushColor</a>(hdc, color)&nbsp;&nbsp;&nbsp;SetDCAttr (hdc, DC_ATTR_BRUSH_COLOR, (<a class="el" href="group__win32__types.htm#ga4">DWORD</a>) color)<dl class="el"><dd class="mdescRight">Sets the brush color of a DC to a new value.  <a href="group__dc__attrs.htm#ga31"></a><br></dl><li>#define <a class="el" href="group__dc__attrs.htm#ga32">SetTextColor</a>(hdc, color)&nbsp;&nbsp;&nbsp;SetDCAttr (hdc, DC_ATTR_TEXT_COLOR, (<a class="el" href="group__win32__types.htm#ga4">DWORD</a>) color)<dl class="el"><dd class="mdescRight">Sets the text color of a DC to a new value.  <a href="group__dc__attrs.htm#ga32"></a><br></dl><li>#define <a class="el" href="group__dc__attrs.htm#ga33">SetTabStop</a>(hdc, value)&nbsp;&nbsp;&nbsp;SetDCAttr (hdc, DC_ATTR_TAB_STOP, (<a class="el" href="group__win32__types.htm#ga4">DWORD</a>) value)<dl class="el"><dd class="mdescRight">Sets the tabstop of a DC to a new value.  <a href="group__dc__attrs.htm#ga33"></a><br></dl><li>#define <a class="el" href="group__draw__fns.htm#ga45">DrawHDotLine</a>(hdc, x, y, w)&nbsp;&nbsp;&nbsp;DrawHVDotLine (hdc, x, y, w, TRUE);<dl class="el"><dd class="mdescRight">Draws a horizontal dot dash line.  <a href="group__draw__fns.htm#ga45"></a><br></dl><li>#define <a class="el" href="group__draw__fns.htm#ga46">DrawVDotLine</a>(hdc, x, y, h)&nbsp;&nbsp;&nbsp;DrawHVDotLine (hdc, x, y, h, FALSE);<dl class="el"><dd class="mdescRight">Draws a vertical dot line.  <a href="group__draw__fns.htm#ga46"></a><br></dl><li>#define <a class="el" href="group__draw__adv__2d__fns.htm#ga12">GetPenType</a>(hdc)&nbsp;&nbsp;&nbsp;GetDCAttr (hdc, DC_ATTR_PEN_TYPE)<dl class="el"><dd class="mdescRight">Gets the pen type of a DC.  <a href="group__draw__adv__2d__fns.htm#ga12"></a><br></dl><li>#define <a class="el" href="group__draw__adv__2d__fns.htm#ga13">SetPenType</a>(hdc, type)&nbsp;&nbsp;&nbsp;SetDCAttr (hdc, DC_ATTR_PEN_TYPE, (<a class="el" href="group__win32__types.htm#ga4">DWORD</a>) type)<dl class="el"><dd class="mdescRight">Sets the pen type of a DC to a new type.  <a href="group__draw__adv__2d__fns.htm#ga13"></a><br></dl><li>#define <a class="el" href="group__draw__adv__2d__fns.htm#ga14">GetPenCapStyle</a>(hdc)&nbsp;&nbsp;&nbsp;GetDCAttr (hdc, DC_ATTR_PEN_CAP_STYLE)<dl class="el"><dd class="mdescRight">Gets the pen cap style of a DC.  <a href="group__draw__adv__2d__fns.htm#ga14"></a><br></dl><li>#define <a class="el" href="group__draw__adv__2d__fns.htm#ga15">SetPenCapStyle</a>(hdc, style)&nbsp;&nbsp;&nbsp;SetDCAttr (hdc, DC_ATTR_PEN_CAP_STYLE, (<a class="el" href="group__win32__types.htm#ga4">DWORD</a>) style)<dl class="el"><dd class="mdescRight">Sets the pen type of a DC to a new type.  <a href="group__draw__adv__2d__fns.htm#ga15"></a><br></dl><li>#define <a class="el" href="group__draw__adv__2d__fns.htm#ga16">GetPenJoinStyle</a>(hdc)&nbsp;&nbsp;&nbsp;GetDCAttr (hdc, DC_ATTR_PEN_JOIN_STYLE)<dl class="el"><dd class="mdescRight">Gets the pen join style of a DC.  <a href="group__draw__adv__2d__fns.htm#ga16"></a><br></dl><li>#define <a class="el" href="group__draw__adv__2d__fns.htm#ga17">SetPenJoinStyle</a>(hdc, style)&nbsp;&nbsp;&nbsp;SetDCAttr (hdc, DC_ATTR_PEN_JOIN_STYLE, (<a class="el" href="group__win32__types.htm#ga4">DWORD</a>) style)<dl class="el"><dd class="mdescRight">Sets the pen type of a DC to a new type.  <a href="group__draw__adv__2d__fns.htm#ga17"></a><br></dl><li>#define <a class="el" href="group__draw__adv__2d__fns.htm#ga18">GetPenWidth</a>(hdc)&nbsp;&nbsp;&nbsp;GetDCAttr (hdc, DC_ATTR_PEN_WIDTH)<dl class="el"><dd class="mdescRight">Gets the pen width of a DC.  <a href="group__draw__adv__2d__fns.htm#ga18"></a><br></dl><li>#define <a class="el" href="group__draw__adv__2d__fns.htm#ga19">SetPenWidth</a>(hdc, width)&nbsp;&nbsp;&nbsp;SetDCAttr (hdc, DC_ATTR_PEN_WIDTH, (<a class="el" href="group__win32__types.htm#ga4">DWORD</a>) width)<dl class="el"><dd class="mdescRight">Sets the pen width of a DC to a new width.  <a href="group__draw__adv__2d__fns.htm#ga19"></a><br></dl><li>#define <a class="el" href="group__draw__adv__2d__fns.htm#ga20">GetBrushType</a>(hdc)&nbsp;&nbsp;&nbsp;GetDCAttr (hdc, DC_ATTR_BRUSH_TYPE)<dl class="el"><dd class="mdescRight">Gets the brush type of a DC.  <a href="group__draw__adv__2d__fns.htm#ga20"></a><br></dl><li>#define <a class="el" href="group__draw__adv__2d__fns.htm#ga21">SetBrushType</a>(hdc, type)&nbsp;&nbsp;&nbsp;SetDCAttr (hdc, DC_ATTR_BRUSH_TYPE, (<a class="el" href="group__win32__types.htm#ga4">DWORD</a>) type)<dl class="el"><dd class="mdescRight">Sets the brush type of a DC to a new type.  <a href="group__draw__adv__2d__fns.htm#ga21"></a><br></dl><li>#define <a class="el" href="group__map__fns.htm#ga6">GetMapMode</a>(hdc)&nbsp;&nbsp;&nbsp;GetDCAttr (hdc, DC_ATTR_MAP_MODE)<dl class="el"><dd class="mdescRight">Retrieves the current mapping mode of a DC.  <a href="group__map__fns.htm#ga6"></a><br></dl><li>#define <a class="el" href="group__map__fns.htm#ga7">SetMapMode</a>(hdc, mapmode)&nbsp;&nbsp;&nbsp;SetDCAttr (hdc, DC_ATTR_MAP_MODE, (<a class="el" href="group__win32__types.htm#ga4">DWORD</a>)mapmode)<dl class="el"><dd class="mdescRight">Sets the mapping mode of a display context.  <a href="group__map__fns.htm#ga7"></a><br></dl><li>#define <a class="el" href="group__map__fns.htm#ga13">GetViewportOrg</a>(hdc, pPt)&nbsp;&nbsp;&nbsp;GetDCLCS(hdc, DC_LCS_VORG, pPt)<dl class="el"><dd class="mdescRight">Retrieves the x-coordinates and y-coordinates of the viewport origin for a device context.  <a href="group__map__fns.htm#ga13"></a><br></dl><li>#define <a class="el" href="group__map__fns.htm#ga14">GetViewportExt</a>(hdc, pPt)&nbsp;&nbsp;&nbsp;GetDCLCS(hdc, DC_LCS_VEXT, pPt)<dl class="el"><dd class="mdescRight">Retrieves the x-extents and y-extents of the current viewport for a device context.  <a href="group__map__fns.htm#ga14"></a><br></dl><li>#define <a class="el" href="group__map__fns.htm#ga15">GetWindowOrg</a>(hdc, pPt)&nbsp;&nbsp;&nbsp;GetDCLCS(hdc, DC_LCS_WORG, pPt)<dl class="el"><dd class="mdescRight">Retrieves the x-coordinates and y-coordinates of the window for a device context.  <a href="group__map__fns.htm#ga15"></a><br></dl><li>#define <a class="el" href="group__map__fns.htm#ga16">GetWindowExt</a>(hdc, pPt)&nbsp;&nbsp;&nbsp;GetDCLCS(hdc, DC_LCS_WEXT, pPt)<dl class="el"><dd class="mdescRight">Retrieves the x-extents and y-extents of the current window for a device context.  <a href="group__map__fns.htm#ga16"></a><br></dl><li>#define <a class="el" href="group__map__fns.htm#ga17">SetViewportOrg</a>(hdc, pPt)&nbsp;&nbsp;&nbsp;SetDCLCS(hdc, DC_LCS_VORG, pPt)<dl class="el"><dd class="mdescRight">Sets the x-coordinates and y-coordinates of the viewport origin for a device context.  <a href="group__map__fns.htm#ga17"></a><br></dl><li>#define <a class="el" href="group__map__fns.htm#ga18">SetViewportExt</a>(hdc, pPt)&nbsp;&nbsp;&nbsp;SetDCLCS(hdc, DC_LCS_VEXT, pPt)<dl class="el"><dd class="mdescRight">Sets the x-extents and y-extents of the current viewport for a device context.  <a href="group__map__fns.htm#ga18"></a><br></dl><li>#define <a class="el" href="group__map__fns.htm#ga19">SetWindowOrg</a>(hdc, pPt)&nbsp;&nbsp;&nbsp;SetDCLCS(hdc, DC_LCS_WORG, pPt)<dl class="el"><dd class="mdescRight">Sets the x-coordinates and y-coordinates of the window for a device context.  <a href="group__map__fns.htm#ga19"></a><br></dl><li>#define <a class="el" href="group__map__fns.htm#ga20">SetWindowExt</a>(hdc, pPt)&nbsp;&nbsp;&nbsp;SetDCLCS(hdc, DC_LCS_WEXT, pPt)<dl class="el"><dd class="mdescRight">Sets the x-extents and y-extents of the current window for a device context.  <a href="group__map__fns.htm#ga20"></a><br></dl><li>#define <a class="el" href="group__icon__fns.htm#ga6">CreateIcon</a>(hdc, w, h, AndBits, XorBits, colornum)&nbsp;&nbsp;&nbsp;CreateIconEx(hdc, w, h, AndBits, XorBits, colornum, NULL)<li>#define <a class="el" href="group__rect__fns.htm#ga16">RECTWP</a>(prc)&nbsp;&nbsp;&nbsp;(prc-&gt;right - prc-&gt;left)<dl class="el"><dd class="mdescRight">Gets the width of a RECT object by using the pointer to it.  <a href="group__rect__fns.htm#ga16"></a><br></dl><li>#define <a class="el" href="group__rect__fns.htm#ga17">RECTHP</a>(prc)&nbsp;&nbsp;&nbsp;(prc-&gt;bottom - prc-&gt;top)<dl class="el"><dd class="mdescRight">Gets the height of a RECT object by using the pointer to it.  <a href="group__rect__fns.htm#ga17"></a><br></dl><li>#define <a class="el" href="group__rect__fns.htm#ga18">RECTW</a>(rc)&nbsp;&nbsp;&nbsp;(rc.right - rc.left)<dl class="el"><dd class="mdescRight">Gets the width of a RECT object.  <a href="group__rect__fns.htm#ga18"></a><br></dl><li>#define <a class="el" href="group__rect__fns.htm#ga19">RECTH</a>(rc)&nbsp;&nbsp;&nbsp;(rc.bottom - rc.top)<dl class="el"><dd class="mdescRight">Gets the height of a RECT object.  <a href="group__rect__fns.htm#ga19"></a><br></dl><li>#define <a class="el" href="group__font__fns.htm#ga133">FONT_CHARSET_GB1988_0</a>&nbsp;&nbsp;&nbsp;"GB1988-0"<dl class="el"><dd class="mdescRight">EUC encoding of GB1988 charset, treat as ISO8859-1.  <a href="group__font__fns.htm#ga133"></a><br></dl><li>#define <a class="el" href="group__font__fns.htm#ga134">FONT_CHARSET_GB2312_0</a>&nbsp;&nbsp;&nbsp;"GB2312-0"<dl class="el"><dd class="mdescRight">EUC encoding of GB2312 charset.  <a href="group__font__fns.htm#ga134"></a><br></dl><li>#define <a class="el" href="group__font__fns.htm#ga136">FONT_CHARSET_GB18030_0</a>&nbsp;&nbsp;&nbsp;"GB18030-0"<dl class="el"><dd class="mdescRight">EUC encoding of GB18030 charset.  <a href="group__font__fns.htm#ga136"></a><br></dl><li>#define <a class="el" href="group__font__fns.htm#ga138">FONT_CHARSET_EUCTW</a>&nbsp;&nbsp;&nbsp;"EUC-TW"<dl class="el"><dd class="mdescRight">EUC encoding of CNS11643 charset, not supported.  <a href="group__font__fns.htm#ga138"></a><br></dl><li>#define <a class="el" href="group__font__fns.htm#ga140">FONT_CHARSET_KSC5636_0</a>&nbsp;&nbsp;&nbsp;"KSC5636-0"<dl class="el"><dd class="mdescRight">EUC encoding of KSC5636 charset, treat as ISO8859-1.  <a href="group__font__fns.htm#ga140"></a><br></dl><li>#define <a class="el" href="group__font__fns.htm#ga141">FONT_CHARSET_KSC5601_0</a>&nbsp;&nbsp;&nbsp;"KSC5601-0"

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -