The class CImpBrush provides an abstract brush interface.
You should subclass this and override the virtual methods to create
your own brushes. There are seven important methods:
BrushBegin, BrushMove, and BrushEnd are called
when the left mouse button is pressed, dragged, and released,
respectively. These should do the actual drawing.
SelectBegin, SelectMove, and SelectEnd are
similar, but use the right mouse button. BrushSelect is called
whenever the brush is "picked up"; that is, whenever it is selected
from the brushes dialog.
One instance of each brush type is created in
CImpressionistDoc::OnNewDocument. When you add new brush
types, you should modify this function to create the new brush
object.