This brush implements smudging using the mask from the superclass. More...
#include <SmudgeBrush.h>
Inherits QuadraticBrush.

Protected Member Functions | |
| void | makeMask () |
| Constructs the mask for this brush. | |
| void | pickUpPaint (int x, int y, Canvas2D *canvas) |
| Copy paint in the bounding box of the brush from canvas to m_paint. | |
| virtual void | paintOnce (int x, int y, Canvas2D *canvas) |
| Apply the brush one time to the given canvas centered at (x,y). | |
This brush implements smudging using the mask from the superclass.
| void SmudgeBrush::makeMask | ( | ) | [protected, virtual] |
Constructs the mask for this brush.
create a mask with a distribution of your choice (probably want to use quadratic for best results)
Reimplemented from QuadraticBrush.
| void SmudgeBrush::pickUpPaint | ( | int | x, | |
| int | y, | |||
| Canvas2D * | canvas | |||
| ) | [protected] |
Copy paint in the bounding box of the brush from canvas to m_paint.
Picks up paint from the canvas before drawing begins.
1.7.1