BShapeIterator

Applications can create classes derived from BShapeIterator to iterate over the components of a BShape object. There are four virtual functions that the application must implement to process the four graphics commands described in the BShape documentation: MoveTo(), LineTo(), BezierTo(), and Close().

These functions can be implemented to do anything they like with the commands (rendering them to the screen comes to mind as one possibility).