fix for strokeCap() issue in opengl

This commit is contained in:
benfry
2006-03-15 14:47:30 +00:00
parent 0b5d50b689
commit 473bf4869e
3 changed files with 26 additions and 12 deletions
+16 -9
View File
@@ -162,11 +162,19 @@ public class PGraphics extends PImage implements PConstants {
/** Last value set by strokeWeight() (read-only) */
public float strokeWeight;
/** Set by strokeJoin() (read-only) */
public int strokeJoin;
/**
* Set by strokeJoin() (read-only). This has a default setting
* so that strokeJoin() need not be called by defaults,
* because subclasses may not implement it (i.e. PGraphicsGL)
*/
public int strokeJoin = MITER;
/** Set by strokeCap() (read-only) */
public int strokeCap;
/**
* Set by strokeCap() (read-only). This has a default setting
* so that strokeCap() need not be called by defaults,
* because subclasses may not implement it (i.e. PGraphicsGL)
*/
public int strokeCap = ROUND;
// ........................................................
@@ -605,11 +613,10 @@ public class PGraphics extends PImage implements PConstants {
stroke(0);
strokeWeight(ONE);
//strokeCap(SQUARE);
try {
strokeCap(ROUND);
strokeJoin(MITER);
} catch (RuntimeException e) { } // P3D will complain
//try {
//strokeCap(ROUND);
//strokeJoin(MITER);
//} catch (RuntimeException e) { } // P3D will complain
background(204);
+2 -3
View File
@@ -1,9 +1,8 @@
0109 core
X loadImage("") produces weird error message
X http://processing.org/discourse/yabb_beta/YaBB.cgi?board=Programs;action=display;num=1136487954
_ still having strokeCap() problems
_ http://processing.org/discourse/yabb_beta/YaBB.cgi?board=SoftwareBugs;action=display;num=1134011764
X still having strokeCap() problems
X http://processing.org/discourse/yabb_beta/YaBB.cgi?board=SoftwareBugs;action=display;num=1134011764
_ when an exception comes through during cameraEvent, not printed
_ need to show an actual stack trace (InvocationTargetEx)
+8
View File
@@ -15,6 +15,9 @@ _ fix linux dist script to work more like the exported apps
_ no relative paths, etc
_ http://dev.processing.org/bugs/show_bug.cgi?id=298
_ sketch marked as modified too aggressively
_ http://processing.org/discourse/yabb_beta/YaBB.cgi?board=SoftwareBugs;action=display;num=1142415397
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
@@ -32,6 +35,11 @@ _ when a conflicting library is found, need to report it
_ altho prolly only when it's actually different (md5hash it?)
_ issue of people calling their sketches things like Server
_ warn if someone extends PApplet but mis-names the sketch
_ or don't allow it to be exported
_ or at least add a note about this to the faq
_ show an error message when on export to app
_ when no main() is included but class extends PApplet
_ keep checking whether google has started to honor robots.txt
_ http://www.google.com/search?hl=en&lr=&q=angleMode+site%3Aprocessing.org&btnG=Search