propane 3.3.1-java → 3.6.0-java
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.mvn/extensions.xml +1 -2
- data/.mvn/wrapper/MavenWrapperDownloader.java +117 -0
- data/.mvn/wrapper/maven-wrapper.properties +2 -3
- data/.travis.yml +9 -0
- data/CHANGELOG.md +17 -5
- data/Gemfile +2 -0
- data/README.md +17 -8
- data/Rakefile +16 -30
- data/bin/propane +3 -1
- data/lib/propane.rb +6 -4
- data/lib/propane/app.rb +20 -10
- data/lib/propane/creators/sketch_class.rb +7 -1
- data/lib/propane/creators/sketch_factory.rb +4 -2
- data/lib/propane/creators/sketch_writer.rb +1 -0
- data/lib/propane/helper_methods.rb +23 -24
- data/lib/propane/helpers/numeric.rb +2 -0
- data/lib/propane/helpers/version_error.rb +1 -0
- data/lib/propane/library.rb +5 -1
- data/lib/propane/library_loader.rb +2 -0
- data/lib/propane/native_folder.rb +21 -15
- data/lib/propane/native_loader.rb +3 -0
- data/lib/propane/runner.rb +14 -6
- data/lib/propane/version.rb +2 -1
- data/library/boids/boids.rb +21 -11
- data/library/color_group/color_group.rb +28 -0
- data/library/control_panel/control_panel.rb +8 -5
- data/library/dxf/dxf.rb +6 -0
- data/library/file_chooser/chooser.rb +10 -9
- data/library/file_chooser/file_chooser.rb +10 -9
- data/library/library_proxy/library_proxy.rb +2 -0
- data/library/net/net.rb +7 -0
- data/library/simplex_noise/simplex_noise.rb +2 -0
- data/library/slider/slider.rb +23 -22
- data/library/vector_utils/vector_utils.rb +4 -0
- data/library/video_event/video_event.rb +4 -1
- data/mvnw +127 -51
- data/mvnw.cmd +182 -145
- data/pom.rb +53 -50
- data/pom.xml +17 -8
- data/propane.gemspec +13 -11
- data/src/main/java/monkstone/ColorUtil.java +13 -1
- data/src/main/java/monkstone/MathToolModule.java +253 -203
- data/src/main/java/monkstone/PropaneLibrary.java +2 -2
- data/src/main/java/monkstone/fastmath/Deglut.java +1 -1
- data/src/main/java/monkstone/filechooser/Chooser.java +2 -1
- data/src/main/java/monkstone/noise/SimplexNoise.java +2 -2
- data/src/main/java/monkstone/slider/CustomHorizontalSlider.java +1 -1
- data/src/main/java/monkstone/slider/CustomVerticalSlider.java +1 -1
- data/src/main/java/monkstone/slider/SimpleHorizontalSlider.java +1 -1
- data/src/main/java/monkstone/slider/SimpleVerticalSlider.java +1 -1
- data/src/main/java/monkstone/slider/SliderBar.java +1 -1
- data/src/main/java/monkstone/slider/SliderGroup.java +1 -1
- data/src/main/java/monkstone/slider/WheelHandler.java +7 -6
- data/src/main/java/monkstone/vecmath/package-info.java +1 -1
- data/src/main/java/monkstone/vecmath/vec2/Vec2.java +2 -2
- data/src/main/java/monkstone/vecmath/vec3/Vec3.java +1 -1
- data/src/main/java/monkstone/videoevent/CaptureEvent.java +27 -0
- data/src/main/java/monkstone/videoevent/{VideoInterface.java → MovieEvent.java} +11 -27
- data/src/main/java/monkstone/videoevent/package-info.java +1 -1
- data/src/main/java/processing/awt/PGraphicsJava2D.java +2164 -1661
- data/src/main/java/processing/awt/PImageAWT.java +377 -0
- data/src/main/java/processing/awt/PShapeJava2D.java +280 -268
- data/src/main/java/processing/awt/PSurfaceAWT.java +942 -829
- data/src/main/java/processing/awt/ShimAWT.java +581 -0
- data/src/main/java/processing/core/PApplet.java +831 -824
- data/src/main/java/processing/core/PConstants.java +477 -447
- data/src/main/java/processing/core/PFont.java +914 -880
- data/src/main/java/processing/core/PGraphics.java +229 -213
- data/src/main/java/processing/core/PImage.java +620 -318
- data/src/main/java/processing/core/PMatrix.java +172 -159
- data/src/main/java/processing/core/PMatrix2D.java +478 -409
- data/src/main/java/processing/core/PMatrix3D.java +762 -735
- data/src/main/java/processing/core/PShape.java +2888 -2652
- data/src/main/java/processing/core/PShapeOBJ.java +436 -415
- data/src/main/java/processing/core/PShapeSVG.java +1702 -1479
- data/src/main/java/processing/core/PStyle.java +40 -37
- data/src/main/java/processing/core/PSurface.java +139 -97
- data/src/main/java/processing/core/PSurfaceNone.java +296 -208
- data/src/main/java/processing/core/PVector.java +997 -965
- data/src/main/java/processing/core/ThinkDifferent.java +12 -17
- data/src/main/java/processing/data/DoubleDict.java +756 -710
- data/src/main/java/processing/data/DoubleList.java +749 -696
- data/src/main/java/processing/data/FloatDict.java +748 -702
- data/src/main/java/processing/data/FloatList.java +751 -697
- data/src/main/java/processing/data/IntDict.java +720 -673
- data/src/main/java/processing/data/IntList.java +699 -633
- data/src/main/java/processing/data/JSONArray.java +931 -873
- data/src/main/java/processing/data/JSONObject.java +1262 -1165
- data/src/main/java/processing/data/JSONTokener.java +351 -341
- data/src/main/java/processing/data/LongDict.java +710 -663
- data/src/main/java/processing/data/LongList.java +701 -635
- data/src/main/java/processing/data/Sort.java +37 -41
- data/src/main/java/processing/data/StringDict.java +525 -486
- data/src/main/java/processing/data/StringList.java +626 -580
- data/src/main/java/processing/data/Table.java +3690 -3510
- data/src/main/java/processing/data/TableRow.java +182 -183
- data/src/main/java/processing/data/XML.java +957 -883
- data/src/main/java/processing/dxf/RawDXF.java +404 -0
- data/src/main/java/processing/event/Event.java +87 -66
- data/src/main/java/processing/event/KeyEvent.java +48 -41
- data/src/main/java/processing/event/MouseEvent.java +88 -113
- data/src/main/java/processing/event/TouchEvent.java +10 -6
- data/src/main/java/processing/javafx/PGraphicsFX2D.java +20 -345
- data/src/main/java/processing/javafx/PSurfaceFX.java +149 -121
- data/src/main/java/processing/net/Client.java +744 -0
- data/src/main/java/processing/net/Server.java +388 -0
- data/src/main/java/processing/opengl/FontTexture.java +289 -270
- data/src/main/java/processing/opengl/FrameBuffer.java +386 -364
- data/src/main/java/processing/opengl/LinePath.java +547 -500
- data/src/main/java/processing/opengl/LineStroker.java +588 -581
- data/src/main/java/processing/opengl/PGL.java +3047 -2914
- data/src/main/java/processing/opengl/PGraphics2D.java +408 -315
- data/src/main/java/processing/opengl/PGraphics3D.java +107 -72
- data/src/main/java/processing/opengl/PGraphicsOpenGL.java +12378 -12075
- data/src/main/java/processing/opengl/PJOGL.java +1753 -1670
- data/src/main/java/processing/opengl/PShader.java +1266 -1257
- data/src/main/java/processing/opengl/PShapeOpenGL.java +4678 -4580
- data/src/main/java/processing/opengl/PSurfaceJOGL.java +1114 -1027
- data/src/main/java/processing/opengl/Texture.java +1492 -1401
- data/src/main/java/processing/opengl/VertexBuffer.java +57 -55
- data/test/create_test.rb +21 -20
- data/test/deglut_spec_test.rb +4 -2
- data/test/helper_methods_test.rb +49 -20
- data/test/math_tool_test.rb +39 -32
- data/test/native_folder.rb +47 -0
- data/test/respond_to_test.rb +3 -2
- data/test/sketches/key_event.rb +2 -2
- data/test/sketches/library/my_library/my_library.rb +3 -0
- data/test/test_helper.rb +2 -0
- data/test/vecmath_spec_test.rb +35 -22
- data/vendors/Rakefile +33 -62
- metadata +54 -45
- data/src/main/java/processing/core/util/image/ImageLoadFacade.java +0 -161
- data/src/main/java/processing/core/util/image/ImageSaveFacade.java +0 -169
- data/src/main/java/processing/core/util/image/constants/TifConstants.java +0 -45
- data/src/main/java/processing/core/util/image/load/AwtImageLoadStrategy.java +0 -80
- data/src/main/java/processing/core/util/image/load/Base64StringImageLoadStrategy.java +0 -73
- data/src/main/java/processing/core/util/image/load/FallbackImageLoadStrategy.java +0 -70
- data/src/main/java/processing/core/util/image/load/ImageIoImageLoadStrategy.java +0 -132
- data/src/main/java/processing/core/util/image/load/ImageLoadStrategy.java +0 -48
- data/src/main/java/processing/core/util/image/load/ImageLoadUtil.java +0 -45
- data/src/main/java/processing/core/util/image/load/TgaImageLoadStrategy.java +0 -255
- data/src/main/java/processing/core/util/image/load/TiffImageLoadStrategy.java +0 -98
- data/src/main/java/processing/core/util/image/save/ImageSaveStrategy.java +0 -49
- data/src/main/java/processing/core/util/image/save/ImageSaveUtil.java +0 -48
- data/src/main/java/processing/core/util/image/save/ImageWriterImageSaveStrategy.java +0 -179
- data/src/main/java/processing/core/util/image/save/SaveImageException.java +0 -41
- data/src/main/java/processing/core/util/image/save/TgaImageSaveStrategy.java +0 -198
- data/src/main/java/processing/core/util/image/save/TiffImageSaveStrategy.java +0 -91
- data/src/main/java/processing/core/util/image/save/TiffNakedFilenameImageSaveStrategy.java +0 -57
- data/src/main/java/processing/core/util/io/InputFactory.java +0 -285
- data/src/main/java/processing/core/util/io/PathUtil.java +0 -109
- data/src/main/java/processing/opengl/shaders/LightVert-brcm.glsl +0 -154
- data/src/main/java/processing/opengl/shaders/LightVert-vc4.glsl +0 -154
- data/src/main/java/processing/opengl/shaders/TexLightVert-brcm.glsl +0 -160
- data/src/main/java/processing/opengl/shaders/TexLightVert-vc4.glsl +0 -160
@@ -1,3 +1,5 @@
|
|
1
|
+
/* -*- mode: java; c-basic-offset: 2; indent-tabs-mode: nil -*- */
|
2
|
+
|
1
3
|
/*
|
2
4
|
Part of the Processing project - http://processing.org
|
3
5
|
|
@@ -16,48 +18,53 @@
|
|
16
18
|
Public License along with this library; if not, write to the
|
17
19
|
Free Software Foundation, Inc., 59 Temple Place, Suite 330,
|
18
20
|
Boston, MA 02111-1307 USA
|
19
|
-
|
21
|
+
*/
|
22
|
+
|
20
23
|
package processing.event;
|
21
24
|
|
25
|
+
|
22
26
|
public class KeyEvent extends Event {
|
27
|
+
static public final int PRESS = 1;
|
28
|
+
static public final int RELEASE = 2;
|
29
|
+
static public final int TYPE = 3;
|
30
|
+
|
31
|
+
char key;
|
32
|
+
int keyCode;
|
33
|
+
|
34
|
+
boolean isAutoRepeat;
|
35
|
+
|
36
|
+
|
37
|
+
public KeyEvent(Object nativeObject,
|
38
|
+
long millis, int action, int modifiers,
|
39
|
+
char key, int keyCode) {
|
40
|
+
super(nativeObject, millis, action, modifiers);
|
41
|
+
this.flavor = KEY;
|
42
|
+
this.key = key;
|
43
|
+
this.keyCode = keyCode;
|
44
|
+
}
|
45
|
+
|
46
|
+
public KeyEvent(Object nativeObject,
|
47
|
+
long millis, int action, int modifiers,
|
48
|
+
char key, int keyCode, boolean isAutoRepeat) {
|
49
|
+
super(nativeObject, millis, action, modifiers);
|
50
|
+
this.flavor = KEY;
|
51
|
+
this.key = key;
|
52
|
+
this.keyCode = keyCode;
|
53
|
+
this.isAutoRepeat = isAutoRepeat;
|
54
|
+
}
|
55
|
+
|
56
|
+
|
57
|
+
public char getKey() {
|
58
|
+
return key;
|
59
|
+
}
|
60
|
+
|
61
|
+
|
62
|
+
public int getKeyCode() {
|
63
|
+
return keyCode;
|
64
|
+
}
|
65
|
+
|
23
66
|
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
char key;
|
29
|
-
int keyCode;
|
30
|
-
|
31
|
-
boolean isAutoRepeat;
|
32
|
-
|
33
|
-
public KeyEvent(Object nativeObject,
|
34
|
-
long millis, int action, int modifiers,
|
35
|
-
char key, int keyCode) {
|
36
|
-
super(nativeObject, millis, action, modifiers);
|
37
|
-
this.flavor = KEY;
|
38
|
-
this.key = key;
|
39
|
-
this.keyCode = keyCode;
|
40
|
-
}
|
41
|
-
|
42
|
-
public KeyEvent(Object nativeObject,
|
43
|
-
long millis, int action, int modifiers,
|
44
|
-
char key, int keyCode, boolean isAutoRepeat) {
|
45
|
-
super(nativeObject, millis, action, modifiers);
|
46
|
-
this.flavor = KEY;
|
47
|
-
this.key = key;
|
48
|
-
this.keyCode = keyCode;
|
49
|
-
this.isAutoRepeat = isAutoRepeat;
|
50
|
-
}
|
51
|
-
|
52
|
-
public char getKey() {
|
53
|
-
return key;
|
54
|
-
}
|
55
|
-
|
56
|
-
public int getKeyCode() {
|
57
|
-
return keyCode;
|
58
|
-
}
|
59
|
-
|
60
|
-
public boolean isAutoRepeat() {
|
61
|
-
return isAutoRepeat;
|
62
|
-
}
|
63
|
-
}
|
67
|
+
public boolean isAutoRepeat() {
|
68
|
+
return isAutoRepeat;
|
69
|
+
}
|
70
|
+
}
|
@@ -1,3 +1,5 @@
|
|
1
|
+
/* -*- mode: java; c-basic-offset: 2; indent-tabs-mode: nil -*- */
|
2
|
+
|
1
3
|
/*
|
2
4
|
Part of the Processing project - http://processing.org
|
3
5
|
|
@@ -16,124 +18,97 @@
|
|
16
18
|
Public License along with this library; if not, write to the
|
17
19
|
Free Software Foundation, Inc., 59 Temple Place, Suite 330,
|
18
20
|
Boston, MA 02111-1307 USA
|
19
|
-
|
21
|
+
*/
|
22
|
+
|
20
23
|
package processing.event;
|
21
24
|
|
22
25
|
//import processing.core.PConstants;
|
23
|
-
public class MouseEvent extends Event {
|
24
|
-
|
25
|
-
static public final int PRESS = 1;
|
26
|
-
static public final int RELEASE = 2;
|
27
|
-
static public final int CLICK = 3;
|
28
|
-
static public final int DRAG = 4;
|
29
|
-
static public final int MOVE = 5;
|
30
|
-
static public final int ENTER = 6;
|
31
|
-
static public final int EXIT = 7;
|
32
|
-
static public final int WHEEL = 8;
|
33
|
-
|
34
|
-
protected int x, y;
|
35
|
-
protected int button;
|
36
|
-
// protected int clickCount;
|
37
|
-
// protected float amount;
|
38
|
-
protected int count;
|
39
|
-
|
40
|
-
// public MouseEvent(int x, int y) {
|
41
|
-
// this(null,
|
42
|
-
// System.currentTimeMillis(), PRESSED, 0,
|
43
|
-
// x, y, PConstants.LEFT, 1);
|
44
|
-
// }
|
45
|
-
public MouseEvent(Object nativeObject,
|
46
|
-
long millis, int action, int modifiers,
|
47
|
-
int x, int y, int button, int count) { //float amount) { //int clickCount) {
|
48
|
-
super(nativeObject, millis, action, modifiers);
|
49
|
-
this.flavor = MOUSE;
|
50
|
-
this.x = x;
|
51
|
-
this.y = y;
|
52
|
-
this.button = button;
|
53
|
-
//this.clickCount = clickCount;
|
54
|
-
//this.amount = amount;
|
55
|
-
this.count = count;
|
56
|
-
}
|
57
|
-
|
58
|
-
public int getX() {
|
59
|
-
return x;
|
60
|
-
}
|
61
|
-
|
62
|
-
public int getY() {
|
63
|
-
return y;
|
64
|
-
}
|
65
26
|
|
66
|
-
/**
|
67
|
-
* Which button was pressed, either LEFT, CENTER, or RIGHT.
|
68
|
-
*/
|
69
|
-
public int getButton() {
|
70
|
-
return button;
|
71
|
-
}
|
72
|
-
|
73
|
-
// public void setButton(int button) {
|
74
|
-
// this.button = button;
|
75
|
-
// }
|
76
|
-
/**
|
77
|
-
* Do not use, getCount() is the correct method.
|
78
|
-
*/
|
79
|
-
@Deprecated
|
80
|
-
public int getClickCount() {
|
81
|
-
//return (int) amount; //clickCount;
|
82
|
-
return count;
|
83
|
-
}
|
84
|
-
|
85
|
-
/**
|
86
|
-
* Do not use, getCount() is the correct method.
|
87
|
-
*/
|
88
|
-
@Deprecated
|
89
|
-
public float getAmount() {
|
90
|
-
//return amount;
|
91
|
-
return count;
|
92
|
-
}
|
93
27
|
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
28
|
+
public class MouseEvent extends Event {
|
29
|
+
static public final int PRESS = 1;
|
30
|
+
static public final int RELEASE = 2;
|
31
|
+
static public final int CLICK = 3;
|
32
|
+
static public final int DRAG = 4;
|
33
|
+
static public final int MOVE = 5;
|
34
|
+
static public final int ENTER = 6;
|
35
|
+
static public final int EXIT = 7;
|
36
|
+
static public final int WHEEL = 8;
|
37
|
+
|
38
|
+
protected int x, y;
|
39
|
+
protected int button;
|
40
|
+
protected int count;
|
41
|
+
|
42
|
+
|
43
|
+
public MouseEvent(Object nativeObject,
|
44
|
+
long millis, int action, int modifiers,
|
45
|
+
int x, int y, int button, int count) {
|
46
|
+
super(nativeObject, millis, action, modifiers);
|
47
|
+
this.flavor = MOUSE;
|
48
|
+
this.x = x;
|
49
|
+
this.y = y;
|
50
|
+
this.button = button;
|
51
|
+
this.count = count;
|
52
|
+
}
|
53
|
+
|
54
|
+
|
55
|
+
public int getX() {
|
56
|
+
return x;
|
57
|
+
}
|
58
|
+
|
59
|
+
|
60
|
+
public int getY() {
|
61
|
+
return y;
|
62
|
+
}
|
63
|
+
|
64
|
+
|
65
|
+
/** Which button was pressed, either LEFT, CENTER, or RIGHT.
|
66
|
+
* @return */
|
67
|
+
public int getButton() {
|
68
|
+
return button;
|
69
|
+
}
|
70
|
+
|
71
|
+
|
72
|
+
/**
|
73
|
+
* Number of clicks for mouse button events, or the number of steps (positive
|
74
|
+
* or negative depending on direction) for a mouse wheel event.Wheel events follow Java (see <a href="http://docs.oracle.com/javase/6/docs/api/java/awt/event/MouseWheelEvent.html#getWheelRotation()">here</a>), so
|
75
|
+
getAmount() will return "negative values if the mouse wheel was rotated
|
76
|
+
up or away from the user" and positive values in the other direction.
|
77
|
+
* On Mac OS X, this will be reversed when "natural" scrolling is enabled
|
78
|
+
in System Preferences &rarr Mouse.
|
79
|
+
* @return
|
80
|
+
*/
|
81
|
+
public int getCount() {
|
82
|
+
return count;
|
83
|
+
}
|
84
|
+
|
85
|
+
|
86
|
+
private String actionString() {
|
87
|
+
switch (action) {
|
88
|
+
default:
|
89
|
+
return "UNKNOWN";
|
90
|
+
case CLICK:
|
91
|
+
return "CLICK";
|
92
|
+
case DRAG:
|
93
|
+
return "DRAG";
|
94
|
+
case ENTER:
|
95
|
+
return "ENTER";
|
96
|
+
case EXIT:
|
97
|
+
return "EXIT";
|
98
|
+
case MOVE:
|
99
|
+
return "MOVE";
|
100
|
+
case PRESS:
|
101
|
+
return "PRESS";
|
102
|
+
case RELEASE:
|
103
|
+
return "RELEASE";
|
104
|
+
case WHEEL:
|
105
|
+
return "WHEEL";
|
132
106
|
}
|
107
|
+
}
|
133
108
|
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
109
|
+
@Override
|
110
|
+
public String toString() {
|
111
|
+
return String.format("<MouseEvent %s@%d,%d count:%d button:%d>",
|
112
|
+
actionString(), x, y, count, button);
|
113
|
+
}
|
139
114
|
}
|
@@ -1,3 +1,5 @@
|
|
1
|
+
/* -*- mode: java; c-basic-offset: 2; indent-tabs-mode: nil -*- */
|
2
|
+
|
1
3
|
/*
|
2
4
|
Part of the Processing project - http://processing.org
|
3
5
|
|
@@ -16,9 +18,11 @@
|
|
16
18
|
Public License along with this library; if not, write to the
|
17
19
|
Free Software Foundation, Inc., 59 Temple Place, Suite 330,
|
18
20
|
Boston, MA 02111-1307 USA
|
19
|
-
|
21
|
+
*/
|
22
|
+
|
20
23
|
package processing.event;
|
21
24
|
|
25
|
+
|
22
26
|
// PLACEHOLDER CLASS: DO NOT USE. IT HAS NOT EVEN DECIDED WHETHER
|
23
27
|
// THIS WILL BE CALLED TOUCHEVENT ONCE IT'S FINISHED.
|
24
28
|
|
@@ -43,11 +47,11 @@ http://www.w3.org/TR/2011/WD-touch-events-20110913/
|
|
43
47
|
Pointer and gesture events (Windows)
|
44
48
|
http://msdn.microsoft.com/en-US/library/ie/hh673557.aspx
|
45
49
|
|
46
|
-
|
50
|
+
*/
|
47
51
|
public class TouchEvent extends Event {
|
48
52
|
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
+
public TouchEvent(Object nativeObject, long millis, int action, int modifiers) {
|
54
|
+
super(nativeObject, millis, action, modifiers);
|
55
|
+
this.flavor = TOUCH;
|
56
|
+
}
|
53
57
|
}
|
@@ -1,357 +1,32 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
import processing.core.PGraphics;
|
4
|
-
import processing.core.PImage;
|
5
|
-
import processing.core.PMatrix;
|
6
|
-
import processing.core.PMatrix2D;
|
7
|
-
import processing.core.PMatrix3D;
|
8
|
-
import processing.core.PShape;
|
9
|
-
import processing.core.PSurface;
|
10
|
-
|
11
|
-
public class PGraphicsFX2D extends PGraphics {
|
12
|
-
|
13
|
-
final String message = "FX2D renderer not supported in this version of propane";
|
14
|
-
|
15
|
-
public PGraphicsFX2D() {
|
16
|
-
}
|
17
|
-
|
18
|
-
@Override
|
19
|
-
public void applyMatrix(float n00, float n01, float n02, float n10, float n11, float n12) {
|
20
|
-
throw new UnsupportedOperationException(message);
|
21
|
-
}
|
22
|
-
|
23
|
-
@Override
|
24
|
-
public void applyMatrix(float n00, float n01, float n02, float n03, float n10, float n11, float n12, float n13, float n20, float n21, float n22, float n23, float n30, float n31, float n32, float n33) {
|
25
|
-
throw new UnsupportedOperationException(message);
|
26
|
-
}
|
27
|
-
|
28
|
-
@Override
|
29
|
-
protected void backgroundImpl() {
|
30
|
-
throw new UnsupportedOperationException(message);
|
31
|
-
}
|
32
|
-
|
33
|
-
@Override
|
34
|
-
public void beginContour() {
|
35
|
-
throw new UnsupportedOperationException(message);
|
36
|
-
}
|
37
|
-
|
38
|
-
@Override
|
39
|
-
public void beginDraw() {
|
40
|
-
throw new UnsupportedOperationException(message);
|
41
|
-
}
|
42
|
-
|
43
|
-
@Override
|
44
|
-
public void beginShape(int kind) {
|
45
|
-
throw new UnsupportedOperationException(message);
|
46
|
-
}
|
47
|
-
|
48
|
-
@Override
|
49
|
-
public void bezierDetail(int detail) {
|
50
|
-
throw new UnsupportedOperationException(message);
|
51
|
-
}
|
52
|
-
|
53
|
-
@Override
|
54
|
-
public void bezierVertex(float x1, float y1, float x2, float y2, float x3, float y3) {
|
55
|
-
throw new UnsupportedOperationException(message);
|
56
|
-
}
|
57
|
-
|
58
|
-
@Override
|
59
|
-
public void bezierVertex(float x2, float y2, float z2, float x3, float y3, float z3, float x4, float y4, float z4) {
|
60
|
-
throw new UnsupportedOperationException(message);
|
61
|
-
}
|
62
|
-
|
63
|
-
@Override
|
64
|
-
public void box(float w, float h, float d) {
|
65
|
-
throw new UnsupportedOperationException(message);
|
66
|
-
}
|
67
|
-
|
68
|
-
@Override
|
69
|
-
public PSurface createSurface() {
|
70
|
-
throw new UnsupportedOperationException(message);
|
71
|
-
}
|
72
|
-
|
73
|
-
@Override
|
74
|
-
public void curveDetail(int detail) {
|
75
|
-
throw new UnsupportedOperationException(message);
|
76
|
-
}
|
77
|
-
|
78
|
-
@Override
|
79
|
-
public void curveVertex(float x, float y, float z) {
|
80
|
-
throw new UnsupportedOperationException(message);
|
81
|
-
}
|
82
|
-
|
83
|
-
@Override
|
84
|
-
public void endContour() {
|
85
|
-
throw new UnsupportedOperationException(message);
|
86
|
-
}
|
87
|
-
|
88
|
-
@Override
|
89
|
-
public void endDraw() {
|
90
|
-
throw new UnsupportedOperationException(message);
|
91
|
-
}
|
92
|
-
|
93
|
-
@Override
|
94
|
-
public void endShape(int mode) {
|
95
|
-
throw new UnsupportedOperationException(message);
|
96
|
-
}
|
97
|
-
|
98
|
-
@Override
|
99
|
-
public void flush() {
|
100
|
-
throw new UnsupportedOperationException(message);
|
101
|
-
}
|
102
|
-
|
103
|
-
@Override
|
104
|
-
public int get(int x, int y) {
|
105
|
-
throw new UnsupportedOperationException(message);
|
106
|
-
}
|
107
|
-
|
108
|
-
@Override
|
109
|
-
public PMatrix getMatrix() {
|
110
|
-
throw new UnsupportedOperationException(message);
|
111
|
-
}
|
112
|
-
|
113
|
-
@Override
|
114
|
-
public PMatrix2D getMatrix(PMatrix2D target) {
|
115
|
-
throw new UnsupportedOperationException(message);
|
116
|
-
}
|
117
|
-
|
118
|
-
@Override
|
119
|
-
public PMatrix3D getMatrix(PMatrix3D target) {
|
120
|
-
throw new UnsupportedOperationException(message);
|
121
|
-
}
|
122
|
-
|
123
|
-
@Override
|
124
|
-
public Object getNative() {
|
125
|
-
throw new UnsupportedOperationException(message);
|
126
|
-
}
|
127
|
-
|
128
|
-
@Override
|
129
|
-
public void line(float x1, float y1, float x2, float y2) {
|
130
|
-
throw new UnsupportedOperationException(message);
|
131
|
-
}
|
132
|
-
|
133
|
-
@Override
|
134
|
-
public void loadPixels() {
|
135
|
-
throw new UnsupportedOperationException(message);
|
136
|
-
}
|
137
|
-
|
138
|
-
@Override
|
139
|
-
public PShape loadShape(String filename) {
|
140
|
-
throw new UnsupportedOperationException(message);
|
141
|
-
}
|
142
|
-
|
143
|
-
@Override
|
144
|
-
public PShape loadShape(String filename, String options) {
|
145
|
-
throw new UnsupportedOperationException(message);
|
146
|
-
}
|
147
|
-
|
148
|
-
@Override
|
149
|
-
public void mask(PImage alpha) {
|
150
|
-
throw new UnsupportedOperationException(message);
|
151
|
-
}
|
1
|
+
/* -*- mode: java; c-basic-offset: 2; indent-tabs-mode: nil -*- */
|
152
2
|
|
153
|
-
|
154
|
-
|
155
|
-
throw new UnsupportedOperationException(message);
|
156
|
-
}
|
3
|
+
/*
|
4
|
+
Part of the Processing project - http://processing.org
|
157
5
|
|
158
|
-
|
159
|
-
public void point(float x, float y) {
|
160
|
-
throw new UnsupportedOperationException(message);
|
161
|
-
}
|
6
|
+
Copyright (c) 2015 The Processing Foundation
|
162
7
|
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
}
|
8
|
+
This library is free software; you can redistribute it and/or
|
9
|
+
modify it under the terms of the GNU Lesser General Public
|
10
|
+
License as published by the Free Software Foundation, version 2.1.
|
167
11
|
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
12
|
+
This library is distributed in the hope that it will be useful,
|
13
|
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
14
|
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
15
|
+
Lesser General Public License for more details.
|
172
16
|
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
17
|
+
You should have received a copy of the GNU Lesser General
|
18
|
+
Public License along with this library; if not, write to the
|
19
|
+
Free Software Foundation, Inc., 59 Temple Place, Suite 330,
|
20
|
+
Boston, MA 02111-1307 USA
|
21
|
+
*/
|
177
22
|
|
178
|
-
|
179
|
-
public void quad(float x1, float y1, float x2, float y2, float x3, float y3, float x4, float y4) {
|
180
|
-
throw new UnsupportedOperationException(message);
|
181
|
-
}
|
182
|
-
|
183
|
-
@Override
|
184
|
-
public void quadraticVertex(float ctrlX, float ctrlY, float endX, float endY) {
|
185
|
-
throw new UnsupportedOperationException(message);
|
186
|
-
}
|
187
|
-
|
188
|
-
@Override
|
189
|
-
public void quadraticVertex(float x2, float y2, float z2, float x4, float y4, float z4) {
|
190
|
-
throw new UnsupportedOperationException(message);
|
191
|
-
}
|
192
|
-
|
193
|
-
@Override
|
194
|
-
public void resetMatrix() {
|
195
|
-
throw new UnsupportedOperationException(message);
|
196
|
-
}
|
197
|
-
|
198
|
-
@Override
|
199
|
-
public void rotate(float angle) {
|
200
|
-
throw new UnsupportedOperationException(message);
|
201
|
-
}
|
202
|
-
|
203
|
-
@Override
|
204
|
-
public void rotate(float angle, float vx, float vy, float vz) {
|
205
|
-
throw new UnsupportedOperationException(message);
|
206
|
-
}
|
207
|
-
|
208
|
-
@Override
|
209
|
-
public void rotateX(float angle) {
|
210
|
-
throw new UnsupportedOperationException(message);
|
211
|
-
}
|
212
|
-
|
213
|
-
@Override
|
214
|
-
public void rotateY(float angle) {
|
215
|
-
throw new UnsupportedOperationException(message);
|
216
|
-
}
|
217
|
-
|
218
|
-
@Override
|
219
|
-
public void rotateZ(float angle) {
|
220
|
-
throw new UnsupportedOperationException(message);
|
221
|
-
}
|
222
|
-
|
223
|
-
@Override
|
224
|
-
public void scale(float s) {
|
225
|
-
throw new UnsupportedOperationException(message);
|
226
|
-
}
|
227
|
-
|
228
|
-
@Override
|
229
|
-
public void scale(float sx, float sy) {
|
230
|
-
throw new UnsupportedOperationException(message);
|
231
|
-
}
|
232
|
-
|
233
|
-
@Override
|
234
|
-
public void scale(float sx, float sy, float sz) {
|
235
|
-
throw new UnsupportedOperationException(message);
|
236
|
-
}
|
237
|
-
|
238
|
-
@Override
|
239
|
-
public float screenX(float x, float y) {
|
240
|
-
throw new UnsupportedOperationException(message);
|
241
|
-
}
|
242
|
-
|
243
|
-
@Override
|
244
|
-
public float screenX(float x, float y, float z) {
|
245
|
-
throw new UnsupportedOperationException(message);
|
246
|
-
}
|
247
|
-
|
248
|
-
@Override
|
249
|
-
public float screenY(float x, float y) {
|
250
|
-
throw new UnsupportedOperationException(message);
|
251
|
-
}
|
252
|
-
|
253
|
-
@Override
|
254
|
-
public float screenY(float x, float y, float z) {
|
255
|
-
throw new UnsupportedOperationException(message);
|
256
|
-
}
|
257
|
-
|
258
|
-
@Override
|
259
|
-
public float screenZ(float x, float y, float z) {
|
260
|
-
throw new UnsupportedOperationException(message);
|
261
|
-
}
|
262
|
-
|
263
|
-
@Override
|
264
|
-
public void set(int x, int y, int argb) {
|
265
|
-
throw new UnsupportedOperationException(message);
|
266
|
-
}
|
267
|
-
|
268
|
-
@Override
|
269
|
-
public void setMatrix(PMatrix2D source) {
|
270
|
-
throw new UnsupportedOperationException(message);
|
271
|
-
}
|
272
|
-
|
273
|
-
@Override
|
274
|
-
public void setMatrix(PMatrix3D source) {
|
275
|
-
throw new UnsupportedOperationException(message);
|
276
|
-
}
|
277
|
-
|
278
|
-
@Override
|
279
|
-
public void shearX(float angle) {
|
280
|
-
throw new UnsupportedOperationException(message);
|
281
|
-
}
|
282
|
-
|
283
|
-
@Override
|
284
|
-
public void shearY(float angle) {
|
285
|
-
throw new UnsupportedOperationException(message);
|
286
|
-
}
|
287
|
-
|
288
|
-
@Override
|
289
|
-
public void sphere(float r) {
|
290
|
-
throw new UnsupportedOperationException(message);
|
291
|
-
}
|
292
|
-
|
293
|
-
@Override
|
294
|
-
public void strokeCap(int cap) {
|
295
|
-
throw new UnsupportedOperationException(message);
|
296
|
-
}
|
297
|
-
|
298
|
-
@Override
|
299
|
-
public void strokeJoin(int join) {
|
300
|
-
throw new UnsupportedOperationException(message);
|
301
|
-
}
|
302
|
-
|
303
|
-
@Override
|
304
|
-
public void strokeWeight(float weight) {
|
305
|
-
throw new UnsupportedOperationException(message);
|
306
|
-
}
|
307
|
-
|
308
|
-
@Override
|
309
|
-
public float textAscent() {
|
310
|
-
throw new UnsupportedOperationException(message);
|
311
|
-
}
|
312
|
-
|
313
|
-
@Override
|
314
|
-
public float textDescent() {
|
315
|
-
throw new UnsupportedOperationException(message);
|
316
|
-
}
|
317
|
-
|
318
|
-
@Override
|
319
|
-
public void texture(PImage image) {
|
320
|
-
throw new UnsupportedOperationException(message);
|
321
|
-
}
|
322
|
-
|
323
|
-
@Override
|
324
|
-
public void translate(float tx, float ty) {
|
325
|
-
throw new UnsupportedOperationException(message);
|
326
|
-
}
|
327
|
-
|
328
|
-
@Override
|
329
|
-
public void triangle(float x1, float y1, float x2, float y2, float x3, float y3) {
|
330
|
-
throw new UnsupportedOperationException(message);
|
331
|
-
}
|
23
|
+
package processing.javafx;
|
332
24
|
|
333
|
-
@Override
|
334
|
-
public void vertex(float x, float y) {
|
335
|
-
throw new UnsupportedOperationException(message);
|
336
|
-
}
|
337
25
|
|
338
|
-
@Override
|
339
|
-
public void vertex(float x, float y, float z) {
|
340
|
-
throw new UnsupportedOperationException(message);
|
341
|
-
}
|
342
26
|
|
343
|
-
|
344
|
-
public void vertex(float[] v) {
|
345
|
-
throw new UnsupportedOperationException(message);
|
346
|
-
}
|
27
|
+
import processing.core.*;
|
347
28
|
|
348
|
-
@Override
|
349
|
-
public void vertex(float x, float y, float u, float v) {
|
350
|
-
throw new UnsupportedOperationException(message);
|
351
|
-
}
|
352
29
|
|
353
|
-
|
354
|
-
|
355
|
-
throw new UnsupportedOperationException(message);
|
356
|
-
}
|
30
|
+
public class PGraphicsFX2D extends PGraphics {
|
31
|
+
|
357
32
|
}
|