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

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