Lines Matching refs:fprintf
141 fprintf(pfd, "gsave\n"); in putlegend()
142 fprintf(pfd, "/Courier-Bold findfont 8 scalefont "); in putlegend()
143 fprintf(pfd, "ISOEncode setfont\n"); in putlegend()
144 fprintf(pfd, "0.000 0.000 0.000 setrgbcolor AdjustColor\n"); in putlegend()
145 fprintf(pfd, "%d %d [\n", MW/2, LH+oMH+ 5*HH); in putlegend()
146 fprintf(pfd, " (%s -- %s -- MSC -- %d)\n] 10 -0.5 0.5 0 ", in putlegend()
148 fprintf(pfd, "false DrawText\ngrestore\n"); in putlegend()
156 fprintf(pfd, "%%%%Page: %d %d\n", pspno, pspno); in startpage()
164 fprintf(pfd, "save\n"); in startpage()
165 fprintf(pfd, "10 %d moveto\n", LH+oMH+5); in startpage()
166 fprintf(pfd, "%d %d lineto\n", RH+MW, LH+oMH+5); in startpage()
167 fprintf(pfd, "%d %d lineto\n", RH+MW, LH); in startpage()
168 fprintf(pfd, "10 %d lineto\n", LH); in startpage()
169 fprintf(pfd, "closepath clip newpath\n"); in startpage()
170 fprintf(pfd, "%f %f translate\n", in startpage()
174 fprintf(pfd, "%f %f scale\n", Scaler, Scaler); in startpage()
185 fprintf(pfd, "%%!PS-Adobe-2.0\n"); in putprelude()
186 fprintf(pfd, "%%%%Creator: %s\n", SpinVersion); in putprelude()
187 fprintf(pfd, "%%%%Title: MSC %s\n", oFname?oFname->name:"--"); in putprelude()
188 fprintf(pfd, "%%%%BoundingBox: 119 154 494 638\n"); in putprelude()
219 fprintf(pfd, "%%%%Trailer\n"); in putpostlude()
220 fprintf(pfd, "end\n"); in putpostlude()
221 fprintf(pfd, "%%%%Pages: %d\n", pspno); in putpostlude()
222 fprintf(pfd, "%%%%EOF\n"); in putpostlude()
225 fprintf(stderr, "spin: wrote %d pages into '%s.ps'\n", in putpostlude()
237 fprintf(pfd, "gsave\n"); in psline()
238 fprintf(pfd, "%d %d moveto\n", x0*WW, y0); in psline()
239 fprintf(pfd, "%d %d lineto\n", x1*WW, y1); in psline()
240 fprintf(pfd, "%d setlinewidth\n", w); in psline()
241 fprintf(pfd, "0 setlinecap\n"); in psline()
242 fprintf(pfd, "1 setlinejoin\n"); in psline()
243 fprintf(pfd, "%f %f %f setrgbcolor AdjustColor\n", r,g,b); in psline()
244 fprintf(pfd, "stroke\ngrestore\n"); in psline()
249 { fprintf(pfd, "%d %d moveto\n", x - w, y-h); in colbox()
250 fprintf(pfd, "%d %d lineto\n", x + w, y-h); in colbox()
251 fprintf(pfd, "%d %d lineto\n", x + w, y+h); in colbox()
252 fprintf(pfd, "%d %d lineto\n", x - w, y+h); in colbox()
253 fprintf(pfd, "%d %d lineto\n", x - w, y-h); in colbox()
254 fprintf(pfd, "%f %f %f setrgbcolor AdjustColor\n", r,g,b); in colbox()
255 fprintf(pfd, "closepath fill\n"); in colbox()
279 fprintf(pfd, "gsave\n"); in stepnumber()
280 fprintf(pfd, "/Courier-Bold findfont 6 scalefont "); in stepnumber()
281 fprintf(pfd, "ISOEncode setfont\n"); in stepnumber()
282 fprintf(pfd, "0.000 0.000 0.000 setrgbcolor AdjustColor\n"); in stepnumber()
283 fprintf(pfd, "%d %d [\n", -40, y); in stepnumber()
284 fprintf(pfd, " (%d)\n] 10 -0.5 0.5 0 ", R[i]); in stepnumber()
285 fprintf(pfd, "false DrawText\ngrestore\n"); in stepnumber()
286 fprintf(pfd, "%d %d moveto\n", -20, y); in stepnumber()
287 fprintf(pfd, "%d %d lineto\n", M[i]*WW, y); in stepnumber()
288 fprintf(pfd, "1 setlinewidth\n0 setlinecap\n1 setlinejoin\n"); in stepnumber()
289 fprintf(pfd, "0.92 0.92 0.92 setrgbcolor AdjustColor\n"); in stepnumber()
290 fprintf(pfd, "stroke\n"); in stepnumber()
330 fprintf(pfd, "gsave\n"); in spitbox()
331 fprintf(pfd, "/Courier-Bold findfont 8 scalefont "); in spitbox()
332 fprintf(pfd, "ISOEncode setfont\n"); in spitbox()
333 fprintf(pfd, "0.000 0.000 0.000 setrgbcolor AdjustColor\n"); in spitbox()
334 fprintf(pfd, "%d %d [\n", x*WW+dx, MH-(y*HH)%MH); in spitbox()
335 fprintf(pfd, " (%s)\n] 10 -0.5 0.5 0 ", s); in spitbox()
336 fprintf(pfd, "false DrawText\ngrestore\n"); in spitbox()
345 fprintf(pfd, "%f %f scale\n", Scaler, Scaler); in putpages()
357 { fprintf(pfd, "showpage\nrestore\n"); startpage(); } in putpages()
392 fprintf(pfd, "showpage\nrestore\n"); in putpages()
399 { fprintf(stderr, "max length of %d steps exceeded - ps file truncated\n", in putbox()
417 { fprintf(stderr, "max nr of %d steps exceeded\n", in pstext()
443 fprintf(fd, "%s", s); in dotag()