Examples of mpt2units()


Examples of org.apache.fop.afp.AFPUnitConverter.mpt2units()

        objectAreaInfo.setWidthRes(resolution);
        objectAreaInfo.setHeightRes(resolution);

        AFPUnitConverter unitConv = paintingState.getUnitConverter();
        objectAreaInfo.setWidth(Math.round(unitConv.mpt2units(width)));
        objectAreaInfo.setHeight(Math.round(unitConv.mpt2units(height)));

        int rotation = paintingState.getRotation();
        objectAreaInfo.setRotation(rotation);
View Full Code Here

Examples of org.apache.fop.afp.AFPUnitConverter.mpt2units()

        objectAreaInfo.setWidthRes(resolution);
        objectAreaInfo.setHeightRes(resolution);

        AFPUnitConverter unitConv = paintingState.getUnitConverter();
        objectAreaInfo.setWidth(Math.round(unitConv.mpt2units(width)));
        objectAreaInfo.setHeight(Math.round(unitConv.mpt2units(height)));

        int rotation = paintingState.getRotation();
        objectAreaInfo.setRotation(rotation);

        return objectAreaInfo;
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.