On Sun, 2010-09-12 at 13:58 +0200, oli...@first.in-berlin.de wrote:
> Hello,
> I tried drawing per Script.
> I'm using Python.
> I can already use vectors for drawing circles,
> and set single points.
> I did not found a way to create rectangles,
> or lines.

Probably the easiest method is to have your script generate SVG and use 
gimp_vectors_import_from_string(). You can of course also create vector
strokes using the gimp_vectors_bezier_stroke method.

> How can I speed up my drawings without switching to C?
> With my Python script I need about 3 or 4 seconds just for drawing 2072 
> circles.

How do you draw your circles now?


Gimp-developer mailing list

Reply via email to