PaintBrush

1.1 Public Domain    
  UNRATED

  1,522 downloads

A library to build drawing applications

description

download

specs

changelog

PaintBrush is a public domain class that can be used in various drawing applications or games.

It's really simple to use. You just set a destination surface and a surface to be used as a brush. Then you can set the color and alpha value for that brush. You can also tell the brush to be rotated in the drawing direction.

It's also possible to specify a line pattern to be able to draw dotted lines.

The source package includes two different demos of how to use the PaintBrush class. In the AdvancedDemo.py you can try out all advanced features and in the SimpleDemo.py you can see how easy it is to use the class.

You start them by "python AdvancedDemo.py" and "python SimpleDemo.py".
read more   
Last updated on September 16th, 2009

#paint brush #drawing applications #pygame library #pygame #paint #drawing #library

PaintBrush

0 User reviews so far.

SUBMIT