Skip to content

Commit 6004d65

Browse files
committed
Correcting error to PApplet, I edited text in the auto-generated area
1 parent 01fd7bc commit 6004d65

File tree

2 files changed

+22
-18
lines changed

2 files changed

+22
-18
lines changed

core/src/processing/core/PApplet.java

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10689,16 +10689,6 @@ public void flush() {
1068910689
}
1069010690

1069110691

10692-
/**
10693-
* ( begin auto-generated from hint.xml )
10694-
*
10695-
* Description to come...
10696-
*
10697-
* ( end auto-generated )
10698-
*
10699-
* @webref rendering
10700-
* @param which the constant to enable or disable the hint
10701-
*/
1070210692
public void hint(int which) {
1070310693
if (recorder != null) recorder.hint(which);
1070410694
g.hint(which);

core/src/processing/core/PGraphics.java

Lines changed: 22 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1958,12 +1958,20 @@ public void filter(PShader shader) {
19581958

19591959
// CLIPPING
19601960

1961-
/*
1962-
* @webref rendering:shaders
1963-
* @param a x-coordinate of the rectangle by default
1964-
* @param b y-coordinate of the rectangle by default
1965-
* @param c width of the rectangle by default
1966-
* @param d height of the rectangle by default
1961+
/**
1962+
* ( begin auto-generated from clip.xml )
1963+
*
1964+
* Limits the rendering to the boundaries of a rectangle defined
1965+
* by the parameters. The boundaries are drawn based on the state
1966+
* of the <b>imageMode()</b> fuction, either CORNER, CORNERS, or CENTER.
1967+
*
1968+
* ( end auto-generated )
1969+
*
1970+
* @webref rendering
1971+
* @param a x-coordinate of the rectangle, by default
1972+
* @param b y-coordinate of the rectangle, by default
1973+
* @param c width of the rectangle, by default
1974+
* @param d height of the rectangle, by default
19671975
*/
19681976
public void clip(float a, float b, float c, float d) {
19691977
if (imageMode == CORNER) {
@@ -2002,8 +2010,14 @@ protected void clipImpl(float x1, float y1, float x2, float y2) {
20022010
showMissingWarning("clip");
20032011
}
20042012

2005-
/*
2006-
* @webref rendering:shaders
2013+
/**
2014+
* ( begin auto-generated from noClip.xml )
2015+
*
2016+
* Disables the clipping previously started by the <b>clip()</b> function.
2017+
*
2018+
* ( end auto-generated )
2019+
*
2020+
* @webref rendering
20072021
*/
20082022
public void noClip() {
20092023
showMissingWarning("noClip");

0 commit comments

Comments
 (0)