Setting anti-aliasing level with smooth()

This commit is contained in:
codeanticode
2011-11-25 02:53:44 +00:00
parent 4ab37d0b59
commit ce6855d742
3 changed files with 119 additions and 54 deletions

View File

@@ -10713,6 +10713,12 @@ public class PApplet extends Applet
}
public void smooth(int level) {
if (recorder != null) recorder.smooth(level);
g.smooth(level);
}
/**
* ( begin auto-generated from noSmooth.xml )
*

View File

@@ -2964,6 +2964,10 @@ public class PGraphics extends PImage implements PConstants {
smooth = true;
}
public void smooth(int level) {
smooth = true;
}
/**
* ( begin auto-generated from noSmooth.xml )
*