コード例 #1
0
 public static extern RegionType ExtSelectClipRgn(
     DeviceContext hdc,
     RegionHandle hrgn,
     CombineRegionMode fnMode);
コード例 #2
0
 public static extern int GetMetaRgn(
     DeviceContext hdc,
     RegionHandle hrgn);
コード例 #3
0
 public static extern bool RectInRegion(
     RegionHandle hrgn,
     [In] ref RECT lprc);
コード例 #4
0
 public static extern bool SetRectRgn(
     RegionHandle hrgn,
     int nLeftRect,
     int nTopRect,
     int nRightRect,
     int nBottomRect);
コード例 #5
0
 public static extern bool PaintRgn(
     DeviceContext hdc,
     RegionHandle hrgn);
コード例 #6
0
 public static extern bool PtInRegion(
     RegionHandle hrgn,
     int X,
     int Y);
コード例 #7
0
 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));
 }
コード例 #9
0
 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));
 }