hi Marko

Brushlib is plain C now. The latest version is the one in the MyPaint git
repository in the brushlib/ directory.  The core functionality has remained
almost unchanged during the last years.

What's new since the switch to C is that the (now json based) brush file
format and the pixel rendering made it into brushlib as well, thanks to
Jon's efforts.  Before that, rendering of pixels and loading brush
parameters used to be out of scope.  Now there is even code to render to
gegl surfaces.  So the new brushlib/ directory is more self-contained.

Documentation in the wiki (http://wiki.mypaint.info/Brushlib) is somewhat
dated but for example the "rendering a stroke" section is still relevant, if
you ignore the C++ syntax.  And the description of the brush vector shape
may now be a brushlib-internal API, but it's still accurate.

Regards
Martin

On Fri, Oct 04, 2013 at 02:39:33PM -0700, brdavs wrote:
> Martin,
> 
> I've been playing a bit with your brush engine (in mypaint) -- amazingly cool!
> 
> I have come across a C++ version of the brush engine in one of theĀ 
> repositories. Is that version obsolete and has been superseededĀ 
> with pure C-version that is in the main trunk?
> 
> Thanks,
> 
> Marko
> 

-- 
Martin Renold

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

Reply via email to