网站首页  词典首页

请输入您要查询的函数:

 

术语 getclipbox
释义 GetClipBox
语法:
int GetClipBox(
__in HDC hdc,
__out LPRECT lprc
);
GetClipBox函数
该GetClipBox函数检索的最严格的边界矩形的,可以围绕当前设备上的可见区域绘制方面。可见区域的定义是当前剪辑区域或剪辑路径,以及任何重叠的窗口。
参数
hdc [in]
一个句柄,设备上下文。
炼油公司[out]
一个矩形结构,接收逻辑单元尺寸的矩形,指针。
返回值
如果函数成功,返回值指定裁剪框的复杂性和可以是下列值之一。
返回codeDescription
NULLREGIONRegion是空的。
SIMPLEREGIONRegion是一个单一的矩形。
COMPLEXREGIONRegion不止一个矩形。
ERRORAn发生错误。
GetClipBox返回逻辑坐标给定的设备上下文为基础。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
HeaderWingdi.h(头文件:winuser.h)
LibraryGdi32.lib
DLLGdi32.dll
参见
裁剪概述
裁剪功能
RECT
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年7月11日
==英文原文==GetClipBox Function
The GetClipBox function retrieves the dimensions of the tightest bounding rectangle that can be drawn around the current visible area on the device. The visible area is defined by the current clipping region or clip path, as well as any overlapping windows.
Syntax
int GetClipBox(
__in HDC hdc,
__out LPRECT lprc
);
Parameters
hdc [in]
A handle to the device context.
lprc [out]
A pointer to a RECT structure that is to receive the rectangle dimensions, in logical units.
Return Value
If the function succeeds, the return value specifies the clipping box's complexity and can be one of the following values.
Return codeDescription
NULLREGIONRegion is empty.
SIMPLEREGIONRegion is a single rectangle.
COMPLEXREGIONRegion is more than one rectangle.
ERRORAn error occurred.

GetClipBox returns logical coordinates based on the given device context.
Requirements
Minimum supported clientWindows 2000 Professional
Minimum supported serverWindows 2000 Server
HeaderWingdi.h (include Windows.h)
LibraryGdi32.lib
DLLGdi32.dll
See Also
Clipping Overview
Clipping Functions
RECT
Send comments about this topic to Microsoft
Build date: 7/11/2009
==原始网址==http://msdn.microsoft.com/en-us/library/dd144865(VS.85).aspx\n
随便看

 

windows api函数参考手册包含2258条windows api函数文档,详细介绍nodejs、java、rust调用windows api的方法技巧,是学习windows api编程的入门中文文档。

 

Copyright © 2004-2023 Winrtm.com All Rights Reserved
京ICP备2021023879号-40 更新时间:2024/10/6 13:17:24