public static extern RegionType ExtSelectClipRgn(
     DeviceContext hdc,
     RegionHandle hrgn,
     CombineRegionMode fnMode);
 public static extern int GetMetaRgn(
     DeviceContext hdc,
     RegionHandle hrgn);
 public static extern bool RectInRegion(
     RegionHandle hrgn,
     [In] ref RECT lprc);
 public static extern bool SetRectRgn(
     RegionHandle hrgn,
     int nLeftRect,
     int nTopRect,
     int nRightRect,
     int nBottomRect);
 public static extern bool PaintRgn(
     DeviceContext hdc,
     RegionHandle hrgn);
 public static extern bool PtInRegion(
     RegionHandle hrgn,
     int X,
     int Y);
 public static extern RegionType GetRgnBox(
     RegionHandle hrgn,
     out RECT lprc);
示例#8
0
 public static RegionType SelectClippingRegion(DeviceContext deviceContext, RegionHandle region)
 {
     return(Imports.SelectClipRgn(deviceContext, region));
 }
 public static extern bool FrameRgn(
     DeviceContext hdc,
     RegionHandle hrgn,
     BrushHandle hbr,
     int nWidth,
     int nHeight);
示例#10
0
 public static extern uint GetRegionData(
     RegionHandle hRgn,
     uint dwCount,
     IntPtr lpRgnData);
示例#11
0
 public static extern bool FillRgn(
     DeviceContext hdc,
     RegionHandle hrgn,
     BrushHandle hbr);
示例#12
0
 public static extern bool EqualRgn(
     RegionHandle hSrcRgn1,
     RegionHandle hSrcRgn2);
示例#13
0
 public static extern RegionType CombineRgn(
     RegionHandle hrgnDest,
     RegionHandle hrgnSrc1,
     RegionHandle hrgnSrc2,
     CombineRegionMode fnCombineMode);
示例#14
0
 public static extern int GetRandomRgn(
     DeviceContext hdc,
     RegionHandle hrgn,
     int iNum);
示例#15
0
 public static extern RegionType OffsetRgn(
     RegionHandle hrgn,
     int nXOffset,
     int nYOffset);
示例#16
0
 public static extern RegionType SelectClipRgn(
     DeviceContext hdc,
     RegionHandle hrgn);
示例#17
0
 public static RegionType CombineRegion(RegionHandle destination, RegionHandle sourceOne, RegionHandle sourceTwo, CombineRegionMode mode)
 {
     return(Imports.CombineRgn(destination, sourceOne, sourceTwo, mode));
 }