Sign up now! · Forgot password?
gimpusers.com RSS feed
58 @ identi.ca
819 @ Twitter

Reg: Brush feature support

ForumsFor GIMP developers (read-only) ► Reg: Brush feature support

Sent: 2012-01-24 08:17:13 UTC (4 months ago)

From: swati upadhyaya

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

Sent: 2012-01-24 09:37:54 UTC (4 months ago)

From: Mukund Sivaraman

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

Sent: 2012-01-25 19:03:14 UTC (4 months ago)

From: Mukund Sivaraman

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