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

📄 gdi_8h-source.htm

📁 MINIGUI1.6开发API
💻 HTM
📖 第 1 页 / 共 5 页
字号:
01778                 <a class="code" href="group__basic__types.htm#ga4">Uint32</a> format, <a class="code" href="group__handles.htm#ga2">HDC</a> hdc);01779 01788 <span class="keywordtype">int</span> <a class="code" href="group__yuv__fns.htm#ga2">GAL_LockYUVOverlay</a> (<a class="code" href="struct__GAL__Overlay.htm">GAL_Overlay</a> *overlay);01789 01798 <span class="keywordtype">void</span> <a class="code" href="group__yuv__fns.htm#ga3">GAL_UnlockYUVOverlay</a> (<a class="code" href="struct__GAL__Overlay.htm">GAL_Overlay</a> *overlay);01799 <a name="l01805"></a><a class="code" href="group__yuv__fns.htm#ga11">01805</a> <span class="preprocessor">#define LockYUVOverlay GAL_LockYUVOverlay</span>01806 <span class="preprocessor"></span><a name="l01812"></a><a class="code" href="group__yuv__fns.htm#ga12">01812</a> <span class="preprocessor">#define UnlockYUVOverlay GAL_UnlockYUVOverlay</span>01813 <span class="preprocessor"></span>01826 <span class="keywordtype">void</span> <a class="code" href="group__yuv__fns.htm#ga4">GAL_FreeYUVOverlay</a> (<a class="code" href="struct__GAL__Overlay.htm">GAL_Overlay</a> *overlay);01827 <a name="l01833"></a><a class="code" href="group__yuv__fns.htm#ga13">01833</a> <span class="preprocessor">#define FreeYUVOverlay GAL_FreeYUVOverlay</span>01834 <span class="preprocessor"></span>01853 MG_EXPORT <span class="keywordtype">void</span> GUIAPI <a class="code" href="group__yuv__fns.htm#ga5">DisplayYUVOverlay</a> (<a class="code" href="struct__GAL__Overlay.htm">GAL_Overlay</a>* overlay, 01854                 <span class="keyword">const</span> <a class="code" href="struct__RECT.htm">RECT</a>* dstrect);01855 01881 <span class="keywordtype">int</span> <a class="code" href="group__gamma__fns.htm#ga0">GAL_SetGamma</a> (<span class="keywordtype">float</span> red, <span class="keywordtype">float</span> green, <span class="keywordtype">float</span> blue);01882 <a name="l01888"></a><a class="code" href="group__gamma__fns.htm#ga3">01888</a> <span class="preprocessor">#define SetGamma GAL_SetGamma</span>01889 <span class="preprocessor"></span>01915 <span class="keywordtype">int</span> <a class="code" href="group__gamma__fns.htm#ga1">GAL_SetGammaRamp</a> (<a class="code" href="group__basic__types.htm#ga2">Uint16</a> *red, <a class="code" href="group__basic__types.htm#ga2">Uint16</a> *green, <a class="code" href="group__basic__types.htm#ga2">Uint16</a> *blue);01916 <a name="l01922"></a><a class="code" href="group__gamma__fns.htm#ga4">01922</a> <span class="preprocessor">#define SetGammaRamp GAL_SetGammaRamp</span>01923 <span class="preprocessor"></span>01947 <span class="keywordtype">int</span> <a class="code" href="group__gamma__fns.htm#ga2">GAL_GetGammaRamp</a> (<a class="code" href="group__basic__types.htm#ga2">Uint16</a> *red, <a class="code" href="group__basic__types.htm#ga2">Uint16</a> *green, <a class="code" href="group__basic__types.htm#ga2">Uint16</a> *blue);01948 <a name="l01954"></a><a class="code" href="group__gamma__fns.htm#ga5">01954</a> <span class="preprocessor">#define GetGammaRamp GAL_GetGammaRamp</span>01955 <span class="preprocessor"></span>01958 <span class="preprocessor">#else</span>01959 <span class="preprocessor"></span>01960 MG_EXPORT <a class="code" href="group__handles.htm#ga2">HDC</a> GUIAPI <a class="code" href="group__dc__fns.htm#ga41">CreateCompatibleDC</a> (<a class="code" href="group__handles.htm#ga2">HDC</a> hdc);01961 MG_EXPORT <span class="keywordtype">void</span> GUIAPI <a class="code" href="group__dc__fns.htm#ga42">DeleteCompatibleDC</a> (<a class="code" href="group__handles.htm#ga2">HDC</a> hdc);01962 01963 <span class="preprocessor">#endif </span><span class="comment">/* _USE_NEWGAL */</span>01964 01972 <span class="preprocessor">#define BM_TRANSPARENT          1</span>01973 <span class="preprocessor"></span><span class="preprocessor">#define BM_OPAQUE               0</span>01974 <span class="preprocessor"></span>01975 <span class="preprocessor">#ifdef _USE_NEWGAL</span>01976 <span class="preprocessor"></span>01977 <span class="preprocessor">#define DC_ATTR_BK_COLOR        0</span>01978 <span class="preprocessor"></span><span class="preprocessor">#define DC_ATTR_PEN_COLOR       1</span>01979 <span class="preprocessor"></span><span class="preprocessor">#define DC_ATTR_BRUSH_COLOR     2</span>01980 <span class="preprocessor"></span><span class="preprocessor">#define DC_ATTR_TEXT_COLOR      3</span>01981 <span class="preprocessor"></span>01982 <span class="preprocessor">#define DC_ATTR_BK_MODE         4</span>01983 <span class="preprocessor"></span>01984 <span class="preprocessor">#define DC_ATTR_TAB_STOP        5</span>01985 <span class="preprocessor"></span><span class="preprocessor">#define DC_ATTR_CHAR_EXTRA      6</span>01986 <span class="preprocessor"></span><span class="preprocessor">#define DC_ATTR_ALINE_EXTRA     7</span>01987 <span class="preprocessor"></span><span class="preprocessor">#define DC_ATTR_BLINE_EXTRA     8</span>01988 <span class="preprocessor"></span>01989 <span class="preprocessor">#define DC_ATTR_MAP_MODE        9</span>01990 <span class="preprocessor"></span>01991 <span class="preprocessor">#ifdef _ADV_2DAPI</span>01992 <span class="preprocessor"></span>01993 <span class="preprocessor">#define DC_ATTR_PEN_TYPE        10</span>01994 <span class="preprocessor"></span><span class="preprocessor">#define DC_ATTR_PEN_CAP_STYLE   11</span>01995 <span class="preprocessor"></span><span class="preprocessor">#define DC_ATTR_PEN_JOIN_STYLE  12</span>01996 <span class="preprocessor"></span><span class="preprocessor">#define DC_ATTR_PEN_WIDTH       13</span>01997 <span class="preprocessor"></span>01998 <span class="preprocessor">#define DC_ATTR_BRUSH_TYPE      14</span>01999 <span class="preprocessor"></span>02000 <span class="preprocessor">#define NR_DC_ATTRS             15</span>02001 <span class="preprocessor"></span>02002 <span class="preprocessor">#else</span>02003 <span class="preprocessor"></span>02004 <span class="preprocessor">#define NR_DC_ATTRS             10</span>02005 <span class="preprocessor"></span>02006 <span class="preprocessor">#endif</span>02007 <span class="preprocessor"></span>02008 02045 MG_EXPORT <a class="code" href="group__basic__types.htm#ga4">Uint32</a> GUIAPI <a class="code" href="group__dc__attrs.htm#ga0">GetDCAttr</a> (<a class="code" href="group__handles.htm#ga2">HDC</a> hdc, <span class="keywordtype">int</span> attr);02046 02062 MG_EXPORT <a class="code" href="group__basic__types.htm#ga4">Uint32</a> GUIAPI <a class="code" href="group__dc__attrs.htm#ga1">SetDCAttr</a> (<a class="code" href="group__handles.htm#ga2">HDC</a> hdc, <span class="keywordtype">int</span> attr, <a class="code" href="group__basic__types.htm#ga4">Uint32</a> value);02063 <a name="l02077"></a><a class="code" href="group__dc__attrs.htm#ga22">02077</a> <span class="preprocessor">#define GetBkColor(hdc)     GetDCAttr (hdc, DC_ATTR_BK_COLOR)</span>02078 <span class="preprocessor"></span><a name="l02098"></a><a class="code" href="group__dc__attrs.htm#ga23">02098</a> <span class="preprocessor">#define GetBkMode(hdc)      GetDCAttr (hdc, DC_ATTR_BK_MODE)</span>02099 <span class="preprocessor"></span><a name="l02113"></a><a class="code" href="group__dc__attrs.htm#ga24">02113</a> <span class="preprocessor">#define GetPenColor(hdc)    GetDCAttr (hdc, DC_ATTR_PEN_COLOR)</span>02114 <span class="preprocessor"></span><a name="l02128"></a><a class="code" href="group__dc__attrs.htm#ga25">02128</a> <span class="preprocessor">#define GetBrushColor(hdc)  GetDCAttr (hdc, DC_ATTR_BRUSH_COLOR)</span>02129 <span class="preprocessor"></span><a name="l02143"></a><a class="code" href="group__dc__attrs.htm#ga26">02143</a> <span class="preprocessor">#define GetTextColor(hdc)   GetDCAttr (hdc, DC_ATTR_TEXT_COLOR)</span>02144 <span class="preprocessor"></span><a name="l02158"></a><a class="code" href="group__dc__attrs.htm#ga27">02158</a> <span class="preprocessor">#define GetTabStop(hdc)     GetDCAttr (hdc, DC_ATTR_TAB_STOP)</span>02159 <span class="preprocessor"></span><a name="l02174"></a><a class="code" href="group__dc__attrs.htm#ga28">02174</a> <span class="preprocessor">#define SetBkColor(hdc, color)  \</span>02175 <span class="preprocessor">                SetDCAttr (hdc, DC_ATTR_BK_COLOR, (DWORD) color)</span>02176 <span class="preprocessor"></span><a name="l02198"></a><a class="code" href="group__dc__attrs.htm#ga29">02198</a> <span class="preprocessor">#define SetBkMode(hdc, mode)    \</span>02199 <span class="preprocessor">                SetDCAttr (hdc, DC_ATTR_BK_MODE, (DWORD) mode)</span>02200 <span class="preprocessor"></span><a name="l02215"></a><a class="code" href="group__dc__attrs.htm#ga30">02215</a> <span class="preprocessor">#define SetPenColor(hdc, color) \</span>02216 <span class="preprocessor">                SetDCAttr (hdc, DC_ATTR_PEN_COLOR, (DWORD) color)</span>02217 <span class="preprocessor"></span><a name="l02232"></a><a class="code" href="group__dc__attrs.htm#ga31">02232</a> <span class="preprocessor">#define SetBrushColor(hdc, color)   \</span>02233 <span class="preprocessor">                SetDCAttr (hdc, DC_ATTR_BRUSH_COLOR, (DWORD) color)</span>02234 <span class="preprocessor"></span><a name="l02249"></a><a class="code" href="group__dc__attrs.htm#ga32">02249</a> <span class="preprocessor">#define SetTextColor(hdc, color)    \</span>02250 <span class="preprocessor">                SetDCAttr (hdc, DC_ATTR_TEXT_COLOR, (DWORD) color)</span>02251 <span class="preprocessor"></span><a name="l02266"></a><a class="code" href="group__dc__attrs.htm#ga33">02266</a> <span class="preprocessor">#define SetTabStop(hdc, value)  \</span>02267 <span class="preprocessor">                SetDCAttr (hdc, DC_ATTR_TAB_STOP, (DWORD) value)</span>02268 <span class="preprocessor"></span>02269 <span class="preprocessor">#define ROP_SET         0</span>02270 <span class="preprocessor"></span><span class="preprocessor">#define ROP_AND         1</span>02271 <span class="preprocessor"></span><span class="preprocessor">#define ROP_OR          2</span>02272 <span class="preprocessor"></span><span class="preprocessor">#define ROP_XOR         3</span>02273 <span class="preprocessor"></span>02296 MG_EXPORT <span class="keywordtype">int</span> GUIAPI <a class="code" href="group__dc__attrs.htm#ga2">GetRasterOperation</a> (<a class="code" href="group__handles.htm#ga2">HDC</a> hdc);02297 02323 MG_EXPORT <span class="keywordtype">int</span> GUIAPI <a class="code" href="group__dc__attrs.htm#ga3">SetRasterOperation</a> (<a class="code" href="group__handles.htm#ga2">HDC</a> hdc, <span class="keywordtype">int</span> rop);

⌨️ 快捷键说明

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