Examples of TinyVector


Examples of com.tinyline.tiny2d.TinyVector

        int wH = daWidth(tile) >> 1;
        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

Examples of com.tinyline.tiny2d.TinyVector

    setBackground(new Color(184,200,216));
    loadComplete = false;

    // Makes the events queues
    eventQueue  =  new SVGEventQueue();
    listeners   =  new TinyVector(4);
   
    // Makes the image cash
    tracker   = new MediaTracker(this);
       
    // Adds the default events listener
View Full Code Here

Examples of com.tinyline.tiny2d.TinyVector

    // Uncomment the following line for full antialiasing
    raster.setAntialiased(true);
   
    // Makes the events queues
    eventQueue  =  new SVGEventQueue();
    listeners   =  new TinyVector(4);
    // Makes the image cash
    imageCash = new Hashtable();
  }
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.