OK, so here it is working your way + changed handling of erasing in draw_dab() as a blend mode:
http://github.com/guciek/mypaint/commits/blend_modes/ >> 1) there might be other blending modes, like those in the code you >> linked to, implemented in the future, and it is not sensible to turn >> more than one of them at a time > > Why should it not be sensible to mix them together? When the mix can be > saved into a brush preset, the painter can use it for its effect, without > knowing how it works. Because it is not possible to treat blend modes equally when three or more are activated at the same time. But still, now I think this can work good enough, even if mathematically impure. > What about a radio-button-like interface: > > (o) Brush Default > ( ) Eraser Mode > ( ) Lock Alpha > ( ) Multiply > ( ) Dodge > ( ) Soft Light It actually couples with my initial approach, but with all values being fuzzy in nature does this still make sense? _______________________________________________ Mypaint-discuss mailing list [email protected] https://mail.gna.org/listinfo/mypaint-discuss
