Examples of height()


Examples of CtCILibrary.TreeNode.height()

   
    // We needed this code for other files, so check out the code in the library
    TreeNode root = TreeNode.createMinimalBST(array);
    System.out.println("Root? " + root.data);
    System.out.println("Created BST? " + root.isBST());
    System.out.println("Height: " + root.height());
  }

}
View Full Code Here

Examples of com.google.gwt.resources.client.AutoConversionBundle.ConstantConditional.height()

    String expectedCss = "." + constantConditional.foo() + "{width:15px;height:10px;color:black}";
    assertEquals(expectedCss, constantConditional.getText());
    assertEquals("black", constantConditional.color());
    assertEquals(15, constantConditional.width());
    assertEquals(10, constantConditional.height());
  }

  public void testLenientExternal() {
    LenientExternal lenientExternal = res().lenientExternal();
View Full Code Here

Examples of com.google.gwt.resources.client.gss.AutoConversionBundle.ConstantConditional.height()

    String expectedCss = "." + constantConditional.foo() + "{width:15px;height:10px;color:black}";
    assertEquals(expectedCss, constantConditional.getText());
    assertEquals("black", constantConditional.color());
    assertEquals(15, constantConditional.width());
    assertEquals(10, constantConditional.height());
  }

  public void testLenientExternal() {
    LenientExternal lenientExternal = res().lenientExternal();
View Full Code Here

Examples of com.googlecode.javacv.cpp.opencv_core.CvRect.height()

                    // We iterate over the discovered faces and draw yellow rectangles 
                    // around them.
                    for (int i = 0; i < faces.total(); i++) {
                        CvRect r = new CvRect(cvGetSeqElem(faces, i));
                        cvRectangle(frame, cvPoint(r.x(), r.y()),
                                cvPoint(r.x() + r.width(), r.y() + r.height()),
                                CvScalar.YELLOW, 1, CV_AA, 0);
                       
                    }
                }
                canvasFrame.showImage(frame);
View Full Code Here

Examples of com.googlecode.javacv.cpp.opencv_core.IplImage.height()

    grabber.setFrameRate(frameRate);
    grabber.start();
    int numOfFrames = 0;
    int maxFramesIn10Seconds = 100;
    IplImage currFrame = grabber.grab();
    int height = currFrame.height();
    int width = currFrame.width();
    try {
      while (numOfFrames < maxFramesIn10Seconds) {
        if (currFrame != null) {
          String i = "" + numOfFrames;
View Full Code Here

Examples of com.lowagie.text.Image.height()

                String savePathImage = FileHelper.getCurrentPath(request) + levelPlan.getWayToLevelPlanImage();

                byte[]  bytes = createImage(levelPlan.getWayToLevelPlan(), levelPlan.getWayToLevelPlanImage(), FileHelper.getCurrentPath(request));

                Image image = Image.getInstance(savePathImage);
                newInformation += ReportUtil.createPhoto("CompanyLicense", image.height(), image.width(), savePathImage);
                ReportUtil.insertImage(savePathImage,bytes, template);
                result += newInformation;


            }
View Full Code Here

Examples of com.lowagie.text.Rectangle.height()

            try
            {
                if ( currentField.getType().equals( Rectangle.class ) )
                {
                    Rectangle fPageSize = (Rectangle) currentField.get( null );
                    if ( ( rect.width() == fPageSize.width() ) && ( rect.height() == fPageSize.height() ) )
                    {
                        return currentField.getName();
                    }
                }
            }
View Full Code Here

Examples of com.trolltech.qt.core.QRect.height()

    painter.fillRect(desktop.screenGeometry(screen), QColor.black);

    QRect availGeo = desktop.availableGeometry(screen);
   
    int x1 = (availGeo.width()/2)-(image.size().width()/2);
    int y1 = (availGeo.height()/2)-(image.size().height()/2);
   
    painter.drawImage(new QPoint(x1,y1), image);
  }

View Full Code Here

Examples of com.trolltech.qt.core.QSize.height()

  public void moveToTile(String tile){
    Tile t = design.getDevice().getTile(tile);
    int tileSize = scene.getTileSize();
    QSize size = this.frameSize();
    view.fitInView(scene.getDrawnTileX(t)*tileSize - size.width()/2,
        scene.getDrawnTileY(t)*tileSize - size.height()/2,
        size.width(), size.height(), AspectRatioMode.KeepAspectRatio);
    view.zoomIn(); view.zoomIn();
    view.zoomIn(); view.zoomIn();   
    scene.updateCurrXY(scene.getDrawnTileX(t), scene.getDrawnTileY(t));
    scene.updateCursor();
View Full Code Here

Examples of com.trolltech.qt.gui.QFontMetrics.height()

    hideColumn(Global.noteTableGuidPosition)// Hide the guid column
    setShowGrid(false);
    setEditTriggers(QAbstractItemView.EditTrigger.NoEditTriggers);
   
    QFontMetrics f = QApplication.fontMetrics();
    fontHeight = f.height();
    rowChanged = new Signal1<String>();
    resetViewport = new Signal0();
   
    NoteTableDateDelegate dateDelegate = new NoteTableDateDelegate();
    setItemDelegateForColumn(Global.noteTableCreationPosition, dateDelegate);
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.