Searched refs:ndashes (Results 1 – 2 of 2) sorted by relevance
35 int ndashes; in dashed_circle() local40 ndashes = 4; in dashed_circle()44 ndashes = 2; in dashed_circle()52 ndashes = 4*int(ceil(M_PI/(4.0*dash_angle))); in dashed_circle()53 gap_angle = (M_PI*2.0)/ndashes - dash_angle; in dashed_circle()55 for (int i = 0; i < ndashes; i++) { in dashed_circle()274 int ndashes = int((total_angle - dash_angle)/(dash_angle*2.0) + .5); in dashed_arc() local275 double dash_and_gap_angle = (total_angle - dash_angle)/ndashes; in dashed_arc()276 for (int i = 0; i <= ndashes; i++) in dashed_arc()
117 int ndashes = int((dist - lt.dash_width)/(lt.dash_width*2.0) + .5); in line() local119 double dash_gap = (dist - lt.dash_width)/ndashes; in line()121 for (int j = 0; j <= ndashes; j++) { in line()