[Gimp-developer] python scripting brush size problem



He Guys,

I hope it is OK to ask plugin/scripting questions here.
I try to draw a 1px thick pencil line via a Python script but Gimp always draws the line in the default brush size not in the size I am setting.


I did the following:

pdb.gimp_context_set_brush_size(1)
pdb.gimp_pencil(drawable,4,[22,22,500,500])

Can someone give me a hint what i am doing wrong?

Cheers,

Robert


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