PaintBrush 1.1

A library to build drawing applications
  1 Screenshot
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 you can try out all advanced features and in the you can see how easy it is to use the class.

You start them by "python" and "python".

last updated on:
September 16th, 2009, 12:58 GMT
license type:
Public Domain 
developed by:
John Eriksson
ROOT \ Multimedia \ Graphics
Download Button

In a hurry? Add it to your Download Basket!

user rating



Rate it!
What's New in This Release:
  • The only change is to the help text of the I forgot to add that you can use the right mouse button to draw lines.
read full changelog

Add your review!