Using Python? You can use directPaint() in mypaint/tests/test_mypaintlib.py
as an example.  From C/C++?  You'll also need a surface implementation. 
Check http://wiki.mypaint.info/Brushlib for more info how brushlib works.

Brushlib is not really as neatly documented and specified as you'd expect it
from libraries like cairo, it's more like a well-isolated part of MyPaint.

What is EFL? Enlightenment Foundation Libraries?

Regards
Martin

On Wed, Jan 25, 2012 at 11:19:46PM +0530, swati upadhyaya wrote:
> Hi All,
>            I have to implement line drawing feature for which I am using
> cairo library. Simple line drawing is working fine for me, but I have to
> use different kinds of brush also for drawing these line, which cairo is
> not supporting. I want to use brushlib but i have no idea how I can use the
> brush in my application. It will be great help for me if any one can tell
> me about how to the write sample app for supporting diff brush. Also I am
> using EFL for all the operation..
> 
> Kindly response
> 
> 
> Regards
> Swati

> _______________________________________________
> Mypaint-discuss mailing list
> [email protected]
> https://mail.gna.org/listinfo/mypaint-discuss


-- 
Martin Renold

_______________________________________________
Mypaint-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/mypaint-discuss

Reply via email to