+ else if (strcmp(child.name(), "line") == 0)
+ {
+ Real x0(child.attribute("x1").as_float()/width + bounds.x);
+ Real y0(child.attribute("y1").as_float()/height + bounds.y);
+ Real x1(child.attribute("x2").as_float()/width + bounds.x);
+ Real y1(child.attribute("y2").as_float()/height + bounds.y);
+ unsigned index = AddBezierData(Bezier(x0,y0,x1,y1,x1,y1,x1,y1));
+ Add(BEZIER, Rect(0,0,1,1), index);
+ }