Exemplo n.º 1
0
 public static extern bool SelectClipPath([In] IntPtr hdc, ClippingOperationMode mode);
Exemplo n.º 2
0
 /// <summary>
 /// The SelectClipPath function selects the current path as a clipping region for a device context, combining the
 /// new region with any existing clipping region using the specified mode
 /// </summary>
 /// <param name="hdc">Handle to the device context of the path</param>
 /// <param name="mode">Specifies the way to use the path</param>
 /// <returns>If the function succeeds, the return value is true, else false</returns>
 public static bool SelectClipPath([In] IntPtr hdc, ClippingOperationMode mode)
 {
     return(Native.SelectClipPath(hdc, mode));
 }
Exemplo n.º 3
0
 public static extern ClippingRegionType ExtSelectClipRgn([In] IntPtr hdc, [In] IntPtr hrgn,
                                                          ClippingOperationMode mode);
Exemplo n.º 4
0
 /// <summary>
 /// The ExtSelectClipRgn function combines the specified region with the
 /// current clipping region using the specified mode
 /// </summary>
 /// <param name="hdc">Handle to the device context</param>
 /// <param name="hrgn">Handle to the region to be selected. This handle can only be null when the
 /// ClippingOperationMode.RGN_COPY mode is specified</param>
 /// <param name="mode">Specifies the operation to be performed. It must be one of the following values</param>
 /// <returns>The return value specifies the new clipping region's complexity</returns>
 public static ClippingRegionType ExtSelectClipRgn([In] IntPtr hdc, [In] IntPtr hrgn, ClippingOperationMode mode)
 {
     return(Native.ExtSelectClipRgn(hdc, hrgn, mode));
 }
Exemplo n.º 5
0
 /// <summary>
 /// The ExtSelectClipRgn function combines the specified region with the 
 /// current clipping region using the specified mode
 /// </summary>
 /// <param name="hdc">Handle to the device context</param>
 /// <param name="hrgn">Handle to the region to be selected. This handle can only be null when the 
 /// ClippingOperationMode.RGN_COPY mode is specified</param>
 /// <param name="mode">Specifies the operation to be performed. It must be one of the following values</param>
 /// <returns>The return value specifies the new clipping region's complexity</returns>
 public static ClippingRegionType ExtSelectClipRgn([In] IntPtr hdc, [In] IntPtr hrgn, ClippingOperationMode mode)
 {
     return Native.ExtSelectClipRgn(hdc, hrgn, mode);
 }
Exemplo n.º 6
0
 public static extern bool SelectClipPath([In] IntPtr hdc, ClippingOperationMode mode);
Exemplo n.º 7
0
 public static extern ClippingRegionType ExtSelectClipRgn([In] IntPtr hdc, [In] IntPtr hrgn,
     ClippingOperationMode mode);
Exemplo n.º 8
0
 /// <summary>
 /// The SelectClipPath function selects the current path as a clipping region for a device context, combining the
 /// new region with any existing clipping region using the specified mode
 /// </summary>
 /// <param name="hdc">Handle to the device context of the path</param>
 /// <param name="mode">Specifies the way to use the path</param>
 /// <returns>If the function succeeds, the return value is true, else false</returns>
 public static bool SelectClipPath([In] IntPtr hdc, ClippingOperationMode mode)
 {
     return Native.SelectClipPath(hdc, mode);
 }