1 |
< |
/* Copyright (c) 1986 Regents of the University of California */ |
1 |
> |
/* Copyright (c) 1990 Regents of the University of California */ |
2 |
|
|
3 |
|
#ifndef lint |
4 |
|
static char SCCSid[] = "$SunId$ LBL"; |
89 |
|
|
90 |
|
/* first, discover position in text */ |
91 |
|
ap = m->oargs.farg; |
92 |
< |
multp3(v, r->rop, r->robx); |
92 |
> |
if (r->rox != NULL) |
93 |
> |
multp3(v, r->rop, r->rox->b.xfm); |
94 |
> |
else |
95 |
> |
VCOPY(v, r->rop); |
96 |
|
v[0] -= ap[0]; |
97 |
|
v[1] -= ap[1]; |
98 |
|
v[2] -= ap[2]; |
278 |
|
|
279 |
|
if (x < 0.0 || y < 0.0) |
280 |
|
return(0); |
281 |
< |
xlb = x *= 255.0; /* get glyph coordinates */ |
282 |
< |
ylb = y *= 255.0; |
281 |
> |
x *= 256.0; /* get glyph coordinates */ |
282 |
> |
y *= 256.0; |
283 |
> |
xlb = x + 0.5; |
284 |
> |
ylb = y + 0.5; |
285 |
|
n = *gl++; /* get # of vertices */ |
286 |
|
p0 = gl + 2*(n-1); /* connect last to first */ |
287 |
|
p1 = gl; |