Examples of Image


Examples of NestedWindow.Image

        PictureWin pic = new PictureWin();
        Row.set(pic, 1);
        Column.set(pic, 1);
        Parent.set(pic, this.getqq_five());

        Image img = new Image();
        Row.set(img, 1);
        Column.set(img, 1);
        Parent.set(img, this.getqq_six());
    }
View Full Code Here

Examples of ae.java.awt.Image

            if (!isImageFormat(format)) {
                throw new IOException("Data translation failed: " +
                                      "not an image format");
            }

            Image image = (Image)obj;
            byte[] bytes = imageToPlatformBytes(image, format);

            if (bytes == null) {
                throw new IOException("Data translation failed: " +
                    "cannot convert java image to native format");
View Full Code Here

Examples of at.riemers.zero.base.model.Image

   
    }

    public Image findBySource(String sourceId, String resolution) {

        Image source = new Image();
        source.setId(sourceId);
        Criteria c = createCriteria()
                .add(Restrictions.eq("source", source)).add(Restrictions.eq("resolution", resolution));

        List<Image> list = c.list();
        if (list.isEmpty()) return null;
View Full Code Here

Examples of ch.blackspirit.graphics.Image

  public void draw(Graphics graphics, float width, float height, int subImageX, int subImageY, int subImageWidth, int subImageHeight) {
    draw(graphics, width, height, subImageX, subImageY, subImageWidth, subImageHeight, Flip.NONE);
  }
  public void draw(Graphics graphics, float width, float height, int subImageX, int subImageY, int subImageWidth, int subImageHeight, Flip flip) {
        T frame = getFrame();
        Image image = frame.getImage();

        graphics.drawImage(image,
        width, height,
        frame.getSubImageX() + subImageX, frame.getSubImageY() + subImageY,
        subImageWidth, subImageHeight,
View Full Code Here

Examples of codechicken.nei.Image

    @Override
    public void drawIcons()
    {
        int x = buttonX();
        LayoutManager.drawIcon(x+4, 4, new Image(120, 24, 12, 12)); x+=24;
        LayoutManager.drawIcon(x+4, 4, new Image(120, 12, 12, 12)); x+=24;
        LayoutManager.drawIcon(x+4, 4, new Image(168, 24, 12, 12)); x+=24;
        LayoutManager.drawIcon(x+4, 4, new Image(144, 12, 12, 12)); x+=24;
        LayoutManager.drawIcon(x+4, 4, new Image(180, 24, 12, 12)); x+=24;
        LayoutManager.drawIcon(x+4, 4, new Image(132, 12, 12, 12)); x+=24;
        RenderHelper.enableGUIStandardItemLighting();
        GL11.glEnable(GL12.GL_RESCALE_NORMAL);
        ItemStack sword = new ItemStack(Items.diamond_sword);
        sword.addEnchantment(Enchantment.sharpness, 1);
        GuiContainerManager.drawItem(x+2, 2, sword); x+=24;
View Full Code Here

Examples of com.amazonaws.services.ec2.model.Image

    final String imageId = result.getImageId();

    logger.info("register imageId=" + imageId);

    final Image image = waitForImage(imageId);

    return image;

  }
View Full Code Here

Examples of com.ardor3d.image.Image

            return null; // setting the cursor to null in LWJGL means using the system default one
        }

        final boolean eightBitAlpha = (Cursor.getCapabilities() & Cursor.CURSOR_8_BIT_ALPHA) != 0;

        final Image image = cursor.getImage();

        final boolean isRgba = image.getDataFormat() == ImageDataFormat.RGBA;
        final int imageWidth = image.getWidth();
        final int imageHeight = image.getHeight();

        final ByteBuffer imageData = image.getData(0);
        imageData.rewind();
        final IntBuffer imageDataCopy = BufferUtils.createIntBuffer(imageWidth * imageHeight);

        for (int y = 0; y < imageHeight; y++) {
            for (int x = 0; x < imageWidth; x++) {
View Full Code Here

Examples of com.asual.summer.sample.domain.Technology.Image

    return new ModelAndView("/edit", model);
  }
 
  @RequestMapping("/image/{value}")
  public void image(@PathVariable("value") String value, HttpServletResponse response) throws IOException {
    Image image = Technology.findImage(value);
    if (image != null) {
      response.setContentLength(image.getBytes().length);
      response.setContentType(image.getContentType());
      response.getOutputStream().write(image.getBytes());
    } else {
      response.setStatus(HttpServletResponse.SC_NOT_FOUND);
    }
    response.getOutputStream().flush();
    response.getOutputStream().close();
View Full Code Here

Examples of com.badlogic.gdx.scenes.scene2d.actors.Image

  }

  public Actor newWidget (TableLayout layout, String className) {
    if (layout.atlas != null) {
      AtlasRegion region = layout.atlas.findRegion(className);
      if (region != null) return new Image(className, region);
    }
    return super.newWidget(layout, className);
  }
View Full Code Here

Examples of com.badlogic.gdx.scenes.scene2d.ui.Image

    }
  }

  private void drawBombs() {
   
    Image object = new Image(world.level.getTexture("bomb"));
    object.setPosition(ship.getBomb().x, ship.getBomb().y);
    object.setOrigin(ship.getBomb().getWidth() / 2,ship.getBomb().getHeight() / 2);
    object.setWidth(ship.getBomb().getWidth());
    object.setHeight(ship.getBomb().getHeight());
    object.setScale(1, 1);
    object.setRotation(ship.getBombRotation());
 

   
    stage.addActor(object);
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.