36 std::vector<TwoPoint> points;
39 (c.GetHandlerStore().GetHandler(
"gvxy_point"));
40 if (!pointHand) std::abort();
44 for (child=t->getFirstChild();child!=0;child=child->getNextSibling())
46 if (child->getNodeType()==DOMNode::ELEMENT_NODE) {
47 parser.elementLoop(c, child);
53 int nPoints=points.size();
56 for (
int i=0;i<nPoints;i++)
59 v[nPoints+i].x(-points[nPoints-1-i].
x());
60 v[nPoints+i].y(points[nPoints-1-i].
y());
61 v[2*nPoints+i].x(-points[i].
x());
62 v[2*nPoints+i].y(-points[i].
y());
63 v[3*nPoints+i].x(points[nPoints-1-i].
x());
64 v[3*nPoints+i].y(-points[nPoints-1-i].
y());
68 for (
int i=0;i<nPoints;i++)