Package org.openpnp.model

Examples of org.openpnp.model.Footprint$Pad


    g2d.setRenderingHint(RenderingHints.KEY_ANTIALIASING,
        RenderingHints.VALUE_ANTIALIAS_ON);
    g2d.setColor(color);
   

    Footprint footprint = pkg.getFootprint();
    Shape shape = footprint.getShape();
    if (shape == null) {
        return;
    }
    // Determine the scaling factor to go from Outline units to
    // Camera units.
    Length l = new Length(1, footprint.getUnits());
    l = l.convertToUnits(cameraUnitsPerPixelUnits);
    double unitScale = l.getValue();
   
    // Create a transform to scale the Shape by
    AffineTransform tx = new AffineTransform();
View Full Code Here

TOP

Related Classes of org.openpnp.model.Footprint$Pad

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.