Examples of smooth()


Examples of processing.core.PApplet.smooth()

    }else{ //Draw with pure proccessing...
      pa.strokeWeight(this.getStrokeWeight());
     
//      if (ConstantsAndSettings.getInstance().isOpenGlMode()){
        if (this.isDrawSmooth())
          pa.smooth();
        else      
          pa.noSmooth();
//      }
     
      //NOTE: if noFill() and noStroke()->absolutely nothing will be drawn-even when texture is set
View Full Code Here

Examples of processing.core.PApplet.smooth()

        MTColor strokeColor = this.getStrokeColor();
        pa.stroke(strokeColor.getR(), strokeColor.getG(), strokeColor.getB(), strokeColor.getAlpha());
        pa.strokeWeight(2);
       
        if (this.isDrawSmooth())
          pa.smooth();
       
        for (Vertex[] outline : this.outlineContours){
          this.drawWithProcessing(pa, outline, PApplet.POLYGON, false);
        }
      }
View Full Code Here

Examples of processing.core.PGraphics.smooth()

    saveImg.ambientLight(200, 200, 200);
    saveImg.directionalLight(69, 69, 69, 0, 0, -1);
    saveImg.lightFalloff(1, 0, 0);

    saveImg.smooth(8);

    saveImg.background(255);

    saveImg.pushMatrix();
    // this.applyTranslationMatrix(g);
View Full Code Here

Examples of processing.core.PGraphics.smooth()

    //diagramImg.background(255,255,255,1);
    diagramImg.ortho(-(w / 2), (w / 2), -(h / 2), (h / 2), -1000, 10000);
    //diagramImg.hint(PApplet.DISABLE_STROKE_PERSPECTIVE);

    diagramImg.pushMatrix();
    diagramImg.smooth(8);

    if (useCurrentView) {

      diagramImg.translate(w / 2, h / 2, 0);
View Full Code Here

Examples of processing.core.PGraphics.smooth()

    saveImg.beginDraw();
    saveImg.ortho(-(width / 2), (width / 2), -(height / 2), (height / 2),
        -1000, 10000);
    //saveImg.hint(PApplet.DISABLE_STROKE_PERSPECTIVE);

    saveImg.smooth(8);
    saveImg.pushMatrix();

    saveImg.translate(-minX + border, -minY + border);
    this.renderSilhouette(saveImg);
View Full Code Here

Examples of processing.core.PGraphics.smooth()

  public boolean rebuildStencilBuffer = true;
  public static PImage makeImgDown(float w, float h, PImage img) {

    PGraphics pg = appletStatic.createGraphics((int) w, (int) h,
        PApplet.JAVA2D);
    pg.smooth();
    pg.beginDraw();
   
    pg.noStroke();
    pg.background(255);
    pg.rect(0,0,w,h);
View Full Code Here

Examples of processing.core.PGraphics.smooth()

    pg.noStroke();
    pg.background(255);
    pg.rect(0,0,w,h);
   
   
    pg.smooth();
    pg.stroke(200, 200, 200);
    pg.fill(194, 217, 216);

    pg.strokeWeight(1);
View Full Code Here

Examples of processing.core.PGraphics.smooth()

  }

  public static PImage makeImgOver(int w, int h, PImage img) {

    PGraphics pg = appletStatic.createGraphics(w, h, PApplet.JAVA2D);
    pg.smooth();
    pg.beginDraw();
   
    pg.noStroke();

    pg.smooth();
View Full Code Here

Examples of processing.core.PGraphics.smooth()

    pg.smooth();
    pg.beginDraw();
   
    pg.noStroke();

    pg.smooth();
    pg.strokeWeight(1);
    pg.stroke(200, 200, 200);
    pg.noFill();

    roundrect(pg, 0, 0, w + 4, h + 4, 4); //right bottom border off texture
View Full Code Here

Examples of processing.core.PGraphics.smooth()

  public static PImage makeImgUp(float w, float h, PImage img) {

    PGraphics pg = appletStatic.createGraphics((int) w, (int) h,
        PApplet.JAVA2D );
    pg.smooth();
    pg.beginDraw();
    pg.smooth();
   
    pg.noStroke();
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.