Displaying an .svg
in
Core Library Questions
•
1 year ago
Newbie question. I'm wanting to learn about how to import and display .svg files, so I created an .svg in OpenOffice Draw, which claims that it can export .svg. However, the data as displayed in Processing looks nothing whatever like it does in OO Draw. This could be because Draw is mangling the data, or because of some file type incompatibility, or because I'm not coding it properly in Processing.
Here's the test image I created in Draw -- four objects:
... and here's what it looks like in Processing, using the simplest possible call to shape():
Quite likely this is user error, but I haven't been able to spot anything in the Processing tutorials or reference that will help me unravel the problem.
Suggestions would be very welcome!
1