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

modify scale of brush with libgimp

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.

2 of 2 messages available
Toggle history

Please log in to manage your subscriptions.

modify scale of brush with libgimp Tim Chen 27 Dec 16:39
  modify scale of brush with libgimp Sven Neumann 28 Dec 12:37
Tim Chen
2009-12-27 16:39:06 UTC (almost 15 years ago)

modify scale of brush with libgimp

Hi all,

A quick question, is it possible to modify the scale of the brush using some functions in libgimp from plug-in side?

I know there is a gimp_brush_set_radius() function that could set the brush radius, but it is not exactly the *scale* in the tool option and could bring some problem when choosing some default brush that are not editable.

My current workaround is to duplicate the non-editable brush and modify its radius on the clone then delete it. But I am wondering is there any better way?

thanks,
Tim

Sven Neumann
2009-12-28 12:37:11 UTC (almost 15 years ago)

modify scale of brush with libgimp

On Sun, 2009-12-27 at 23:39 +0800, Tim Chen wrote:

Hi all,

A quick question, is it possible to modify the scale of the brush using some functions in libgimp from plug-in side?

No, all the newer options that modify how the brush is applied in the current context are not yet exposed to the PDB. We would happily accept proposals for the API and of course patches that implement this.

Sven