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

generated brush api for the pdb

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.

generated brush api for the pdb William Skaggs 29 Dec 18:53
  generated brush api for the pdb Michael Natterer 31 Dec 00:51
William Skaggs
2004-12-29 18:53:10 UTC (about 19 years ago)

generated brush api for the pdb

Hi,

I have coded up some generated brush API for the PDB, as suggested by Sven a while back. The new functions (in their libgimp incarnation), as currently implemented, are these:

Usable for any brush:

gimp_brush_is_editable() gimp_brush_is_generated()

Usable only for generated brushes:

gimp_brush_get_shape() gimp_brush_get_radius()
gimp_brush_get_spikes()
gimp_brush_get_hardness()
gimp_brush_get_aspect_ratio()
gimp_brush_get_angle()

and also all of these with "set" substituted for "get".

At the same time I also added

gimp_palette_is_editable()

at Joao's suggestion.

I thought it would be useful to send a message to the list so that people could think about whether the function names and other aspects of the api are okay, before making any move to commit.

Best, -- Bill


______________ ______________ ______________ ______________ Sent via the CNPRC Email system at primate.ucdavis.edu

Michael Natterer
2004-12-31 00:51:49 UTC (about 19 years ago)

generated brush api for the pdb

"William Skaggs" writes:

At the same time I also added

gimp_palette_is_editable()

Would you also add gimp_gradient_is_editable() while you're at it?

ciao, --mitch