From 9f66d73efbe70e5bfca296869f36e6a2da84a6b0 Mon Sep 17 00:00:00 2001 From: Casey Reas Date: Sun, 18 Sep 2011 07:39:11 +0000 Subject: [PATCH] Reference changes propagating to .java files --- core/src/processing/core/PApplet.java | 198 ++++++++++-------- core/src/processing/core/PGraphics.java | 198 ++++++++++-------- core/todo.txt | 26 +-- .../video/src/processing/video/Capture.java | 6 +- todo.txt | 28 +-- 5 files changed, 251 insertions(+), 205 deletions(-) diff --git a/core/src/processing/core/PApplet.java b/core/src/processing/core/PApplet.java index 53708f839..02ba83ad7 100644 --- a/core/src/processing/core/PApplet.java +++ b/core/src/processing/core/PApplet.java @@ -11007,6 +11007,7 @@ public class PApplet extends Applet * @see PFont#PFont * @see PGraphics#text(String, float, float, float, float, float) * @see PGraphics#textFont(PFont) + * @see PGraphics#beginRaw(PGraphics) * @see PApplet#createFont(String, float, boolean) */ public void textMode(int mode) { @@ -11766,7 +11767,7 @@ public class PApplet extends Applet } -/** + /** * ( begin auto-generated from beginCamera.xml ) * * The beginCamera() and endCamera() functions enable @@ -11787,21 +11788,22 @@ public class PApplet extends Applet * endCamera() cannot be nested. * * ( end auto-generated ) - * @webref lights_camera:camera - * @see PGraphics#camera() - * @see PGraphics#endCamera() - * @see PGraphics#applyMatrix(PMatrix) - * @see PGraphics#resetMatrix() - * @see PGraphics#translate(float, float, float) - * @see PGraphics#scale(float, float, float) - */ + * + * @webref lights_camera:camera + * @see PGraphics#camera() + * @see PGraphics#endCamera() + * @see PGraphics#applyMatrix(PMatrix) + * @see PGraphics#resetMatrix() + * @see PGraphics#translate(float, float, float) + * @see PGraphics#scale(float, float, float) + */ public void beginCamera() { if (recorder != null) recorder.beginCamera(); g.beginCamera(); } -/** + /** * ( begin auto-generated from endCamera.xml ) * * The beginCamera() and endCamera() functions enable @@ -11809,16 +11811,17 @@ public class PApplet extends Applet * beginCamera() for a description of how the functions are used. * * ( end auto-generated ) - * @webref lights_camera:camera - * @see PGraphics#camera(float, float, float, float, float, float, float, float, float) - */ + * + * @webref lights_camera:camera + * @see PGraphics#camera(float, float, float, float, float, float, float, float, float) + */ public void endCamera() { if (recorder != null) recorder.endCamera(); g.endCamera(); } -/** + /** * ( begin auto-generated from camera.xml ) * * Sets the position of the camera through setting the eye position, the @@ -11827,15 +11830,16 @@ public class PApplet extends Applet * allows the images to be seen from different angles. The version without * any parameters sets the camera to the default position, pointing to the * center of the display window with the Y axis as up. The default values - * are camera(width/2.0, height/2.0, (height/2.0) / tan(PI*60.0 / 360.0), - * width/2.0, height/2.0, 0, 0, 1, 0). This function is similar to - * gluLookAt() in OpenGL, but it first clears the current camera settings. + * are camera(width/2.0, height/2.0, (height/2.0) / tan(PI*30.0 / + * 180.0), width/2.0, height/2.0, 0, 0, 1, 0). This function is similar + * to gluLookAt() in OpenGL, but it first clears the current camera settings. * * ( end auto-generated ) - * @webref lights_camera:camera - * @see PGraphics#endCamera() - * @see PGraphics#frustum(float, float, float, float, float, float) - */ + * + * @webref lights_camera:camera + * @see PGraphics#endCamera() + * @see PGraphics#frustum(float, float, float, float, float, float) + */ public void camera() { if (recorder != null) recorder.camera(); g.camera(); @@ -11877,7 +11881,7 @@ public class PApplet extends Applet } -/** + /** * ( begin auto-generated from ortho.xml ) * * Sets an orthographic projection and defines a parallel clipping volume. @@ -11890,20 +11894,21 @@ public class PApplet extends Applet * -10, 10). * * ( end auto-generated ) - * @webref lights_camera:camera - */ + * + * @webref lights_camera:camera + */ public void ortho() { if (recorder != null) recorder.ortho(); g.ortho(); } -/** - * @param left left plane of the clipping volume - * @param right right plane of the clipping volume - * @param bottom bottom plane of the clipping volume - * @param top top plane of the clipping volume - */ + /** + * @param left left plane of the clipping volume + * @param right right plane of the clipping volume + * @param bottom bottom plane of the clipping volume + * @param top top plane of the clipping volume + */ public void ortho(float left, float right, float bottom, float top) { if (recorder != null) recorder.ortho(left, right, bottom, top); @@ -11911,10 +11916,10 @@ public class PApplet extends Applet } -/** - * @param near maximum distance from the origin to the viewer - * @param far maximum distance from the origin away from the viewer - */ + /** + * @param near maximum distance from the origin to the viewer + * @param far maximum distance from the origin away from the viewer + */ public void ortho(float left, float right, float bottom, float top, float near, float far) { @@ -11923,7 +11928,7 @@ public class PApplet extends Applet } -/** + /** * ( begin auto-generated from perspective.xml ) * * Sets a perspective projection applying foreshortening, making distant @@ -11938,27 +11943,28 @@ public class PApplet extends Applet * cameraZ*10.0) where cameraZ is ((height/2.0) / tan(PI*60.0/360.0)); * * ( end auto-generated ) - * @webref lights_camera:camera - */ + * + * @webref lights_camera:camera + */ public void perspective() { if (recorder != null) recorder.perspective(); g.perspective(); } -/** - * @param fovy field-of-view angle (in radians) for vertical direction - * @param aspect ratio of width to height - * @param zNear z-position of nearest clipping plane - * @param zFar z-position of nearest farthest plane - */ + /** + * @param fovy field-of-view angle (in radians) for vertical direction + * @param aspect ratio of width to height + * @param zNear z-position of nearest clipping plane + * @param zFar z-position of nearest farthest plane + */ public void perspective(float fovy, float aspect, float zNear, float zFar) { if (recorder != null) recorder.perspective(fovy, aspect, zNear, zFar); g.perspective(fovy, aspect, zNear, zFar); } -/** + /** * ( begin auto-generated from frustum.xml ) * * Sets a perspective matrix defined through the parameters. Works like @@ -11966,17 +11972,18 @@ public class PApplet extends Applet * than muliplying itself with it. * * ( end auto-generated ) - * @webref lights_camera:camera - * @param left left coordinate of the clipping plane - * @param right right coordinate of the clipping plane - * @param bottom bottom coordinate of the clipping plane - * @param top top coordinate of the clipping plane - * @param near near component of the clipping plane - * @param far far component of the clipping plane - * @see PGraphics#camera(float, float, float, float, float, float, float, float, float) - * @see PGraphics#endCamera() - * @see PGraphics#perspective(float, float, float, float) - */ + * + * @webref lights_camera:camera + * @param left left coordinate of the clipping plane + * @param right right coordinate of the clipping plane + * @param bottom bottom coordinate of the clipping plane + * @param top top coordinate of the clipping plane + * @param near near component of the clipping plane + * @param far far component of the clipping plane + * @see PGraphics#camera(float, float, float, float, float, float, float, float, float) + * @see PGraphics#endCamera() + * @see PGraphics#perspective(float, float, float, float) + */ public void frustum(float left, float right, float bottom, float top, float near, float far) { @@ -11985,16 +11992,17 @@ public class PApplet extends Applet } -/** + /** * ( begin auto-generated from printProjection.xml ) * * Prints the current projection matrix to the Console (the text window at * the bottom of Processing). * * ( end auto-generated ) - * @webref lights_camera:camera - * @see PGraphics#camera(float, float, float, float, float, float, float, float, float) - */ + * + * @webref lights_camera:camera + * @see PGraphics#camera(float, float, float, float, float, float, float, float, float) + */ public void printProjection() { if (recorder != null) recorder.printProjection(); g.printProjection(); @@ -12008,6 +12016,7 @@ public class PApplet extends Applet * where it will appear on a (two-dimensional) screen. * * ( end auto-generated ) + * * @webref lights_camera:coordinates * @param x 3D x-coordinate to be mapped * @param y 3D y-coordinate to be mapped @@ -12026,6 +12035,7 @@ public class PApplet extends Applet * where it will appear on a (two-dimensional) screen. * * ( end auto-generated ) + * * @webref lights_camera:coordinates * @param x 3D x-coordinate to be mapped * @param y 3D y-coordinate to be mapped @@ -12060,6 +12070,7 @@ public class PApplet extends Applet * where it will appear on a (two-dimensional) screen. * * ( end auto-generated ) + * * @webref lights_camera:coordinates * @param x 3D x-coordinate to be mapped * @param y 3D y-coordinate to be mapped @@ -12089,6 +12100,7 @@ public class PApplet extends Applet * another box in the same location. * * ( end auto-generated ) + * * @webref lights_camera:coordinates * @param x 3D x-coordinate to be mapped * @param y 3D y-coordinate to be mapped @@ -12118,6 +12130,7 @@ public class PApplet extends Applet * another box in the same location. * * ( end auto-generated ) + * * @webref lights_camera:coordinates * @param x 3D x-coordinate to be mapped * @param y 3D y-coordinate to be mapped @@ -12147,6 +12160,7 @@ public class PApplet extends Applet * another box in the same location. * * ( end auto-generated ) + * * @webref lights_camera:coordinates * @param x 3D x-coordinate to be mapped * @param y 3D y-coordinate to be mapped @@ -12159,7 +12173,7 @@ public class PApplet extends Applet } -/** + /** * ( begin auto-generated from pushStyle.xml ) * * The pushStyle() function saves the current style settings and @@ -12178,16 +12192,17 @@ public class PApplet extends Applet * emissive(), specular(), shininess(), ambient() * * ( end auto-generated ) - * @webref structure - * @see PGraphics#popStyle() - */ + * + * @webref structure + * @see PGraphics#popStyle() + */ public void pushStyle() { if (recorder != null) recorder.pushStyle(); g.pushStyle(); } -/** + /** * ( begin auto-generated from popStyle.xml ) * * The pushStyle() function saves the current style settings and @@ -12199,9 +12214,10 @@ public class PApplet extends Applet * provide more control (see the second example above for a demonstration.) * * ( end auto-generated ) - * @webref structure - * @see PGraphics#pushStyle() - */ + * + * @webref structure + * @see PGraphics#pushStyle() + */ public void popStyle() { if (recorder != null) recorder.popStyle(); g.popStyle(); @@ -12214,7 +12230,7 @@ public class PApplet extends Applet } -/** + /** * ( begin auto-generated from strokeWeight.xml ) * * Sets the width of the stroke used for lines, points, and the border @@ -12230,19 +12246,20 @@ public class PApplet extends Applet * may not go higher than 10 pixels. * * ( end auto-generated ) - * @webref shape:attributes - * @param weight the weight (in pixels) of the stroke - * @see PGraphics#stroke(int, float) - * @see PGraphics#strokeJoin(int) - * @see PGraphics#strokeCap(int) - */ + * + * @webref shape:attributes + * @param weight the weight (in pixels) of the stroke + * @see PGraphics#stroke(int, float) + * @see PGraphics#strokeJoin(int) + * @see PGraphics#strokeCap(int) + */ public void strokeWeight(float weight) { if (recorder != null) recorder.strokeWeight(weight); g.strokeWeight(weight); } -/** + /** * ( begin auto-generated from strokeJoin.xml ) * * Sets the style of the joints which connect line segments. These joints @@ -12256,19 +12273,20 @@ public class PApplet extends Applet * size() reference. * * ( end auto-generated ) - * @webref shape:attributes - * @param join either MITER, BEVEL, ROUND - * @see PGraphics#stroke(int, float) - * @see PGraphics#strokeWeight(float) - * @see PGraphics#strokeCap(int) - */ + * + * @webref shape:attributes + * @param join either MITER, BEVEL, ROUND + * @see PGraphics#stroke(int, float) + * @see PGraphics#strokeWeight(float) + * @see PGraphics#strokeCap(int) + */ public void strokeJoin(int join) { if (recorder != null) recorder.strokeJoin(join); g.strokeJoin(join); } -/** + /** * ( begin auto-generated from strokeCap.xml ) * * Sets the style for rendering line endings. These ends are either @@ -12281,13 +12299,14 @@ public class PApplet extends Applet * size() reference. * * ( end auto-generated ) - * @webref shape:attributes - * @param cap either SQUARE, PROJECT, or ROUND - * @see PGraphics#stroke(int, float) - * @see PGraphics#strokeWeight(float) - * @see PGraphics#strokeJoin(int) - * @see PApplet#size(int, int, String, String) - */ + * + * @webref shape:attributes + * @param cap either SQUARE, PROJECT, or ROUND + * @see PGraphics#stroke(int, float) + * @see PGraphics#strokeWeight(float) + * @see PGraphics#strokeJoin(int) + * @see PApplet#size(int, int, String, String) + */ public void strokeCap(int cap) { if (recorder != null) recorder.strokeCap(cap); g.strokeCap(cap); @@ -12301,6 +12320,7 @@ public class PApplet extends Applet * noFill() are called, nothing will be drawn to the screen. * * ( end auto-generated ) + * * @webref color:setting * @see PGraphics#stroke(float, float, float, float) */ diff --git a/core/src/processing/core/PGraphics.java b/core/src/processing/core/PGraphics.java index b823338e5..0d1dddea1 100644 --- a/core/src/processing/core/PGraphics.java +++ b/core/src/processing/core/PGraphics.java @@ -3513,6 +3513,7 @@ public class PGraphics extends PImage implements PConstants { * @see PFont#PFont * @see PGraphics#text(String, float, float, float, float, float) * @see PGraphics#textFont(PFont) + * @see PGraphics#beginRaw(PGraphics) * @see PApplet#createFont(String, float, boolean) */ public void textMode(int mode) { @@ -4771,7 +4772,7 @@ public class PGraphics extends PImage implements PConstants { // CAMERA -/** + /** * ( begin auto-generated from beginCamera.xml ) * * The beginCamera() and endCamera() functions enable @@ -4792,19 +4793,20 @@ public class PGraphics extends PImage implements PConstants { * endCamera() cannot be nested. * * ( end auto-generated ) - * @webref lights_camera:camera - * @see PGraphics#camera() - * @see PGraphics#endCamera() - * @see PGraphics#applyMatrix(PMatrix) - * @see PGraphics#resetMatrix() - * @see PGraphics#translate(float, float, float) - * @see PGraphics#scale(float, float, float) - */ + * + * @webref lights_camera:camera + * @see PGraphics#camera() + * @see PGraphics#endCamera() + * @see PGraphics#applyMatrix(PMatrix) + * @see PGraphics#resetMatrix() + * @see PGraphics#translate(float, float, float) + * @see PGraphics#scale(float, float, float) + */ public void beginCamera() { showMethodWarning("beginCamera"); } -/** + /** * ( begin auto-generated from endCamera.xml ) * * The beginCamera() and endCamera() functions enable @@ -4812,14 +4814,15 @@ public class PGraphics extends PImage implements PConstants { * beginCamera() for a description of how the functions are used. * * ( end auto-generated ) - * @webref lights_camera:camera - * @see PGraphics#camera(float, float, float, float, float, float, float, float, float) - */ + * + * @webref lights_camera:camera + * @see PGraphics#camera(float, float, float, float, float, float, float, float, float) + */ public void endCamera() { showMethodWarning("endCamera"); } -/** + /** * ( begin auto-generated from camera.xml ) * * Sets the position of the camera through setting the eye position, the @@ -4828,15 +4831,16 @@ public class PGraphics extends PImage implements PConstants { * allows the images to be seen from different angles. The version without * any parameters sets the camera to the default position, pointing to the * center of the display window with the Y axis as up. The default values - * are camera(width/2.0, height/2.0, (height/2.0) / tan(PI*60.0 / 360.0), - * width/2.0, height/2.0, 0, 0, 1, 0). This function is similar to - * gluLookAt() in OpenGL, but it first clears the current camera settings. + * are camera(width/2.0, height/2.0, (height/2.0) / tan(PI*30.0 / + * 180.0), width/2.0, height/2.0, 0, 0, 1, 0). This function is similar + * to gluLookAt() in OpenGL, but it first clears the current camera settings. * * ( end auto-generated ) - * @webref lights_camera:camera - * @see PGraphics#endCamera() - * @see PGraphics#frustum(float, float, float, float, float, float) - */ + * + * @webref lights_camera:camera + * @see PGraphics#endCamera() + * @see PGraphics#frustum(float, float, float, float, float, float) + */ public void camera() { showMissingWarning("camera"); } @@ -4878,7 +4882,7 @@ public class PGraphics extends PImage implements PConstants { // PROJECTION -/** + /** * ( begin auto-generated from ortho.xml ) * * Sets an orthographic projection and defines a parallel clipping volume. @@ -4891,34 +4895,35 @@ public class PGraphics extends PImage implements PConstants { * -10, 10). * * ( end auto-generated ) - * @webref lights_camera:camera - */ + * + * @webref lights_camera:camera + */ public void ortho() { showMissingWarning("ortho"); } -/** - * @param left left plane of the clipping volume - * @param right right plane of the clipping volume - * @param bottom bottom plane of the clipping volume - * @param top top plane of the clipping volume - */ + /** + * @param left left plane of the clipping volume + * @param right right plane of the clipping volume + * @param bottom bottom plane of the clipping volume + * @param top top plane of the clipping volume + */ public void ortho(float left, float right, float bottom, float top) { showMissingWarning("ortho"); } -/** - * @param near maximum distance from the origin to the viewer - * @param far maximum distance from the origin away from the viewer - */ + /** + * @param near maximum distance from the origin to the viewer + * @param far maximum distance from the origin away from the viewer + */ public void ortho(float left, float right, float bottom, float top, float near, float far) { showMissingWarning("ortho"); } -/** + /** * ( begin auto-generated from perspective.xml ) * * Sets a perspective projection applying foreshortening, making distant @@ -4933,23 +4938,24 @@ public class PGraphics extends PImage implements PConstants { * cameraZ*10.0) where cameraZ is ((height/2.0) / tan(PI*60.0/360.0)); * * ( end auto-generated ) - * @webref lights_camera:camera - */ + * + * @webref lights_camera:camera + */ public void perspective() { showMissingWarning("perspective"); } -/** - * @param fovy field-of-view angle (in radians) for vertical direction - * @param aspect ratio of width to height - * @param zNear z-position of nearest clipping plane - * @param zFar z-position of nearest farthest plane - */ + /** + * @param fovy field-of-view angle (in radians) for vertical direction + * @param aspect ratio of width to height + * @param zNear z-position of nearest clipping plane + * @param zFar z-position of nearest farthest plane + */ public void perspective(float fovy, float aspect, float zNear, float zFar) { showMissingWarning("perspective"); } -/** + /** * ( begin auto-generated from frustum.xml ) * * Sets a perspective matrix defined through the parameters. Works like @@ -4957,33 +4963,35 @@ public class PGraphics extends PImage implements PConstants { * than muliplying itself with it. * * ( end auto-generated ) - * @webref lights_camera:camera - * @param left left coordinate of the clipping plane - * @param right right coordinate of the clipping plane - * @param bottom bottom coordinate of the clipping plane - * @param top top coordinate of the clipping plane - * @param near near component of the clipping plane - * @param far far component of the clipping plane - * @see PGraphics#camera(float, float, float, float, float, float, float, float, float) - * @see PGraphics#endCamera() - * @see PGraphics#perspective(float, float, float, float) - */ + * + * @webref lights_camera:camera + * @param left left coordinate of the clipping plane + * @param right right coordinate of the clipping plane + * @param bottom bottom coordinate of the clipping plane + * @param top top coordinate of the clipping plane + * @param near near component of the clipping plane + * @param far far component of the clipping plane + * @see PGraphics#camera(float, float, float, float, float, float, float, float, float) + * @see PGraphics#endCamera() + * @see PGraphics#perspective(float, float, float, float) + */ public void frustum(float left, float right, float bottom, float top, float near, float far) { showMethodWarning("frustum"); } -/** + /** * ( begin auto-generated from printProjection.xml ) * * Prints the current projection matrix to the Console (the text window at * the bottom of Processing). * * ( end auto-generated ) - * @webref lights_camera:camera - * @see PGraphics#camera(float, float, float, float, float, float, float, float, float) - */ + * + * @webref lights_camera:camera + * @see PGraphics#camera(float, float, float, float, float, float, float, float, float) + */ public void printProjection() { showMethodWarning("printCamera"); } @@ -5002,6 +5010,7 @@ public class PGraphics extends PImage implements PConstants { * where it will appear on a (two-dimensional) screen. * * ( end auto-generated ) + * * @webref lights_camera:coordinates * @param x 3D x-coordinate to be mapped * @param y 3D y-coordinate to be mapped @@ -5021,6 +5030,7 @@ public class PGraphics extends PImage implements PConstants { * where it will appear on a (two-dimensional) screen. * * ( end auto-generated ) + * * @webref lights_camera:coordinates * @param x 3D x-coordinate to be mapped * @param y 3D y-coordinate to be mapped @@ -5059,6 +5069,7 @@ public class PGraphics extends PImage implements PConstants { * where it will appear on a (two-dimensional) screen. * * ( end auto-generated ) + * * @webref lights_camera:coordinates * @param x 3D x-coordinate to be mapped * @param y 3D y-coordinate to be mapped @@ -5089,6 +5100,7 @@ public class PGraphics extends PImage implements PConstants { * another box in the same location. * * ( end auto-generated ) + * * @webref lights_camera:coordinates * @param x 3D x-coordinate to be mapped * @param y 3D y-coordinate to be mapped @@ -5119,6 +5131,7 @@ public class PGraphics extends PImage implements PConstants { * another box in the same location. * * ( end auto-generated ) + * * @webref lights_camera:coordinates * @param x 3D x-coordinate to be mapped * @param y 3D y-coordinate to be mapped @@ -5149,6 +5162,7 @@ public class PGraphics extends PImage implements PConstants { * another box in the same location. * * ( end auto-generated ) + * * @webref lights_camera:coordinates * @param x 3D x-coordinate to be mapped * @param y 3D y-coordinate to be mapped @@ -5167,7 +5181,7 @@ public class PGraphics extends PImage implements PConstants { // STYLE -/** + /** * ( begin auto-generated from pushStyle.xml ) * * The pushStyle() function saves the current style settings and @@ -5186,9 +5200,10 @@ public class PGraphics extends PImage implements PConstants { * emissive(), specular(), shininess(), ambient() * * ( end auto-generated ) - * @webref structure - * @see PGraphics#popStyle() - */ + * + * @webref structure + * @see PGraphics#popStyle() + */ public void pushStyle() { if (styleStackDepth == styleStack.length) { styleStack = (PStyle[]) PApplet.expand(styleStack); @@ -5200,7 +5215,7 @@ public class PGraphics extends PImage implements PConstants { getStyle(s); } -/** + /** * ( begin auto-generated from popStyle.xml ) * * The pushStyle() function saves the current style settings and @@ -5212,9 +5227,10 @@ public class PGraphics extends PImage implements PConstants { * provide more control (see the second example above for a demonstration.) * * ( end auto-generated ) - * @webref structure - * @see PGraphics#pushStyle() - */ + * + * @webref structure + * @see PGraphics#pushStyle() + */ public void popStyle() { if (styleStackDepth == 0) { throw new RuntimeException("Too many popStyle() without enough pushStyle()"); @@ -5357,7 +5373,7 @@ public class PGraphics extends PImage implements PConstants { // STROKE CAP/JOIN/WEIGHT -/** + /** * ( begin auto-generated from strokeWeight.xml ) * * Sets the width of the stroke used for lines, points, and the border @@ -5373,17 +5389,18 @@ public class PGraphics extends PImage implements PConstants { * may not go higher than 10 pixels. * * ( end auto-generated ) - * @webref shape:attributes - * @param weight the weight (in pixels) of the stroke - * @see PGraphics#stroke(int, float) - * @see PGraphics#strokeJoin(int) - * @see PGraphics#strokeCap(int) - */ + * + * @webref shape:attributes + * @param weight the weight (in pixels) of the stroke + * @see PGraphics#stroke(int, float) + * @see PGraphics#strokeJoin(int) + * @see PGraphics#strokeCap(int) + */ public void strokeWeight(float weight) { strokeWeight = weight; } -/** + /** * ( begin auto-generated from strokeJoin.xml ) * * Sets the style of the joints which connect line segments. These joints @@ -5397,17 +5414,18 @@ public class PGraphics extends PImage implements PConstants { * size() reference. * * ( end auto-generated ) - * @webref shape:attributes - * @param join either MITER, BEVEL, ROUND - * @see PGraphics#stroke(int, float) - * @see PGraphics#strokeWeight(float) - * @see PGraphics#strokeCap(int) - */ + * + * @webref shape:attributes + * @param join either MITER, BEVEL, ROUND + * @see PGraphics#stroke(int, float) + * @see PGraphics#strokeWeight(float) + * @see PGraphics#strokeCap(int) + */ public void strokeJoin(int join) { strokeJoin = join; } -/** + /** * ( begin auto-generated from strokeCap.xml ) * * Sets the style for rendering line endings. These ends are either @@ -5420,13 +5438,14 @@ public class PGraphics extends PImage implements PConstants { * size() reference. * * ( end auto-generated ) - * @webref shape:attributes - * @param cap either SQUARE, PROJECT, or ROUND - * @see PGraphics#stroke(int, float) - * @see PGraphics#strokeWeight(float) - * @see PGraphics#strokeJoin(int) - * @see PApplet#size(int, int, String, String) - */ + * + * @webref shape:attributes + * @param cap either SQUARE, PROJECT, or ROUND + * @see PGraphics#stroke(int, float) + * @see PGraphics#strokeWeight(float) + * @see PGraphics#strokeJoin(int) + * @see PApplet#size(int, int, String, String) + */ public void strokeCap(int cap) { strokeCap = cap; } @@ -5445,6 +5464,7 @@ public class PGraphics extends PImage implements PConstants { * noFill() are called, nothing will be drawn to the screen. * * ( end auto-generated ) + * * @webref color:setting * @see PGraphics#stroke(float, float, float, float) */ diff --git a/core/todo.txt b/core/todo.txt index a24e2f0bc..a43af6122 100644 --- a/core/todo.txt +++ b/core/todo.txt @@ -111,18 +111,20 @@ _ http://www.json.org/java/ _ remove unnecessary processing.xml.* code from android-core _ http://code.google.com/p/processing/issues/detail?id=214 -casey - _ pdf fonts -_ rewrite documentation about pdf fonts (errors with non-native fonts) -_ figure out why font naming not working correctly -_ add blendMode() to reference, remove blend() -_ need documentation for quadraticVertex() -_ docs for rect(x, y, w, h, r) and rect(x, y, w, h, tl, tr, br, bl) -_ screen.width/height shouldn't be anywhere -_ add docs for screenWidth and screenHeight -_ remove delay() documentation -_ remove textMode(SCREEN) references -_ find in reference for copy() goes to PVector (oog) +casey [Moved to web/todo.txt 17 SEP 2011] +o pdf fonts +o rewrite documentation about pdf fonts (errors with non-native fonts) +o figure out why font naming not working correctly +o add blendMode() to reference, remove blend() +o need documentation for quadraticVertex() +o docs for rect(x, y, w, h, r) and rect(x, y, w, h, tl, tr, br, bl) +o docs for new arc() +o "Find in Reference" for copy() goes to PVector (oog) +X screen.width/height shouldn't be anywhere +X add docs for screenWidth and screenHeight +X remove delay() documentation +X remove textMode(SCREEN) references + 2.0 _ Abnormal high Java CPU usage at empty sketch with draw() diff --git a/java/libraries/video/src/processing/video/Capture.java b/java/libraries/video/src/processing/video/Capture.java index cd7428f00..169702e98 100644 --- a/java/libraries/video/src/processing/video/Capture.java +++ b/java/libraries/video/src/processing/video/Capture.java @@ -355,7 +355,11 @@ public class Capture extends PImage implements PConstants { } /** - * @generate Capture_read.xml + * ( begin auto-generated from Capture_read.xml ) + * + * Reads the current video frame. + * + * ( end auto-generated ) * *

