Home
last modified time | relevance | path

Searched refs:half_width (Results 1 – 8 of 8) sorted by relevance

/plan9/sys/src/cmd/gs/src/
H A Dgxline.h43 float half_width; /* one-half line width */ member
59 ((plp)->half_width = (wid) / 2)
61 ((plp)->half_width * 2)
H A Dgdevvec.c447 float half_width = pis->line_params.half_width * scale; in gdev_vector_prepare_stroke() local
471 if (half_width != vdev->state.line_params.half_width) { in gdev_vector_prepare_stroke()
473 (vdev, half_width * 2); in gdev_vector_prepare_stroke()
477 vdev->state.line_params.half_width = half_width; in gdev_vector_prepare_stroke()
H A Dgxstroke.c97 double expand = pis->line_params.half_width; in gx_stroke_path_expansion()
342 float line_width = pgs_lp->half_width; /* (*half* the line width) */ in gx_stroke_path_only_aux()
361 pgs_lp->half_width, (int)pgs_lp->cap, (int)pgs_lp->join); in gx_stroke_path_only_aux()
H A Dgdevpdfd.c145 double w = vdev->state.line_params.half_width; in pdf_dorect()
1290 gs_distance_transform(pis->line_params.half_width, 0, &ctm_only(pis), &d0); in gdev_pdf_stroke_path()
1291 gs_distance_transform(0, pis->line_params.half_width, &ctm_only(pis), &d1); in gdev_pdf_stroke_path()
H A Dgdevpdtt.c1765 float save_width = pis->line_params.half_width; in pdf_set_text_process_state()
1778 pis->line_params.half_width = scaled_width / 2; in pdf_set_text_process_state()
1790 pis->line_params.half_width = save_width; in pdf_set_text_process_state()
2120 pdev->state.line_params.half_width = -1; in pdf_text_process()
H A Dgxclpath.c717 if (state_neq(line_params.half_width)) { in clist_stroke_path()
719 state_update(line_params.half_width); in clist_stroke_path()
H A Dgxpcopy.c56 double width = pis->line_params.half_width; in gx_path_copy_reducing()
H A Dgdevpdfg.c170 pvs->line_params.half_width = 0.5; in pdf_viewer_state_from_imager_state_aux()