Lines Matching refs:dash_width
34 double dash_angle = lt.dash_width/rad; in dashed_circle()
67 double gap_angle = lt.dash_width/rad; in dotted_circle()
134 double dw = lt.dash_width; in dashed_ellipse()
153 int jmax = int(10 / lt.dash_width); in dashed_ellipse()
200 int ndots = 4 * int(le / lt.dash_width / 4 + 0.5); in dotted_ellipse()
206 int jmax = int(10 / lt.dash_width); in dotted_ellipse()
266 double dash_angle = lt.dash_width/rad; in dashed_arc()
299 int ndots = int(total_angle/(lt.dash_width/rad) + .5); in dotted_arc()
354 int n_hor_dashes = int(hor_length/(lt.dash_width*2.0) + .5); in dashed_rounded_box()
356 ? hor_length/n_hor_dashes - lt.dash_width in dashed_rounded_box()
360 int n_vert_dashes = int(vert_length/(lt.dash_width*2.0) + .5); in dashed_rounded_box()
362 ? vert_length/n_vert_dashes - lt.dash_width in dashed_rounded_box()
367 double offset = lt.dash_width/2.0; in dashed_rounded_box()
369 -M_PI/4.0, 0, slt, lt.dash_width, vert_gap_width, &offset); in dashed_rounded_box()
372 slt, lt.dash_width, vert_gap_width, &offset); in dashed_rounded_box()
374 0, M_PI/4.0, slt, lt.dash_width, vert_gap_width, &offset); in dashed_rounded_box()
376 offset = lt.dash_width/2.0; in dashed_rounded_box()
378 M_PI/4.0, M_PI/2, slt, lt.dash_width, hor_gap_width, &offset); in dashed_rounded_box()
381 slt, lt.dash_width, hor_gap_width, &offset); in dashed_rounded_box()
383 M_PI/2, 3*M_PI/4.0, slt, lt.dash_width, hor_gap_width, &offset); in dashed_rounded_box()
385 offset = lt.dash_width/2.0; in dashed_rounded_box()
387 3.0*M_PI/4.0, M_PI, slt, lt.dash_width, vert_gap_width, &offset); in dashed_rounded_box()
390 slt, lt.dash_width, vert_gap_width, &offset); in dashed_rounded_box()
392 M_PI, 5.0*M_PI/4.0, slt, lt.dash_width, vert_gap_width, &offset); in dashed_rounded_box()
394 offset = lt.dash_width/2.0; in dashed_rounded_box()
396 5*M_PI/4.0, 3*M_PI/2.0, slt, lt.dash_width, hor_gap_width, &offset); in dashed_rounded_box()
399 slt, lt.dash_width, hor_gap_width, &offset); in dashed_rounded_box()
401 3*M_PI/2, 7*M_PI/4, slt, lt.dash_width, hor_gap_width, &offset); in dashed_rounded_box()
409 double dash_width, double gap_width, in dash_arc() argument
415 if (*offsetp >= dash_width) { in dash_arc()
416 double rem = dash_width + gap_width - *offsetp; in dash_arc()
427 double rem = dash_width - *offsetp; in dash_arc()
437 *offsetp = dash_width; in dash_arc()
447 double dash_width, double gap_width, in dash_line() argument
456 if (*offsetp >= dash_width) { in dash_line()
457 double rem = dash_width + gap_width - *offsetp; in dash_line()
468 double rem = dash_width - *offsetp; in dash_line()
478 *offsetp = dash_width; in dash_line()
492 int n_hor_dots = int(hor_length/lt.dash_width + .5); in dotted_rounded_box()
495 : lt.dash_width); in dotted_rounded_box()
498 int n_vert_dots = int(vert_length/lt.dash_width + .5); in dotted_rounded_box()
501 : lt.dash_width); in dotted_rounded_box()
502 double epsilon = lt.dash_width/(rad*100.0); in dotted_rounded_box()