System.Windows.Forms.XplatUICarbon.GetClippingRectangles C# (CSharp) Méthode

GetClippingRectangles() static private méthode

static private GetClippingRectangles ( IntPtr handle ) : System.Drawing.Rectangle[]
handle System.IntPtr
Résultat System.Drawing.Rectangle[]
		internal static Rectangle [] GetClippingRectangles (IntPtr handle) {
			Hwnd hwnd = Hwnd.ObjectFromHandle (handle);

			if (hwnd == null)
				return null;
 			if (hwnd.Handle != handle)
				return new Rectangle [] {hwnd.ClientRect};

			return (Rectangle []) hwnd.GetClippingRectangles ().ToArray (typeof (Rectangle));
		}
XplatUICarbon