Examples of skewY()


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

  @Test
  public void testSkewY() {
    SVGMatrix m = new SVGMatrix();
    double angle = -7.7283;

    m.skewY(angle);
    assertEquals(m.getA(), 1., 0.0001);
    assertEquals(m.getB(), Math.tan(angle), 0.0001);
    assertEquals(m.getC(), 0., 0.0001);
    assertEquals(m.getD(), 1., 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.