Package net.sf.nfp.mini.misc

Examples of net.sf.nfp.mini.misc.Transformation


    margin = font.stringWidth("00.0");
    detailsHeight = font.getHeight() + 2;
    Log.log("font.getHeight()="+font.getHeight());
    Log.log("detailsHeight="+detailsHeight );
    height = getHeight() - detailsHeight;
    tx = new Transformation(0, (getWidth() - margin) / 6, margin,
        getWidth());
    ty = new Transformation(Observation.MIN_TEMP, Observation.MAX_TEMP,
        height, 0);
    ity = new Transformation(0, height, Observation.MAX_TEMP,
        Observation.MIN_TEMP);
    backgroundStripeHeight = Math.abs(ty.get(Observation.MIN_TEMP)
        - ty.get(Observation.MIN_TEMP + 10));
  }
View Full Code Here

TOP

Related Classes of net.sf.nfp.mini.misc.Transformation

Copyright © 2018 www.massapicom. 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.