|
TouchVG framework
|
遍历图形的辅助类 更多...
#include <mgshapes.h>
Public 成员函数 | |
| MgShapeIterator (const MgShapes *s) | |
| 给定图形列表(可为空)构造迭代器 更多... | |
| ~MgShapeIterator () | |
| bool | hasNext () |
| 检查是否还有图形可遍历 更多... | |
| const MgShape * | getNext () |
| 得到当前遍历位置的图形 更多... | |
| const MgShapes * | shapes () const |
| 返回图形列表 更多... | |
Private 成员函数 | |
| MgShapeIterator () | |
Private 属性 | |
| const MgShapes * | _s |
| void * | _it |
| const MgShape * | _sp |
遍历图形的辅助类
遍历过程中要避免增删图形。