From c86f17fd2e76dd00a7e064c78f5847215463e475 Mon Sep 17 00:00:00 2001 From: REAS Date: Sat, 6 Jun 2015 15:10:42 -0700 Subject: [PATCH 1/2] Move location of smooth() and noSmooth() in the Reference to Environment --- core/src/processing/core/PApplet.java | 6 +++--- core/src/processing/core/PGraphics.java | 9 +++++---- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/core/src/processing/core/PApplet.java b/core/src/processing/core/PApplet.java index c66f54b03..d8018bfb2 100644 --- a/core/src/processing/core/PApplet.java +++ b/core/src/processing/core/PApplet.java @@ -11486,7 +11486,7 @@ public class PApplet implements PConstants { * * ( end auto-generated ) * - * @webref shape:attributes + * @webref Environment * @see PGraphics#noSmooth() * @see PGraphics#hint(int) * @see PApplet#size(int, int, String) @@ -11499,7 +11499,7 @@ public class PApplet implements PConstants { /** * - * @param level either 2, 4, or 8 + * @param level either 0, 1, 2, 4, or 8 */ public void smooth(int level) { if (recorder != null) recorder.smooth(level); @@ -11513,7 +11513,7 @@ public class PApplet implements PConstants { * Draws all geometry with jagged (aliased) edges. * * ( end auto-generated ) - * @webref shape:attributes + * @webref Environment * @see PGraphics#smooth() */ public void noSmooth() { diff --git a/core/src/processing/core/PGraphics.java b/core/src/processing/core/PGraphics.java index 12df26168..cf89e0068 100644 --- a/core/src/processing/core/PGraphics.java +++ b/core/src/processing/core/PGraphics.java @@ -1098,7 +1098,8 @@ public class PGraphics extends PImage implements PConstants { * enabled or disabled. * * ( end auto-generated ) - * @webref rendering + * + * @webref Rendering * @param which name of the hint to be enabled or disabled * @see PGraphics * @see PApplet#createGraphics(int, int, String, String) @@ -3574,7 +3575,7 @@ public class PGraphics extends PImage implements PConstants { * * ( end auto-generated ) * - * @webref shape:attributes + * @webref Environment * @see PGraphics#noSmooth() * @see PGraphics#hint(int) * @see PApplet#size(int, int, String) @@ -3585,7 +3586,7 @@ public class PGraphics extends PImage implements PConstants { /** * - * @param level either 2, 4, or 8 + * @param level either 0, 1, 2, 4, or 8 */ public void smooth(int level) { smooth = true; @@ -3597,7 +3598,7 @@ public class PGraphics extends PImage implements PConstants { * Draws all geometry with jagged (aliased) edges. * * ( end auto-generated ) - * @webref shape:attributes + * @webref Environment * @see PGraphics#smooth() */ public void noSmooth() { From cfcbc85b8a526fbd4ab5b366afd6999a424cc16a Mon Sep 17 00:00:00 2001 From: REAS Date: Sat, 6 Jun 2015 15:26:58 -0700 Subject: [PATCH 2/2] Corrections to Reference for new 3.0 API --- core/src/processing/core/PApplet.java | 2 +- core/src/processing/core/PGraphics.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/core/src/processing/core/PApplet.java b/core/src/processing/core/PApplet.java index d8018bfb2..ca204f483 100644 --- a/core/src/processing/core/PApplet.java +++ b/core/src/processing/core/PApplet.java @@ -1534,7 +1534,7 @@ public class PApplet implements PConstants { * * ( end auto-generated ) * @webref environment - * @param renderer the renderer to use, e.g. P2D, P2D_2X, P3D... + * @param renderer the renderer to use, e.g. JAVA2D, JAVA2D_2X, P2D, P2D_2X, P3D, P3D_2X * @see PApplet#settings() * @see PApplet#setup() * @see PApplet#size() diff --git a/core/src/processing/core/PGraphics.java b/core/src/processing/core/PGraphics.java index cf89e0068..e804bf292 100644 --- a/core/src/processing/core/PGraphics.java +++ b/core/src/processing/core/PGraphics.java @@ -1099,7 +1099,7 @@ public class PGraphics extends PImage implements PConstants { * * ( end auto-generated ) * - * @webref Rendering + * @webref rendering * @param which name of the hint to be enabled or disabled * @see PGraphics * @see PApplet#createGraphics(int, int, String, String) @@ -1953,7 +1953,7 @@ public class PGraphics extends PImage implements PConstants { * * ( end auto-generated ) * - * @webref Rendering + * @webref rendering * @param mode the blending mode to use */ public void blendMode(int mode) {