void PathGeometry::Build (Path *shape) { Value *v = GetValue (PathGeometry::FiguresProperty); if (!v) return; PathFigureCollection *children = v->AsPathFigureCollection(); Collection::Node *node = (Collection::Node *) children->list->First (); for ( ; node != NULL; node = (Collection::Node *) node->next) { PathFigure *pf = (PathFigure *) node->obj; if (!pf->IsBuilt ()) pf->Build (shape); } }