spongebobyey 发表于 2019-10-13 17:15:51

区域

1.创建区域
   都在此页: https://fishc.com.cn/forum.php?mod=forumdisplay&fid=255&typeid=420&typeid=420&filter=typeid&page=5
CreateRectRgn   https://fishc.com.cn/forum.php?mod=viewthread&tid=69111&extra=page%3D5%26filter%3Dtypeid%26typeid%3D420
CreateRectRgnIndirect https://fishc.com.cn/forum.php?mod=viewthread&tid=69113&extra=page%3D5%26filter%3Dtypeid%26typeid%3D420
CreateEllipticRgnIndirect
2.填充区域
FillRgn
FrameRgn//绘制区域的边框


区域的作用
区域可以合并
CombineRgn(hrgnDest,hrgnSrc1,hrgnSrc2,fnCombineMode);//将hrgnSrc1 和hrgnSrc2结合起来
产生一个新的组合区域 hrgnDest;
frameRect https://fishc com.cn/forum.php?mod=viewthread&tid=69118&extra=page%3D5%26filter%3Dtypeid%26typeid%3D420
将趋于作为当前设备环境的剪裁区域
SelectClipRgn(hdc,hTargetRgn)

页: [1]
查看完整版本: 区域