[Gimp-developer] GIMP Vectors Object Documentation
Barton
bartonbosch at gmail.com
Sun Sep 9 10:37:09 PDT 2007
Simon Budig wrote:
> Barton (bartonbosch at gmail.com) wrote:
>
>> I've been doing a little python-fu lately and find that in 2.3.18
>> stroking paths uses vector objects. So far I haven't turned up any
>> practical examples of the use of the various pdb vectors functions in
>> the source or on the Web, nor had any success through trial and error.
>>
>> Could someone point me to documentation for the pdb vectors procedures
>> and/or post a brief sample python-fu snippet that creates a circular
>> path and then draws a circle by stroking the path/vector?
>>
>
> Here is a simple script-fu script to construct an circle and stroke it,
> It should be possible to convert it to python easily.
>
> Note that you right now cannot control every aspect of stroking, since
> the gimp context does not yet store stuff like e.g. a dash pattern.
>
>
I've tried translating the draw_circle script-fu to python, and also
checked the script-fu itself in my 2.3.18 installation without success;
the circular path is created but it isn't stroked.
Simon, did you write your sample script-fu for 2.3.19?
Thanks for the help,
Barton
More information about the Gimp-developer
mailing list