Home
last modified time | relevance | path

Searched refs:fixed_rounded (Results 1 – 4 of 4) sorted by relevance

/plan9/sys/src/cmd/gs/src/
H A Dgspath.c519 pbox->p.x = fixed_rounded(float2fixed(bbox.p.x)); in gx_default_clip_box()
520 pbox->p.y = fixed_rounded(float2fixed(bbox.p.y)); in gx_default_clip_box()
521 pbox->q.x = fixed_rounded(float2fixed(bbox.q.x)); in gx_default_clip_box()
522 pbox->q.y = fixed_rounded(float2fixed(bbox.q.y)); in gx_default_clip_box()
H A Dgxfixed.h115 #define fixed_rounded(x) (((x)+_fixed_round_v)&(-1L<<_fixed_shift)) macro
H A Dgxchar.c1055 llx = fixed_rounded(pt.x - cc->offset.x) + in show_proceed()
1057 lly = fixed_rounded(pt.y - cc->offset.y) + in show_proceed()
1552 cpt_x = fixed_rounded(cpt_x); in show_origin_setup()
1553 cpt_y = fixed_rounded(cpt_y); in show_origin_setup()
H A Dgxstroke.c855 w2 = fixed_rounded(w << 1); /* full line width */ in adjust_stroke()
857 w2 = -fixed_rounded(-w << 1); /* full line width */ in adjust_stroke()
874 *pov = *pev = fixed_rounded(*pov); in adjust_stroke()