public object Deserialize(object o, Altaxo.Serialization.Xml.IXmlDeserializationInfo info, object parent) { AngularScale s = SDeserialize(o, info, parent); OnAfterDeserialization(s); return(s); }
public AngularScale(AngularScale from) { _useDegree = from._useDegree; _majorTickDivider = from._majorTickDivider; _minorTickDivider = from._minorTickDivider; _scaleOrigin = from._scaleOrigin; _usePositiveNegativeAngles = from._usePositiveNegativeAngles; _cachedAxisOrg = from._cachedAxisOrg; _cachedAxisSpan = from._cachedAxisSpan; _cachedOneByAxisSpan = from._cachedOneByAxisSpan; }
protected virtual AngularScale SDeserialize(object o, Altaxo.Serialization.Xml.IXmlDeserializationInfo info, object parent) { AngularScale s = null != o ? (AngularScale)o : new AngularScale(); s._useDegree = info.GetBoolean("UseDegree"); s._majorTickDivider = info.GetInt32("MajorTickDiv"); s._minorTickDivider = info.GetInt32("MinorTickDiv"); s._scaleOrigin = info.GetInt32("Org90"); s._usePositiveNegativeAngles = info.GetBoolean("PosNegAngles"); // set cached values is called by the enclosing function return(s); }
protected virtual void OnAfterDeserialization(AngularScale s) { s.SetCachedValues(); }
public AngularScale(AngularScale from) { this._useDegree = from._useDegree; this._majorTickDivider = from._majorTickDivider; this._minorTickDivider = from._minorTickDivider; this._scaleOrigin = from._scaleOrigin; this._usePositiveNegativeAngles = from._usePositiveNegativeAngles; this._cachedAxisOrg = from._cachedAxisOrg; this._cachedAxisSpan = from._cachedAxisSpan; this._cachedOneByAxisSpan = from._cachedOneByAxisSpan; }