Package org.apache.fop.afp.goca

Examples of org.apache.fop.afp.goca.GraphicsSetFractionalLineWidth


     * @param lineWidth the line width multiplier
     */
    public void setLineWidth(float lineWidth) {
        float epsilon = Float.intBitsToFloat ( 0x00800000 ); // Float.MIN_NORMAL (JDK1.6)
        if ( Math.abs ( graphicsState.lineWidth - lineWidth ) > epsilon ) {
            addObject(new GraphicsSetFractionalLineWidth(lineWidth));
            graphicsState.lineWidth = lineWidth;
        }
    }
View Full Code Here

TOP

Related Classes of org.apache.fop.afp.goca.GraphicsSetFractionalLineWidth

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.