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

Reg: Brush feature support

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.

3 of 3 messages available
Toggle history

Please log in to manage your subscriptions.

Reg: Brush feature support swati upadhyaya 24 Jan 08:17
  Reg: Brush feature support Mukund Sivaraman 24 Jan 09:37
Reg: Brush feature support Mukund Sivaraman 25 Jan 19:03
swati upadhyaya
2012-01-24 08:17:13 UTC (almost 13 years ago)

Reg: Brush feature support

Hi All,
I want to use brush feature for different kinds of brush. I have check in software Brush option is working same as I want, but i didnt get any API pr enum values to set the brush type. I got GimpLayerMode Effects but that is different from what i want. Kindly let me know if there is any enum values to set brush types like one in software(circle fuzzy).. How will I get the developer manual for sample app using GIMP..

Kindly response

Regards Swati

Mukund Sivaraman
2012-01-24 09:37:54 UTC (almost 13 years ago)

Reg: Brush feature support

Hi Swati

On Tue, Jan 24, 2012 at 01:47:13PM +0530, swati upadhyaya wrote:

Hi All,
I want to use brush feature for different kinds of brush. I have check in software Brush option is working same as I want, but i didnt get any API pr enum values to set the brush type. I got GimpLayerMode Effects but that is different from what i want. Kindly let me know if there is any enum values to set brush types like one in software(circle fuzzy).. How will I get the developer manual for sample app using GIMP..

GIMP does not contain any general purpose libraries. If you want to implement brush painting in your app, look at what MyPaint uses: http://wiki.mypaint.info/Development/Documentation/Brushlib

Mukund

Mukund Sivaraman
2012-01-25 19:03:14 UTC (almost 13 years ago)

Reg: Brush feature support

Hi Swati

On Wed, Jan 25, 2012 at 11:52:35PM +0530, swati upadhyaya wrote:

Hi Mukund,
I have gone through the link which you sent, but still not sure about how to use brushlib as I didnt found any API or any other thing related to this. Can you tell me how GIMP is using this brushlib? Can you tell me from where I get the sample code. I have downloaded the GIMP code but i has more than 2000 files.. Dont know how to start??

The brushlib wiki page has information on how to use it. Did you read it in full, and the brushlib headers / source code?

GIMP does not use brushlib. GIMP has its own native brush code. You can't adapt GIMP's brush code for your application as simply as using brushlib. In fact, adapting any code from GIMP will be complicated.

If you want support for brushlib, contact its maintainers on the MyPaint mailing list.

ps. If you reply, reply to all which will CC the gimp-developers list.

Kind regards,

Mukund