Region::Intersect (constGraphicsPath*) 方法 (gdiplusheaders.h)

Region::Intersect 方法将此区域更新为与指定路径内部相交的自身部分。

语法

Status Intersect(
  [in] const GraphicsPath *path
);

参数

[in] path

类型: const GraphicsPath*

指向 GraphicsPath 对象的指针,该对象指定要用于更新此区域的路径。

返回值

类型: 状态

如果该方法成功,则返回 Ok,这是 Status 枚举的元素。

如果方法失败,它将返回 Status 枚举的其他元素之一。

要求

要求
最低受支持的客户端 Windows XP、Windows 2000 Professional [仅限桌面应用]
最低受支持的服务器 Windows 2000 Server [仅限桌面应用]
目标平台 Windows
标头 gdiplusheaders.h (包括 Gdiplus.h)
Library Gdiplus.lib
DLL Gdiplus.dll

另请参阅

GraphicsPath

Rect

区域

Status