BeginPAth()
来源:百度知道 编辑:UC知道 时间:2024/05/27 01:28:22
掉用CDC类中的SelectClipPath( int nMode )函数 可以对区域进行操作.
CDC::SelectClipPath
BOOL SelectClipPath( int nMode );
Return Value
Nonzero if the function is successful; otherwise 0.
Parameters
nMode
Specifies the way to use the path. The following values are allowed:
RGN_AND The new clipping region includes the intersection (overlapping areas) of the current clipping region and the current path.
RGN_COPY The new clipping region is the current path.
RGN_DIFF The new clipping region includes the areas of the current clipping region, and those of the current path are excluded.
RGN_OR The new clipping region includes the union (combined areas) of the current clipping region and the current path.
RGN_XOR The new clipping region includes the union of the current clipping region and the current path, but without the overlapping areas.