Advanced

* This method() and invokeEvent() are now synchronized, so that invokeEvent() diff --git a/todo.txt b/todo.txt index 8fde62a3d..0836338f8 100644 --- a/todo.txt +++ b/todo.txt @@ -597,20 +597,20 @@ _ but don't do this with untitled, cuz it kinda stinks _ this is too weird--just put examples into individual zip files _ mark example files as untitled _ though will that require the sketch to be saved before export? -_ find in reference issues -_ if() and for() don't work, they look for for_.html instead of for.html -_ XMLElement is not linked for find in ref -_ the ? operator is not in find in ref (no ref page either?) -_ update keywords generator script on the site -_ perhaps move this closer to the dev process? -_ move reference folder around so that it matches site organization -_ otherwise several links break on the main faq page -_ discuss i18n issues and proper system (?) -_ look through 404 issues on the site -_ TRIANGLE_STRIP not highlighted for "find in reference" -_ nor is it listed on the reference page -_ so students can't find the ref for it -_ needs to link TRIANGLE_STRIP to the beginShape() reference +o find in reference issues +o if() and for() don't work, they look for for_.html instead of for.html +o XMLElement is not linked for find in ref +o the ? operator is not in find in ref (no ref page either?) +o update keywords generator script on the site +o perhaps move this closer to the dev process? +o move reference folder around so that it matches site organization +o otherwise several links break on the main faq page +o discuss i18n issues and proper system (?) +o look through 404 issues on the site +o TRIANGLE_STRIP not highlighted for "find in reference" +o nor is it listed on the reference page +o so students can't find the ref for it +o needs to link TRIANGLE_STRIP to the beginShape() reference libraries and classpaths [1.0]