Libmypaint is MyPaint's brushstroke rendering code, in a form that can be used by other programs.