public static extern bool SelectClipPath([In] IntPtr hdc, ClippingOperationMode mode);
/// <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)); }
public static extern ClippingRegionType ExtSelectClipRgn([In] IntPtr hdc, [In] IntPtr hrgn, ClippingOperationMode mode);
/// <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)); }
/// <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); }
/// <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); }