Examples of scaleNonUniform()


Examples of net.sf.latexdraw.parsers.svg.SVGMatrix.scaleNonUniform()

  @Test
  public void testScaleNonUniform() {
    SVGMatrix m = new SVGMatrix();
    double sx = 5.877423, sy = -0.04;

    m.scaleNonUniform(sx, sy);
    assertEquals(m.getA(), sx, 0.0001);
    assertEquals(m.getB(), 0., 0.0001);
    assertEquals(m.getC(), 0., 0.0001);
    assertEquals(m.getD(), sy, 0.0001);
    assertEquals(m.getE(), 0., 0.0001);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.