Package com.tinyline.tiny2d

Examples of com.tinyline.tiny2d.TinyPoint


        int hH = daHeight(tile) >> 1;
        int triangleYTop = wH - ONE;
        int triangleXBottom = triangleYTop * 866 / 1000; // * sqrt(3)/2
        int triangleYBottom = triangleYTop / 2;
        TinyVector poly = new TinyVector(3);
        poly.addElement(new TinyPoint(daAnchorX + wH, daAnchorY + hH - triangleYTop));
        poly.addElement(new TinyPoint(daAnchorX + wH + triangleXBottom, daAnchorY + hH + triangleYBottom));
        poly.addElement(new TinyPoint(daAnchorX + wH - triangleXBottom, daAnchorY + hH + triangleYBottom));
        t2d.drawPolygon(poly);
    }
View Full Code Here


//  System.out.println("handleEvent " + evt.getType());
   
    SVGEvent theEvent = (SVGEvent) evt;
    SVGRect view,origview;
    SVGDocument document;
    TinyPoint point;
    TinyRect  rect;
    SVGEvent event;
    String url;
   
    switch(theEvent.id)
View Full Code Here

TOP

Related Classes of com.tinyline.tiny2d.TinyPoint

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.