Home
last modified time | relevance | path

Searched refs:pattern_size (Results 1 – 12 of 12) sorted by relevance

/plan9/sys/src/cmd/gs/src/
H A Dgxpdash.c41 if (dash->pattern_size == 0) in gx_path_add_dash_expansion()
74 top:count = dash->pattern_size; in subpath_expand_dashes()
109 count = dash->pattern_size; in subpath_expand_dashes()
H A Dgsline.c174 else if (length != dash->pattern_size) in gx_set_dash()
183 dash->pattern_size = length; in gx_set_dash()
202 return pgs_lp->dash.pattern_size; in gs_currentdash_length()
H A Dgdevvec.c430 for (i = 0; i < set->pattern_size; ++i) in dash_pattern_eq()
445 int pattern_size = pis->line_params.dash.pattern_size; in gdev_vector_prepare_stroke() local
449 if (pattern_size > max_dash) in gdev_vector_prepare_stroke()
452 pattern_size != vdev->state.line_params.dash.pattern_size || in gdev_vector_prepare_stroke()
453 (pattern_size != 0 && in gdev_vector_prepare_stroke()
460 for (i = 0; i < pattern_size; ++i) in gdev_vector_prepare_stroke()
463 (vdev, pattern, pattern_size, dash_offset); in gdev_vector_prepare_stroke()
466 memcpy(vdev->dash_pattern, pattern, pattern_size * sizeof(float)); in gdev_vector_prepare_stroke()
468 vdev->state.line_params.dash.pattern_size = pattern_size; in gdev_vector_prepare_stroke()
H A Dgxline.h30 uint pattern_size; member
H A Dgsistate.c46 case 0: return ENUM_OBJ((plp->dash.pattern_size == 0 ?
51 if (plp->dash.pattern_size) in RELOC_PTRS_WITH()
H A Dgxclpath.c412 int n = cldev->imager_state.line_params.dash.pattern_size; in cmd_write_unknown()
640 int pattern_size = pis->line_params.dash.pattern_size; in clist_stroke_path() local
676 if (cdev->imager_state.line_params.dash.pattern_size != pattern_size || in clist_stroke_path()
677 (pattern_size != 0 && in clist_stroke_path()
679 pattern_size * sizeof(float))) || in clist_stroke_path()
690 if (pattern_size > cmd_max_dash) in clist_stroke_path()
701 pis->line_params.dash.pattern_size, in clist_stroke_path()
762 if (pattern_size || expansion_code < 0 ) { in clist_stroke_path()
H A Dgdevcgmx.h175 cgm_vdc pattern_size[4]; member
H A Dgdevcgml.c914 st->pattern_size[0] = *x_height; in cgm_PATTERN_SIZE()
915 st->pattern_size[1] = *y_height; in cgm_PATTERN_SIZE()
916 st->pattern_size[2] = *x_width; in cgm_PATTERN_SIZE()
917 st->pattern_size[3] = *y_width; in cgm_PATTERN_SIZE()
H A Dgspaint.c186 for (i = 0; i < pgs->line_params.dash.pattern_size; ++i) in scale_dash_pattern()
H A Dgxstroke.c295 int dash_count = pgs_lp->dash.pattern_size; in gx_stroke_path_only_aux()
357 int count = pgs_lp->dash.pattern_size; in gx_stroke_path_only_aux()
H A Dgsstate.c858 pfrom->line_params.dash.pattern_size, in gstate_copy_dash()
H A Dgdevpdtt.c2124 pdev->state.line_params.dash.pattern_size = -1; in pdf_text_process()