Examples of resize()


Examples of org.woped.editor.orientation.EditorSize.resize()

    }
    this.turnCycleArcs();// back to cycles

    // Resize the EditorWindow
    EditorSize editorSize = new EditorSize(editor);
    editorSize.resize(false);

    editor.getGraph().drawNet(editor.getModelProcessor());
    editor.updateNet();
    editor.getEditorPanel().updateUI();
View Full Code Here

Examples of processing.core.PImage.resize()

//    PImage fotoButtonImg = p.loadImage(System.getProperty("user.dir")+File.separator + "examples"+  File.separator +"advanced"+ File.separator+ File.separator +"modestMapsMT"+ File.separator +  File.separator + "data"+ File.separator +
//        "foto6.png");
    //Load image from classpath
    PImage fotoButtonImg = p.loadImage( "advanced" + MTApplication.separator + "modestMapsMT" + MTApplication.separator + "data" + MTApplication.separator +
    "foto6.png");
    fotoButtonImg.resize((int)(fotoButtonImg.width/1.5f), (int)(fotoButtonImg.height/1.5f));
    fotoButton = new MTImageButton(fotoButtonImg, p);
    fotoButton.setName("fotoButton");
    fotoButton.setNoStroke(true);
    fotoButton.setDepthBufferDisabled(true); //Draw on top of everything
//    fotoButton.translate(new Vector3D(MT4jSettings.getInstance().getScreenWidth() - fotoButton.getWidthXY(TransformSpace.RELATIVE_TO_PARENT) -5, MT4jSettings.getInstance().getScreenHeight()- fotoButton.getHeightXY(TransformSpace.RELATIVE_TO_PARENT) -5, 0));
View Full Code Here

Examples of railo.runtime.img.Image.resize()

      img = new Image(transparent?dec.getPageAsTransparentImage(page):dec.getPageAsImage(page));
    } catch (PdfException e) {
      throw Caster.toPageException(e);
    }
    if(scale!=100)
      img.resize(scale, goodQuality?"highestquality":"highperformance", 1);
    img.writeOut(destination,format, overwrite, 1f);
  }


  public Image toImage(byte[] input,int page) throws IOException, PageException {
View Full Code Here

Examples of railo.runtime.type.Array.resize()

    }
   
    public static Array toArray(QueryColumn column) throws PageException {
        Array clone=new ArrayImpl();
        int len=column.size();
        clone.resize(len);
       
        for(int i=1;i<=len;i++) {
            clone.setE(i,QueryUtil.getValue(column,i));
        }
        return clone;
View Full Code Here

Examples of railo.runtime.type.ArrayImpl.resize()

    }
   
    public static Array toArray(QueryColumn column) throws PageException {
        Array clone=new ArrayImpl();
        int len=column.size();
        clone.resize(len);
       
        for(int i=1;i<=len;i++) {
            clone.setE(i,QueryUtil.getValue(column,i));
        }
        return clone;
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.