Esempio n. 1
0
 /// <summary>
 /// The Copy Constructor
 /// </summary>
 /// <param name="rhs">The <see cref="ZoomState"/> object from which to copy</param>
 public ZoomState( ZoomState rhs )
 {
     _xAxis = new ScaleState( rhs._xAxis );
     _x2Axis = new ScaleState( rhs._x2Axis );
     _yAxis = new ScaleStateList( rhs._yAxis );
     _y2Axis = new ScaleStateList( rhs._y2Axis );
 }
Esempio n. 2
0
 /// <summary>
 /// The Copy Constructor
 /// </summary>
 /// <param name="rhs">The <see cref="ZoomState"/> object from which to copy</param>
 public ZoomState(ZoomState rhs)
 {
     _xAxis  = new ScaleState(rhs._xAxis);
     _x2Axis = new ScaleState(rhs._x2Axis);
     _yAxis  = new ScaleStateList(rhs._yAxis);
     _y2Axis = new ScaleStateList(rhs._y2Axis);
 }
Esempio n. 3
0
 /// <summary>
 /// Construct a <see cref="ZoomState"/> object from the scale ranges settings contained
 /// in the specified <see cref="GraphPane"/>.
 /// </summary>
 /// <param name="pane">The <see cref="GraphPane"/> from which to obtain the scale
 /// range values.
 /// </param>
 /// <param name="type">A <see cref="StateType"/> enumeration that indicates whether
 /// this saved state is from a pan or zoom.</param>
 public ZoomState( GraphPane pane, StateType type )
 {
     _xAxis = new ScaleState( pane.XAxis );
     _x2Axis = new ScaleState( pane.X2Axis );
     _yAxis = new ScaleStateList( pane.YAxisList );
     _y2Axis = new ScaleStateList( pane.Y2AxisList );
     _type = type;
 }
Esempio n. 4
0
 /// <summary>
 /// Construct a <see cref="ZoomState"/> object from the scale ranges settings contained
 /// in the specified <see cref="GraphPane"/>.
 /// </summary>
 /// <param name="pane">The <see cref="GraphPane"/> from which to obtain the scale
 /// range values.
 /// </param>
 /// <param name="type">A <see cref="StateType"/> enumeration that indicates whether
 /// this saved state is from a pan or zoom.</param>
 public ZoomState(GraphPane pane, StateType type)
 {
     _xAxis  = new ScaleState(pane.XAxis);
     _x2Axis = new ScaleState(pane.X2Axis);
     _yAxis  = new ScaleStateList(pane.YAxisList);
     _y2Axis = new ScaleStateList(pane.Y2AxisList);
     _type   = type;
 }
Esempio n. 5
0
        /// <summary>
        /// The Copy Constructor
        /// </summary>
        /// <param name="rhs">The <see cref="ScaleState"/> object from which to copy</param>
        public ScaleState(ScaleState rhs)
        {
            _min       = rhs._min;
            _majorStep = rhs._majorStep;
            _minorStep = rhs._minorStep;
            _max       = rhs._max;
            _majorUnit = rhs._majorUnit;
            _minorUnit = rhs._minorUnit;

            _format = rhs._format;
            _mag    = rhs._mag;

            _minAuto       = rhs._minAuto;
            _majorStepAuto = rhs._majorStepAuto;
            _minorStepAuto = rhs._minorStepAuto;
            _maxAuto       = rhs._maxAuto;

            _formatAuto = rhs._formatAuto;
            _magAuto    = rhs._magAuto;
        }
Esempio n. 6
0
        /// <summary>
        /// The Copy Constructor
        /// </summary>
        /// <param name="rhs">The <see cref="ScaleState"/> object from which to copy</param>
        public ScaleState( ScaleState rhs )
        {
            _min = rhs._min;
            _majorStep = rhs._majorStep;
            _minorStep = rhs._minorStep;
            _max = rhs._max;
            _majorUnit = rhs._majorUnit;
            _minorUnit = rhs._minorUnit;

            _format = rhs._format;
            _mag = rhs._mag;

            _minAuto = rhs._minAuto;
            _majorStepAuto = rhs._majorStepAuto;
            _minorStepAuto = rhs._minorStepAuto;
            _maxAuto = rhs._maxAuto;

            _formatAuto = rhs._formatAuto;
            _magAuto = rhs._magAuto;
        }