4 #include "Dimensions.h"
10 static void Caret PROTO((floatish, floatish, floatish));
18 for (i = 0; i < nmarks; i++) {
19 m = ((markmap[i] - samplemap[0]) / xrange) * graphwidth;
20 Caret(xpage(m), ypage(0.0), 4.0);
26 * Draw a small white caret at (x,y) with width 2 * d
31 floatish x; floatish y; floatish d;
33 fprintf(psfp, "%f %f moveto\n", x - d, y);
34 fprintf(psfp, "%f %f rlineto\n", d, -d);
35 fprintf(psfp, "%f %f rlineto\n", d, d);
36 fprintf(psfp, "closepath\n");
38 fprintf(psfp, "gsave\n");
39 fprintf(psfp, "1.0 setgray\n");
40 fprintf(psfp, "fill\n");
41 fprintf(psfp, "grestore\n");
42 fprintf(psfp, "stroke\n");