|
| 1 | +setMainDrawingSurface() -> setPrimarySurface() |
| 2 | +mainDrawingSurface = primarySurface; |
| 3 | +resize() -> setSize() (roughly) |
| 4 | +endShape() with no params is no longer 'final' |
| 5 | +X/Y/Z -> TX/TY/TZ |
| 6 | +MX/MY/MZ -> X/Y/Z (for sake of PShape) |
| 7 | + |
| 8 | +// |
| 9 | + |
| 10 | + setParent() |
| 11 | + setPrimary() |
| 12 | + setPath() |
| 13 | + setSize(int w, int h) |
| 14 | + allocate() |
| 15 | + |
| 16 | + canDraw() |
| 17 | + beginDraw() |
| 18 | + endDraw() |
| 19 | + |
| 20 | + flush() - flushDraw()? |
| 21 | + |
| 22 | + checkSettings() |
| 23 | + defaultSettings() |
| 24 | + reapplySettings() |
| 25 | + |
| 26 | + hint() |
| 27 | + unhint() |
| 28 | + |
| 29 | + public void beginShape() |
| 30 | + public void beginShape(int kind) |
| 31 | + public void normal(float nx, float ny, float nz) |
| 32 | + |
| 33 | + public void textureMode(int mode) |
| 34 | + public void texture(PImage image) |
| 35 | + public void vertex(float x, float y) |
| 36 | + public void vertex(float x, float y, float z) |
| 37 | + public void vertex(float x, float y, float u, float v) |
| 38 | + public void vertex(float x, float y, float z, float u, float v) |
| 39 | + public void bezierVertex(float x2, float y2, |
| 40 | + public void bezierVertex(float x2, float y2, float z2, |
| 41 | + public void curveVertex(float x, float y) |
| 42 | + public void curveVertex(float x, float y, float z) |
| 43 | + public void breakShape() |
| 44 | + public void endShape() |
| 45 | + public void endShape(int mode) |
| 46 | + |
| 47 | + public void point(float x, float y) |
| 48 | + public void point(float x, float y, float z) |
| 49 | + public void line(float x1, float y1, float x2, float y2) |
| 50 | + public void line(float x1, float y1, float z1, |
| 51 | + public void triangle(float x1, float y1, float x2, float y2, |
| 52 | + public void quad(float x1, float y1, float x2, float y2, |
| 53 | + public void rectMode(int mode) |
| 54 | + public void rect(float x1, float y1, float x2, float y2) |
| 55 | + public void ellipseMode(int mode) |
| 56 | + public void ellipse(float a, float b, float c, float d) |
| 57 | + public void arc(float a, float b, float c, float d, |
| 58 | + |
| 59 | + public void box(float size) |
| 60 | + public void box(float w, float h, float d) |
| 61 | + public void sphereDetail(int res) |
| 62 | + public void sphereDetail(int ures, int vres) |
| 63 | + public void sphere(float r) |
| 64 | + |
| 65 | + public float bezierPoint(float a, float b, float c, float d, float t) |
| 66 | + public float bezierTangent(float a, float b, float c, float d, float t) |
| 67 | + public void bezierDetail(int detail) |
| 68 | + public void bezier(float x1, float y1, |
| 69 | + public void bezier(float x1, float y1, float z1, |
| 70 | + |
| 71 | + public float curvePoint(float a, float b, float c, float d, float t) |
| 72 | + public float curveTangent(float a, float b, float c, float d, |
| 73 | + public void curveDetail(int detail) |
| 74 | + public void curveTightness(float tightness) |
| 75 | + public void curve(float x1, float y1, |
| 76 | + public void curve(float x1, float y1, float z1, |
| 77 | + |
| 78 | + public void image(PImage image, float x, float y) |
| 79 | + public void image(PImage image, |
| 80 | + public void image(PImage image, |
| 81 | + |
| 82 | + public void textAlign(int align) |
| 83 | + public void textAlign(int alignX, int alignY) |
| 84 | + public float textAscent() |
| 85 | + public float textDescent() |
| 86 | + public void textFont(PFont which) |
| 87 | + public void textFont(PFont which, float size) |
| 88 | + public void textLeading(float leading) |
| 89 | + public void textMode(int mode) |
| 90 | + public void textSize(float size) |
| 91 | + public float textWidth(char c) |
| 92 | + public float textWidth(String str) |
| 93 | + |
| 94 | + public void text(char c) |
| 95 | + public void text(char c, float x, float y) |
| 96 | + public void text(char c, float x, float y, float z) |
| 97 | + public void text(String str) |
| 98 | + public void text(String str, float x, float y) |
| 99 | + public void text(String str, float x, float y, float z) |
| 100 | + public void text(String str, float x1, float y1, float x2, float y2) |
| 101 | + public void text(String s, float x1, float y1, float x2, float y2, float z) |
| 102 | + public void text(int num, float x, float y) |
| 103 | + public void text(int num, float x, float y, float z) |
| 104 | + public void text(float num, float x, float y) |
| 105 | + public void text(float num, float x, float y, float z) |
| 106 | + |
| 107 | + public void translate(float tx, float ty) |
| 108 | + public void translate(float tx, float ty, float tz) |
| 109 | + public void rotate(float angle) |
| 110 | + public void rotateX(float angle) |
| 111 | + public void rotateY(float angle) |
| 112 | + public void rotateZ(float angle) |
| 113 | + public void rotate(float angle, float vx, float vy, float vz) |
| 114 | + public void scale(float s) |
| 115 | + public void scale(float sx, float sy) |
| 116 | + public void scale(float x, float y, float z) |
| 117 | + |
| 118 | + public void pushMatrix() |
| 119 | + public void popMatrix() |
| 120 | + public void resetMatrix() |
| 121 | + public void applyMatrix(float n00, float n01, float n02, |
| 122 | + public void applyMatrix(float n00, float n01, float n02, float n03, |
| 123 | + public void loadMatrix() |
| 124 | + public void printMatrix() |
| 125 | + |
| 126 | + public void beginCamera() |
| 127 | + public void endCamera() |
| 128 | + public void camera() |
| 129 | + public void camera(float eyeX, float eyeY, float eyeZ, |
| 130 | + public void printCamera() |
| 131 | + |
| 132 | + public void ortho() |
| 133 | + public void ortho(float left, float right, |
| 134 | + public void perspective() |
| 135 | + public void perspective(float fovy, float aspect, float zNear, float zFar) |
| 136 | + public void frustum(float left, float right, float bottom, |
| 137 | + public void printProjection() |
| 138 | + |
| 139 | + public float screenX(float x, float y) |
| 140 | + public float screenY(float x, float y) |
| 141 | + public float screenX(float x, float y, float z) |
| 142 | + public float screenY(float x, float y, float z) |
| 143 | + public float screenZ(float x, float y, float z) |
| 144 | + public float modelX(float x, float y, float z) |
| 145 | + public float modelY(float x, float y, float z) |
| 146 | + public float modelZ(float x, float y, float z) |
| 147 | + |
| 148 | + public void colorMode(int mode) |
| 149 | + public void colorMode(int mode, float max) |
| 150 | + public void colorMode(int mode, |
| 151 | + public void colorMode(int mode, |
| 152 | + |
| 153 | + public void noStroke() |
| 154 | + public void stroke(int rgb) |
| 155 | + public void stroke(int rgb, float alpha) |
| 156 | + public void stroke(float gray) |
| 157 | + public void stroke(float gray, float alpha) |
| 158 | + public void stroke(float x, float y, float z) |
| 159 | + public void stroke(float x, float y, float z, float a) |
| 160 | + |
| 161 | + public void strokeCap(int cap) |
| 162 | + public void strokeJoin(int join) |
| 163 | + public void strokeWeight(float weight) |
| 164 | + |
| 165 | + public void noTint() |
| 166 | + public void tint(int rgb) |
| 167 | + public void tint(int rgb, float alpha) |
| 168 | + public void tint(float gray) |
| 169 | + public void tint(float gray, float alpha) |
| 170 | + public void tint(float x, float y, float z) |
| 171 | + public void tint(float x, float y, float z, float a) |
| 172 | + |
| 173 | + public void noFill() |
| 174 | + public void fill(int rgb) |
| 175 | + public void fill(int rgb, float alpha) |
| 176 | + public void fill(float gray) |
| 177 | + public void fill(float gray, float alpha) |
| 178 | + public void fill(float x, float y, float z) |
| 179 | + public void fill(float x, float y, float z, float a) |
| 180 | + |
| 181 | + public void ambient(int rgb) |
| 182 | + public void ambient(float gray) |
| 183 | + public void ambient(float x, float y, float z) |
| 184 | + |
| 185 | + public void specular(int rgb) |
| 186 | + public void specular(float gray) |
| 187 | + public void specular(float x, float y, float z) |
| 188 | + public void shininess(float shine) |
| 189 | + |
| 190 | + public void emissive(int rgb) |
| 191 | + public void emissive(float gray) |
| 192 | + public void emissive(float x, float y, float z ) |
| 193 | + |
| 194 | + public void lights() |
| 195 | + public void noLights() |
| 196 | + public void ambientLight(float red, float green, float blue) |
| 197 | + public void ambientLight(float red, float green, float blue, |
| 198 | + public void directionalLight(float red, float green, float blue, |
| 199 | + public void pointLight(float red, float green, float blue, |
| 200 | + public void spotLight(float red, float green, float blue, |
| 201 | + public void lightFalloff(float constant, float linear, float quadratic) |
| 202 | + public void lightSpecular(float x, float y, float z) |
| 203 | + |
| 204 | + public void background(int rgb) |
| 205 | + public void background(int rgb, float alpha) |
| 206 | + public void background(float gray) |
| 207 | + public void background(float gray, float alpha) |
| 208 | + public void background(float x, float y, float z) |
| 209 | + public void background(float x, float y, float z, float a) |
| 210 | + public void background(PImage image) |
| 211 | + |
| 212 | + public final float alpha(int what) |
| 213 | + public final float red(int what) |
| 214 | + public final float green(int what) |
| 215 | + public final float blue(int what) |
| 216 | + public final float hue(int what) |
| 217 | + public final float saturation(int what) |
| 218 | + public final float brightness(int what) |
| 219 | + |
| 220 | + public int lerpColor(int c1, int c2, float amt) |
| 221 | + static public int lerpColor(int c1, int c2, float amt, int mode) |
| 222 | + |
| 223 | + public boolean displayable() |
| 224 | + |
| 225 | +// |
| 226 | + |
| 227 | + public void smooth() |
| 228 | + public void noSmooth() |
| 229 | + |
| 230 | + public void imageMode(int mode) |
| 231 | + |
| 232 | + public void loadPixels() |
| 233 | + public void updatePixels() |
| 234 | + public void updatePixels(int x1, int y1, int x2, int y2) |
| 235 | + |
| 236 | + public int get(int x, int y) |
| 237 | + public PImage get(int x, int y, int w, int h) |
| 238 | + public PImage get() |
| 239 | + public void set(int x, int y, int c) |
| 240 | + public void set(int dx, int dy, PImage src) |
| 241 | + |
| 242 | + public void mask(int alpha[]) |
| 243 | + public void mask(PImage alpha) |
| 244 | + |
| 245 | + public void filter(int kind) |
| 246 | + public void filter(int kind, float param) |
| 247 | + |
| 248 | + public void copy(int sx1, int sy1, int sx2, int sy2, |
| 249 | + public void copy(PImage src, |
| 250 | + |
| 251 | + static public int blendColor(int c1, int c2, int mode) |
| 252 | + public void blend(int sx1, int sy1, int sx2, int sy2, |
| 253 | + public void blend(PImage src, |
0 commit comments