Examples of convertTimeToPixel()


Examples of viewer.zoomable.CoordPixelImage.convertTimeToPixel()

        float                 rStart, rFinal;
        int                   xloc, yloc, width, height;
        // local_rect is created with CanvasTimeline's pixel coordinate system
        coord_xform = new CoordPixelImage( this, row_height,
                                           super.getTimeBoundsOfImages() );
        xloc   = coord_xform.convertTimeToPixel( dobj.getEarliestTime() );
        width  = coord_xform.convertTimeToPixel( dobj.getLatestTime() )
               - xloc;

        /* assume RowID and NestingFactor have been calculated */
        rowID       = dobj.getRowID();
View Full Code Here

Examples of viewer.zoomable.CoordPixelImage.convertTimeToPixel()

        int                   xloc, yloc, width, height;
        // local_rect is created with CanvasTimeline's pixel coordinate system
        coord_xform = new CoordPixelImage( this, row_height,
                                           super.getTimeBoundsOfImages() );
        xloc   = coord_xform.convertTimeToPixel( dobj.getEarliestTime() );
        width  = coord_xform.convertTimeToPixel( dobj.getLatestTime() )
               - xloc;

        /* assume RowID and NestingFactor have been calculated */
        rowID       = dobj.getRowID();
        nesting_ftr = dobj.getNestingFactor();
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.