We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexSuggestions & BugsSoftware Bugs › SVG, OPENGL, and Caps/Joins
Page Index Toggle Pages: 1
SVG, OPENGL, and Caps/Joins (Read 2222 times)
SVG, OPENGL, and Caps/Joins
Sep 18th, 2007, 11:57am
 
Hello Fry, I've got a bug for you in Candy

SVG joins and caps have been added for 125. Excellent.

Except, those two features are not available for OpenGL. An SVG draw will fail if it has any form of strokes at all, under that render mode.

In candy... there should be some test
Code:

protected void drawStyles() {
parent.colorMode(PConstants.RGB, 255);

if (stroke) {
parent.stroke(strokeColor);
parent.strokeWeight(strokeWeight);

if (parent.renderMode != PConstants.OPENGL){
parent.strokeCap(strokeCap);
parent.strokeJoin(strokeJoin);
}

} else {
parent.noStroke();
}
....


Something like that. I couldn't quite find a renderMode equivalent.
Re: SVG, OPENGL, and Caps/Joins
Reply #1 - Sep 18th, 2007, 12:31pm
 
hi michael, can you please post a bug-report for that over at bugs

thanks
F
Re: SVG, OPENGL, and Caps/Joins
Reply #2 - Sep 18th, 2007, 10:19pm
 
Oh yeah.

Sure thing.
Re: SVG, OPENGL, and Caps/Joins
Reply #3 - Sep 19th, 2007, 1:48pm
 
thanks, closing this thread.
Page Index Toggle Pages: 1