alvatar
alvatar

Reputation: 3380

What is a good multiplatform vector graphics library for C/C++?

I'm looking for a good multiplatform library for vector graphics in C/C++. Any recommendation or thougts?

Thanks

EDIT: Thanks for all your answers!! Could anyone tell me the pros and cons of qt vs cairo, for example? Cairo got more votes, but it seems to be from 5 to 7 times slower according to some benchmarks...

Upvotes: 10

Views: 9977

Answers (5)

Pablo Santa Cruz
Pablo Santa Cruz

Reputation: 181280

I like Nokia's QT. Not only vector graphics but also high level widgets.

Upvotes: 10

RED SOFT ADAIR
RED SOFT ADAIR

Reputation: 12218

If you want to display DXF/DWG and the like, use CadImage.DLL from www.CadSoftTools.com. Its commercial, Windows only, written in Delphi (has a C-Inteface). We tried several Libs with huge (>100MB) DXF-Files. This is the only one that didn't break down and its the fastest one. Godd support as well. Company in Russia.

Upvotes: 1

Alphaneo
Alphaneo

Reputation: 12539

How about ImageMagick, or OpenCV (Computer vision) though! They are both good for basic graphics, and OpenCV can do magic when it comes to Computer Vision.

Upvotes: 2

Joey
Joey

Reputation: 354456

There is Anti-Grain Geometry.

Upvotes: 9

Saulius Žemaitaitis
Saulius Žemaitaitis

Reputation: 2974

You can try out Cairo - it's opensource, not too heavy and has a flexible license.

Upvotes: 13

Related Questions