![](../../../Home/Icons/Home.gif)
![](../icons/UpBook.gif)
![](../icons/BookContext.gif)
![](../../../Home/Icons/Search.gif)
![](../../../Home/Icons/Help.gif)
![](../../icons/button_contents.gif)
![](../../icons/button_previous.gif)
Group iteration
The CreateIterator function is called by the TGraphicGroup::Draw function. The returned iterator covers one level of the group. The entire group is covered because the TGraphicGroup::Draw functions are called recursively.
TGraphicIterator TGraphicHierarchy::CreateIterator();
TGraphicIterator has First, Next, and Last functions for traversing the group. The order in which graphics are adopted into the group is important because it affects the drawing order and transformation matrix concatenation. This order is determined by the AdoptFirst and AdoptLast functions of the TGraphicGroup.
[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