Examples of bottom()


Examples of com.lowagie.text.pdf.PdfRectangle.bottom()

                    pageSize.getRight() - rect.right(),
                    pageSize.getTop() - rect.top()));
                            break;
                          case 270:
                            dic.put(PdfName.RECT, new PdfRectangle(
                                rect.bottom(),
                    pageSize.getRight() - rect.left(),
                    rect.top(),
                    pageSize.getRight() - rect.right()));
                            break;
                      }
View Full Code Here

Examples of com.sun.opengl.util.texture.TextureCoords.bottom()

            gl.glVertex3d(cell.getX(), cell.getY(), 0);

            gl.glTexCoord2d(tc.right(), tc.top());
            gl.glVertex3d(cell.getX() + cell.getWidth(), cell.getY(), 0);

            gl.glTexCoord2d(tc.right(), tc.bottom());
            gl.glVertex3d(cell.getX() + cell.getWidth(),
                    cell.getY() + cell.getHeight(), 0);

            gl.glTexCoord2d(tc.left(), tc.bottom());
            gl.glVertex3d(cell.getX(), cell.getY() + cell.getHeight(), 0);
View Full Code Here

Examples of com.sun.opengl.util.texture.TextureCoords.bottom()

            gl.glTexCoord2d(tc.right(), tc.bottom());
            gl.glVertex3d(cell.getX() + cell.getWidth(),
                    cell.getY() + cell.getHeight(), 0);

            gl.glTexCoord2d(tc.left(), tc.bottom());
            gl.glVertex3d(cell.getX(), cell.getY() + cell.getHeight(), 0);
            gl.glEnd();
            t.disable();
        } catch (Exception e) {
            e.printStackTrace();
View Full Code Here

Examples of com.sun.opengl.util.texture.TextureCoords.bottom()

            gl.glVertex3d(cell.getX(), cell.getY(), 0);

            gl.glTexCoord2d(tc.right(), tc.top());
            gl.glVertex3d(cell.getX() + cell.getWidth(), cell.getY(), 0);

            gl.glTexCoord2d(tc.right(), tc.bottom());
            gl.glVertex3d(cell.getX() + cell.getWidth(), cell.getY()
                    + cell.getHeight(), 0);

            gl.glTexCoord2d(tc.left(), tc.bottom());
            gl.glVertex3d(cell.getX(), cell.getY() + cell.getHeight(), 0);
View Full Code Here

Examples of com.sun.opengl.util.texture.TextureCoords.bottom()

            gl.glTexCoord2d(tc.right(), tc.bottom());
            gl.glVertex3d(cell.getX() + cell.getWidth(), cell.getY()
                    + cell.getHeight(), 0);

            gl.glTexCoord2d(tc.left(), tc.bottom());
            gl.glVertex3d(cell.getX(), cell.getY() + cell.getHeight(), 0);
            gl.glEnd();
            t.disable();
        } catch (Exception e) {
            e.printStackTrace();
View Full Code Here

Examples of com.trolltech.qt.core.QRectF.bottom()

      rect.setBottomRight(p);
      if (!rect.contains(newPos)) {
        // Keep the item inside the scene rect.
        newPos.setX(Math.min(rect.right(), Math.max(newPos.x(), rect
            .left())));
        newPos.setY(Math.min(rect.bottom(), Math.max(newPos.y(), rect
            .top())));
      }
      long x = Math.round(newPos.x() / scene.tileSize)
          * scene.tileSize;
      long y = Math.round(newPos.y() / scene.tileSize)
View Full Code Here

Examples of js.dom.ClientRect.bottom()

            popup.add(PopupViewStyle.Show.class);

            ClientRect popupArea = popup.position();
            ClientRect targetArea = root.position();

            popup.css("top", targetArea.bottom() + 15 + "px")
                    .css("left", targetArea.left() - popupArea.width() / 2 + targetArea.width() / 2 + "px");
        }

        /**
         *
 
View Full Code Here

Examples of limelight.util.Box.bottom()

    assertEquals(true, condition.canScroll());

    processor.setMouseLocation(7, sliderBounds.top() + 1);
    assertEquals(false, condition.canScroll());

    processor.setMouseLocation(7, sliderBounds.bottom() - 1);
    assertEquals(false, condition.canScroll());

    processor.setMouseLocation(7, sliderBounds.bottom() + 1);
    assertEquals(true, condition.canScroll());
  }
View Full Code Here

Examples of org.eclipse.draw2d.geometry.Rectangle.bottom()

        getOwner().translateToAbsolute(bounds);

        Point center = getReferencePoint();
        Point ref = center.getCopy().negate().translate(reference);
        if (ref.x == 0)
            return new Point(reference.x, (ref.y > 0) ? bounds.bottom() : bounds.bottom() - 2 * GRID_SIZE);
        if (ref.y == 0)
            return new Point((ref.x > 0) ? bounds.x + 2 * GRID_SIZE : bounds.x, reference.y);

        float dx = (ref.x > 0) ? 0.5f : -0.5f;
        float dy = (ref.y > 0) ? 0.5f : -0.5f;
View Full Code Here

Examples of org.eclipse.draw2d.geometry.Rectangle.bottom()

        getOwner().translateToAbsolute(bounds);

        Point center = getReferencePoint();
        Point ref = center.getCopy().negate().translate(reference);
        if (ref.x == 0)
            return new Point(reference.x, (ref.y > 0) ? bounds.bottom() : bounds.bottom() - 2 * GRID_SIZE);
        if (ref.y == 0)
            return new Point((ref.x > 0) ? bounds.x + 2 * GRID_SIZE : bounds.x, reference.y);

        float dx = (ref.x > 0) ? 0.5f : -0.5f;
        float dy = (ref.y > 0) ? 0.5f : -0.5f;
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.