Ejemplo n.º 1
0
 public Rectangle(Vector2D location, Dimension2D size)
 {
     mvarX      = location.X;
     mvarY      = location.Y;
     mvarWidth  = size.Width;
     mvarHeight = size.Height;
 }
Ejemplo n.º 2
0
        public Dimension2D Rotate()
        {
            Dimension2D size  = this;
            double      width = size.Width;

            size.Width  = size.Height;
            size.Height = width;
            return(size);
        }
Ejemplo n.º 3
0
 public void SetControlMinimumSize(Control ctl, Dimension2D minimumSize)
 {
     mvarMinimumSizes[ctl] = minimumSize;
 }