Bug 773 : Candy SVG enhancement request: constructor from XMLElement (current svn snapshot)
Last modified: 2008-05-21 07:29




Status:
RESOLVED
Resolution:
FIXED -
Priority:
P3
Severity:
enhancement

 

Reporter:
chazmatazz
Assigned To:
fry

Attachment Type Created Size Actions

Description:   Opened: 2008-05-19 10:24
I would like to see a constructor (PApplet parent, XMLElement element).

Why? I have an SVG that I manipulate in memory (to change colors; not possible with a filter)
and then I want to render it. The current constructor (PApplet parent, String filename) would
require me to write then read from disk -- not a good idea when I have several hundred SVGs to
modify then render.

I have a small patch for this, if you want it.
Additional Comment #1 From fry 2008-05-21 07:29
sure, that's useful and easily fixed. just checked in the change.