Beispiel #1
0
 public void AddRectangle(RectangleF rect)
 {
     Gdip.CheckStatus(Gdip.GdipAddPathRectangle(
                          new HandleRef(this, _nativePath),
                          rect.X, rect.Y, rect.Width, rect.Height));
 }
Beispiel #2
0
        public void AddRectangle(RectangleF rect)
        {
            int status = Gdip.GdipAddPathRectangle(_nativePath, rect.X, rect.Y, rect.Width, rect.Height);

            Gdip.CheckStatus(status);
        }