The enumeration and processing of canvas graphics is done in the TCanvasView::EnumerateGraphics function, which is called by the canvas view. This function takes a filter and a funnel as parameters.
EnumerateGraphics encapsulates any special access protocol of the underlying canvas representation, such as document entries. Passing a filter and funnel to EnumerateGraphics separates the details of accessing the representation data, iteration control, and what happens to each graphic. Each operation is independently extensible without affecting the others. That is, the same drawing code (encapsulated in a funnel) can be reused regardless of the canvas representation and enumeration strategy in use.unsigned long TCanvasView::EnumerateGraphics( TCanvasFilter&, TCanvasFunnel& );
[Contents]
[Previous]
[Next]
Click the icon to mail questions or corrections about this material to Taligent personnel.