patriciogonzalezvivo / vPlotter

Wireless vPlotter for RaspberryPi
http://patriciogonzalezvivo.com/2014/vPlotter/
BSD 3-Clause "New" or "Revised" License
67 stars 17 forks source link

Handling SVG elements other than 'path' #1

Open sepans opened 10 years ago

sepans commented 10 years ago

First, thanks for the code and great documentation. I noticed that the code only iterates through path elements in the ofxSvg update. Does it support other shapes (e.g rect, ellipse etc.)? If no is it limited by ofxSvg or it is a matter of adding another loop over other kinds of shapes?

More complicated question: what about svg text?

patriciogonzalezvivo commented 10 years ago

Hello Sepans,

Right now the vPlotter C++ app works with ofxSvg (which is wrapper for svgTiny ). But could be easily extend. After all SVG is just xml.

sepans commented 10 years ago

Thanks Patricio for the reply. Yes I tracked down the dependency to svgTiny. But from looking at the code and not actually run it I didn't get what happens to the other shapes other than paths. Is it easy for you to kind of verify what happens to other shapes?

Thanks