Package com.lightcrafts.model.ImageEditor

Examples of com.lightcrafts.model.ImageEditor.Rendering


        pb.add(height);
        return JAI.create("Crop", pb, hints);
    }

    static public PlanarImage scaledRendering(Rendering rendering, Operation op, float scale, boolean cheap) {
        Rendering newRendering = rendering.clone();
        float oldScale = rendering.getScaleFactor();
        newRendering.cheapScale = cheap;
        newRendering.setScaleFactor(scale * oldScale);
        return newRendering.getRendering(rendering.indexOf(op));
    }
View Full Code Here

TOP

Related Classes of com.lightcrafts.model.ImageEditor.Rendering

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.