Examples of convertRowToPixel()


Examples of viewer.zoomable.CoordPixelImage.convertRowToPixel()

            // Draw the center TimeLines.
            offGraphics.setColor( Color.cyan );
            for ( irow = 0 ; irow < num_rows ; irow++ ) {
                //  Select only non-expanded row
                if ( ! tree_view.isExpanded( irow ) ) {
                    i_Y = coord_xform.convertRowToPixel( (float) irow );
                    offGraphics.drawLine( 0, i_Y, offImage_width-1, i_Y );
                }
            }

            // Draw the image separator when in Debug or Profile mode
View Full Code Here

Examples of viewer.zoomable.CoordPixelImage.convertRowToPixel()

            // Draw the center TimeLines.
            offGraphics.setColor( Color.cyan );
            for ( irow = 0 ; irow < num_rows ; irow++ ) {
                //  Select only non-expanded row
                if ( ! tree_view.isExpanded( irow ) ) {
                    i_Y = coord_xform.convertRowToPixel( (float) irow );
                    offGraphics.drawLine( 0, i_Y, offImage_width-1, i_Y );
                }
            }

            // Draw the image separator when in Debug or Profile mode
View Full Code Here

Examples of viewer.zoomable.CoordPixelImage.convertRowToPixel()

        rowID       = dobj.getRowID();
        nesting_ftr = dobj.getNestingFactor();
        rStart      = (float) rowID - nesting_ftr / 2.0f;
        rFinal      = rStart + nesting_ftr;

        yloc   = coord_xform.convertRowToPixel( rStart );
        height = coord_xform.convertRowToPixel( rFinal ) - yloc;
        local_rect = new Rectangle( xloc, yloc, width, height );
        return local_rect;
    }
View Full Code Here

Examples of viewer.zoomable.CoordPixelImage.convertRowToPixel()

        nesting_ftr = dobj.getNestingFactor();
        rStart      = (float) rowID - nesting_ftr / 2.0f;
        rFinal      = rStart + nesting_ftr;

        yloc   = coord_xform.convertRowToPixel( rStart );
        height = coord_xform.convertRowToPixel( rFinal ) - yloc;
        local_rect = new Rectangle( xloc, yloc, width, height );
        return local_rect;
    }

    private InfoPanelForDrawable createInfoPanelForDrawable( Drawable dobj )
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.