Re: Drawing per Script

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 2010-09-12 at 13:58 +0200, oliver@xxxxxxxxxxxxxxxxxx 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?


Sven


_______________________________________________
Gimp-developer mailing list
Gimp-developer@xxxxxxxxxxxxxxxxxxxxxx
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer


[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux