| Class Overview | 
status_t Iterate(BShape* shape);
Iterate() iterates over each command that comprises the shape, in order,
calling the Iterate…() function that corresponds to each command.
| Return Code | Description | 
|---|---|
  | No error.  | 
Other errors.  | None are defined at this time, but you should always check for errors returned by this function.  | 
virtual status_t IterateBezierTo(int32 bezierCount,
                                 BPoint* bezierPoints);virtual status_t IterateClose();virtual status_t IterateLineTo(int32 lineCount,
                               BPoint* linePoints);virtual status_t IterateMoveTo(BPoint* linePoints);
These functions are called by
Iterate()
to process the shape commands.
Your BShapeIterator-derived class must implement these four functions.