How to save vector graphics to a SVG or PDF file?

I have a bunch of points and text and I need to output a file with this vector information, it could be either PDF or SVG any ideas how to achieve this? I read a couple of posts were they mention the possibilities using ofxSVG but I dont see any helper functions in the github repo to do that.

Any help will be much appreciated

You should check out ofxVectorGraphics, that supports writing out to eps files. You can also check out examples/graphics/pdfExample to render to PDF. I’m working on rendering SVG, but it’s actually pretty tricky so it’s not really ready yet.

Nice one thanks a lot Joshua

Is there a way to specify the pdf document size?