网站首页  计算机词典

请输入您要查询的字词:

 

字词 invertrgn
释义 InvertRgn
语法:
BOOL InvertRgn(
__in HDC hdc,
__in HRGN hrgn
);
InvertRgn功能
函数反转的InvertRgn在指定的区域的颜色。
参数
hdc [in]
句柄设备上下文。
hrgn [in]
句柄那些颜色反转区。该区域的坐标推定为逻辑坐标。
返回值
如果函数成功,返回值为非零。
如果函数失败,返回值是零。
备注
在单色屏幕,InvertRgn功能使得黑白色和黑色像素白色像素。在彩色屏幕,这反演依赖于技术用于生成屏幕上的颜色类型。
实例
有关示例,请参阅使用画笔。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
HeaderWingdi.h(头文件:winuser.h)
LibraryGdi32.lib
DLLGdi32.dll
参见
地区概况
区域函数
FillRgn
PaintRgn
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年7月11日
==英文原文==InvertRgn Function
The InvertRgn function inverts the colors in the specified region.
Syntax
BOOL InvertRgn(
__in HDC hdc,
__in HRGN hrgn
);
Parameters
hdc [in]
Handle to the device context.
hrgn [in]
Handle to the region for which colors are inverted. The region's coordinates are presumed to be logical coordinates.
Return Value
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero.
Remarks
On monochrome screens, the InvertRgn function makes white pixels black and black pixels white. On color screens, this inversion is dependent on the type of technology used to generate the colors for the screen.
Examples
For an example, see Using Brushes .
Requirements
Minimum supported clientWindows 2000 Professional
Minimum supported serverWindows 2000 Server
HeaderWingdi.h (include Windows.h)
LibraryGdi32.lib
DLLGdi32.dll
See Also
Regions Overview
Region Functions
FillRgn
PaintRgn
Send comments about this topic to Microsoft
Build date: 7/11/2009
==原始网址==http://msdn.microsoft.com/en-us/library/dd145008(VS.85).aspx\n
随便看

 

计算机英汉双解词典包含34412条计算机术语英汉翻译词条,基本涵盖了全部常用计算机术语的翻译及用法,是计算机学习及翻译工作的有利工具。

 

Copyright © 2021-2025 foosec.com All Rights Reserved
更新时间:2026/10/23 21:49:52