Beispiel #1
0
        //
        // AddRectangle
        //
        public void AddRectangle(Rectangle rect)
        {
            int status = Gdip.GdipAddPathRectangleI(_nativePath, rect.X, rect.Y, rect.Width, rect.Height);

            Gdip.CheckStatus(status);
        }
Beispiel #2
0
 public void AddRectangle(Rectangle rect)
 {
     Gdip.CheckStatus(Gdip.GdipAddPathRectangleI(
                          new HandleRef(this, _nativePath),
                          rect.X, rect.Y, rect.Width, rect.Height));
 }