RSS/Atom feed Twitter
Site is read-only, email is disabled

python scripting brush size problem

This discussion is connected to the gimp-developer-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

1 of 1 message available
Toggle history

Please log in to manage your subscriptions.

python scripting brush size problem Robert Grah 22 Jan 18:28
Robert Grah
2013-01-22 18:28:27 UTC (about 12 years ago)

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