Lines Matching defs:id
43 ToolBase *ToolFactory::createObject(std::string const& id)
47 if (id == "/tools/shapes/arc")
49 else if (id == "/tools/shapes/3dbox")
51 else if (id == "/tools/calligraphic")
53 else if (id == "/tools/connector")
55 else if (id == "/tools/dropper")
57 else if (id == "/tools/eraser")
60 else if (id == "/tools/paintbucket")
63 else if (id == "/tools/gradient")
65 else if (id == "/tools/lpetool")
67 else if (id == "/tools/measure")
69 else if (id == "/tools/mesh")
71 else if (id == "/tools/nodes")
73 else if (id == "/tools/freehand/pencil")
75 else if (id == "/tools/freehand/pen")
77 else if (id == "/tools/shapes/rect")
79 else if (id == "/tools/select")
81 else if (id == "/tools/shapes/spiral")
83 else if (id == "/tools/spray")
85 else if (id == "/tools/shapes/star")
87 else if (id == "/tools/text")
89 else if (id == "/tools/tweak")
91 else if (id == "/tools/zoom")
94 fprintf(stderr, "WARNING: unknown tool: %s", id.c_str());