Searched refs:ndashes (Results 1 – 2 of 2) sorted by relevance
33 int ndashes; in dashed_circle() local38 ndashes = 4; in dashed_circle()42 ndashes = 2; in dashed_circle()50 ndashes = 4*int(ceil(M_PI/(4.0*dash_angle))); in dashed_circle()51 gap_angle = (M_PI*2.0)/ndashes - dash_angle; in dashed_circle()53 for (int i = 0; i < ndashes; i++) { in dashed_circle()272 int ndashes = int((total_angle - dash_angle)/(dash_angle*2.0) + .5); in dashed_arc() local273 double dash_and_gap_angle = (total_angle - dash_angle)/ndashes; in dashed_arc()274 for (int i = 0; i <= ndashes; i++) in dashed_arc()
115 int ndashes = int((dist - lt.dash_width)/(lt.dash_width*2.0) + .5); in line() local117 double dash_gap = (dist - lt.dash_width)/ndashes; in line()119 for (int j = 0; j <= ndashes; j++) { in line()