Skip to content

Commit 5d727e8

Browse files
committed
adding circle, square, push, pop
1 parent 2b50c0b commit 5d727e8

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

core/src/processing/core/PApplet.java

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12109,6 +12109,12 @@ public void rect(float a, float b, float c, float d,
1210912109
}
1211012110

1211112111

12112+
public void square(float x, float y, float extent) {
12113+
if (recorder != null) recorder.square(x, y, extent);
12114+
g.square(x, y, extent);
12115+
}
12116+
12117+
1211212118
/**
1211312119
* ( begin auto-generated from ellipseMode.xml )
1211412120
*
@@ -12197,6 +12203,12 @@ public void arc(float a, float b, float c, float d,
1219712203
}
1219812204

1219912205

12206+
public void circle(float x, float y, float extent) {
12207+
if (recorder != null) recorder.circle(x, y, extent);
12208+
g.circle(x, y, extent);
12209+
}
12210+
12211+
1220012212
/**
1220112213
* ( begin auto-generated from box.xml )
1220212214
*
@@ -13219,6 +13231,18 @@ public void text(float num, float x, float y, float z) {
1321913231
}
1322013232

1322113233

13234+
public void push() {
13235+
if (recorder != null) recorder.push();
13236+
g.push();
13237+
}
13238+
13239+
13240+
public void pop() {
13241+
if (recorder != null) recorder.pop();
13242+
g.pop();
13243+
}
13244+
13245+
1322213246
/**
1322313247
* ( begin auto-generated from pushMatrix.xml )
1322413248
*

0 commit comments

Comments
 (0)