Esempio n. 1
0
 public bool Equals(SvgViewBox other)
 {
     return(this.MinX == other.MinX &&
            this.MinY == other.MinY &&
            this.Width == other.Width &&
            this.Height == other.Height);
 }
Esempio n. 2
0
 public bool Equals(SvgViewBox other)
 {
     return this.MinX == other.MinX
         && this.MinY == MinY
         && this.Width == other.Width
         && this.Height == other.Height;
 }
Esempio n. 3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SvgFragment"/> class.
 /// </summary>
 public SvgFragment()
 {
     this._height = new SvgUnit(SvgUnitType.Percentage, 100.0f);
     this._width  = 1000.0f;
     this.ViewBox = SvgViewBox.Empty;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="SvgFragment"/> class.
 /// </summary>
 public SvgFragment()
 {
     this._height = new SvgUnit(SvgUnitType.Percentage, 100.0f);
     this._width = 1000.0f;
     this.ViewBox = SvgViewBox.Empty;
 }
Esempio n. 5
0
 public void SetViewBox(int view)
 {
     ViewBox = new SvgViewBox(0, Height * view, Width, Height);
 }