Examples of lengthRequiresFontSize()


Examples of org.foray.fotree.value.DtShape.lengthRequiresFontSize()

    public Shape getValue(final FoContext context, final FObj fobj,
            final Shape containerShape) {
        if (value() instanceof DtShape) {
            final DtShape shape = (DtShape) value();
            int fontSize = 0;
            if (shape.lengthRequiresFontSize()) {
                fontSize = fobj.traitFontSize(context);
            }
            return shape.computeShape(containerShape, fontSize);
        }
        if (value().canEvalKeyword()) {
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.