[Gimp-developer] GIMP Vectors Object Documentation

Barton bartonbosch at gmail.com
Sat Sep 15 12:45:28 PDT 2007


On 9/12/07, Sven Neumann <sven at gimp.org> wrote:

> > Hi Simon,
> >
> > what about the other issue that Barton reported?
> >
> >   Apparently the stroke is being made with the background color though
> >   the pdb for gimp-edit-stroke-vectors says:
> >
> >   "This procedure strokes the specified vectors object, painting along
> >    the path with the active brush and foreground color"

David Gowers wrote:
> I converted the script to python (useful script, btw -- thanks
> Simon.), and I cannot reproduce this.
>   

Going back and repeating my earlier tests I find that I cannot reproduce 
the background color issue I reported either. 

I believe that I have identified the problem however:  my installation 
of 2.3.18 is defaulting to the erase tool at start-up.  When I open 
2.3.18 and run Simon's draw_circle script (in scheme or python) without 
first selecting the paintbrush tool from the toolbox the path is stroked 
with the erase tool. 

Surely this is the intended behavior, but it wasn't obvious to me that 
the erase tool is considered a paint brush.  Would it be helpful to note 
this in the pdb blurb, or would that amount to clutter?

Long story short, I ran my tests on an image with no alpha channel and a 
white background color and probably jumped to the incorrect conclusion 
with regard to the cause of the missing circle.  FWIW my adaptation to 
Python of Simon's script-fu is attached.


Thanks all,

Barton
-------------- next part --------------
A non-text attachment was scrubbed...
Name: draw_circle.py
Type: text/x-python
Size: 981 bytes
Desc: not available
Url : /lists/gimp-developer/attachments/20070915/f73acbbd/attachment.py 


More information about the Gimp-developer mailing list