Home
last modified time | relevance | path

Searched refs:hpos (Results 1 – 7 of 7) sorted by relevance

/illumos-gate/usr/src/cmd/lp/filter/postscript/dpost/
H A Ddraw.c148 extern int hpos;
208 else fprintf(tf, "%d %d %d %d Dl\n", hpos + dx, vpos + dy, hpos, vpos); in drawline()
210 hgoto(hpos+dx); /* where troff expects to be */ in drawline()
259 fprintf(tf, "%d %d %d %d De\n", hpos, vpos, a, b); in drawellip()
261 hgoto(hpos + a); /* where troff expects to be */ in drawellip()
296 fprintf(tf, "%d %d %d %d %d %d Da\n", hpos, vpos, dx1, dy1, dx2, dy2); in drawarc()
297 else fprintf(tf, "%d %d %d %d %d %d DA\n", hpos+dx1+dx2, vpos+dy1+dy2, in drawarc()
300 hgoto(hpos + dx1 + dx2); /* where troff expects to be */ in drawarc()
375 x[0] = x[1] = hpos; in drawspline()
438 fprintf(tf, "%d %d m\n", hpos, vpos); in beginpath()
[all …]
H A Ddpost.c1829 hpos = 0; in t_newline()
2139 hpos = n; in hgoto()
2161 hpos += n; in hmot()
2226 lastx = hpos; in xymove()
2420 line[1].start = hpos; in starttext()
2426 lastend = hpos; in starttext()
2435 lastx = stringstart = hpos; in starttext()
2527 lastx = stringstart = hpos; in endstring()
2532 dx = hpos - lastx; in endstring()
2554 lastx = stringstart = hpos; in endstring()
[all …]
H A Dpictures.c76 extern int res, hpos, vpos;
195 xymove(hpos, vpos); in picture()
/illumos-gate/usr/src/cmd/troff/troff.d/
H A Ddraw.c43 #define hmot(n) hpos += n
44 #define hgoto(n) hpos = n
47 extern int hpos;
79 ohpos = hpos; in drawline()
164 x[0] = x[1] = hpos; in drawwig()
220 xc = hpos; in drawcirc()
222 conicarc(hpos + d/2, -vpos, hpos, -vpos, hpos, -vpos, d/2, d/2); in drawcirc()
245 x0 = hpos + dx1; /* center */ in drawarc()
250 conicarc(x0, -y0, hpos, -vpos, x2, -y2, r, r); in drawarc()
260 xc = hpos; in drawellip()
[all …]
H A Dt10.c50 int hpos = 0; /* ditto horizontal */ variable
248 hpos = po; /* ??? */
403 hpos += dx;
408 hpos += dx;
418 hpos += dx;
431 hpos += dx + dx2;
438 hpos += dx;
453 hpos += dx;
470 hpos += esc;
558 hpos += esc; in ptesc()
[all …]
H A Dta.c453 int hpos; /* horizontal position where we are supposed to be next (left = 0) */ variable
470 hpos = vpos = 0; in t_init()
496 statep->shpos = hpos; in t_push()
498 horig = hpos; in t_push()
500 hpos = vpos = 0; in t_push()
503 hpos = vpos = 0; in t_push()
515 hpos = statep->shpos; in t_pop()
642 hpos = 0; in t_newline()
712 hpos = n; /* this is where we want to be */ in hgoto()
722 hgoto(hpos + n); in hmot()
/illumos-gate/usr/src/cmd/troff/
H A Dn1.c1403 extern int hpos, esc, po;
1411 hpos = po;