Public feed #891340

Anonymous

public text v1 · immutable
Raw Edit
·published 2008-02-04 15:53 UTC
rendered paste body
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);
	}
}