Iterating canvas graphics

MCanvasRepresentation has two functions for creating read and write iterators to iterate over the canvas graphics in the representation bi-directionally.

      virtual TCanvasGraphicReadIterator* CreateReadIterator() const = 0;
      virtual TCanvasGraphicWriteIterator* CreateWriteIterator() const = 0;
These read and write iterators each have the iteration functions, First, Last, Next, and Previous that return a pointer to an MCanvasGraphic.

      virtual const MCanvasGraphic* First() = 0;
      virtual const MCanvasGraphic* Last() = 0;
      virtual const MCanvasGraphic Next() = 0;
      virtual const MCanvasGraphic* Previous() = 0;

[Contents] [Previous] [Next]
Click the icon to mail questions or corrections about this material to Taligent personnel.
Copyright©1995 Taligent,Inc. All rights reserved.

Generated with WebMaker