Rendering Vector Graphics

B

Bytter

Hi ppl,

I've already posted this message through the mailing-list, but it seems
it never arrived here. Strange... Anyway:

I need to render high-quality vector graphics with Python. I was
thinking of something like 'cairo', though I need to run under win32
and can't find a pycairo package for it. Suggestions?

Thanks,

Hugo Ferreira
 
H

h112211

I need to render high-quality vector graphics with Python. I was
thinking of something like 'cairo', though I need to run under win32
and can't find a pycairo package for it. Suggestions?

I've had good experiences doing simple 3d vector stuff with Pygame.
It's wraps SDL so it has pretty nice capabilities.
 
B

Bytter

Hi!

I've had good experiences doing simple 3d vector stuff with Pygame.
It's wraps SDL so it has pretty nice capabilities.

What about 2D? I won't be doing any 3d stuff, though I need
high-quality 2D, and complex stuff like defining clipping regions with
bezier curves and filling with gradients.

Thanks!

Hugo Ferreira
 
J

jay graves

Bytter said:
Hi ppl,
I've already posted this message through the mailing-list, but it seems
it never arrived here. Strange... Anyway:
I need to render high-quality vector graphics with Python. I was
thinking of something like 'cairo', though I need to run under win32
and can't find a pycairo package for it. Suggestions?

AGG (Anti-Grain Geometry) is one such engine that a couple of people
have interfaced to Python.
http://www.antigrain.com/

....
jay graves
 
Y

Yannick

Bytter said:
Hi ppl,

I've already posted this message through the mailing-list, but it seems
it never arrived here. Strange... Anyway:

I need to render high-quality vector graphics with Python. I was
thinking of something like 'cairo', though I need to run under win32
and can't find a pycairo package for it. Suggestions?

Thanks,

Hugo Ferreira

Hi,

You can use cairo through the pyGTK bindings. Works pretty well for me.

Cheers,
Yannick
 
K

K.S.Sreeram

jay said:
AGG (Anti-Grain Geometry) is one such engine that a couple of people
have interfaced to Python.
http://www.antigrain.com/

Here are a couple of AGG wrappers for Python:
1) Fredrik Lundh's aggdraw allows you to draw AGG graphics on top of PIL
images.
2) You can also check out my dvpaint module. http://tachyon.in/davinci/
(It is a part of a larger vector graphics project which i hope to work
on sometime in the future.)

[sreeram;]


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFE3I1ergn0plK5qqURAox8AJ9aM6E/X0+mCl8c6W6b2Uy6AlE3wwCgiYdA
T5G34Fa42s2Rl6NoOse0GXc=
=db/X
-----END PGP SIGNATURE-----
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,431
Messages
2,571,679
Members
48,796
Latest member
Greg L.

Latest Threads

Top