Lines Matching refs:DSTR
122 #define DSTR(d) (dstr(d).c_str())
147 out("<%s, %s>", DSTR(a), DSTR(b));
157 out("<%s, %s, %s>", DSTR(a), DSTR(b), DSTR(c));
167 out("<%s, %s, %s, %s>", DSTR(a), DSTR(b), DSTR(c), DSTR(d));
427 out("#declare %s_MIN_X = %s;\n", id.c_str(), DSTR(cminx));
428 out("#declare %s_CENTER_X = %s;\n", id.c_str(), DSTR((cmaxx+cminx)/2.0));
429 out("#declare %s_MAX_X = %s;\n", id.c_str(), DSTR(cmaxx));
430 out("#declare %s_WIDTH = %s;\n", id.c_str(), DSTR(cmaxx-cminx));
431 out("#declare %s_MIN_Y = %s;\n", id.c_str(), DSTR(cminy));
432 out("#declare %s_CENTER_Y = %s;\n", id.c_str(), DSTR((cmaxy+cminy)/2.0));
433 out("#declare %s_MAX_Y = %s;\n", id.c_str(), DSTR(cmaxy));
434 out("#declare %s_HEIGHT = %s;\n", id.c_str(), DSTR(cmaxy-cminy));
549 out("#declare AllShapes_Z_Increment = %s;\n", DSTR(zinc));
574 out("#declare %s_MIN_X = %s;\n", pfx, DSTR(minx));
575 out("#declare %s_CENTER_X = %s;\n", pfx, DSTR((maxx+minx)/2.0));
576 out("#declare %s_MAX_X = %s;\n", pfx, DSTR(maxx));
577 out("#declare %s_WIDTH = %s;\n", pfx, DSTR(maxx-minx));
578 out("#declare %s_MIN_Y = %s;\n", pfx, DSTR(miny));
579 out("#declare %s_CENTER_Y = %s;\n", pfx, DSTR((maxy+miny)/2.0));
580 out("#declare %s_MAX_Y = %s;\n", pfx, DSTR(maxy));
581 out("#declare %s_HEIGHT = %s;\n", pfx, DSTR(maxy-miny));