Lines Matching refs:dx2
49 float dx2, float dy2, in stroke_calc_arc() argument
55 float a2 = atan2(dy2, dx2); in stroke_calc_arc()
88 out_vertices.add(coord_type(x + dx2, y + dy2)); in stroke_calc_arc()
96 float dx2, float dy2, in stroke_calc_miter() argument
108 v1.x + dx2, v1.y - dy2, in stroke_calc_miter()
109 v2.x + dx2, v2.y - dy2, in stroke_calc_miter()
130 out_vertices.add(coord_type(v1.x + dx2, v1.y - dy2)); in stroke_calc_miter()
134 v1.x, v1.y, dx1, -dy1, dx2, -dy2, in stroke_calc_miter()
140 out_vertices.add(coord_type(v1.x + dx2 - (dy2 * miter_limit), in stroke_calc_miter()
141 v1.y - dy2 - (dx2 * miter_limit))); in stroke_calc_miter()
159 float dx2 = 0; in stroke_calc_cap() local
165 dx2 = dy1; in stroke_calc_cap()
168 out_vertices.add(coord_type(v0.x - dx1 - dx2, v0.y + dy1 - dy2)); in stroke_calc_cap()
169 out_vertices.add(coord_type(v0.x + dx1 - dx2, v0.y - dy1 - dy2)); in stroke_calc_cap()
200 float dx1, dy1, dx2, dy2; in stroke_calc_join() local
203 dx2 = width * (v2.y - v1.y) / len2; in stroke_calc_join()
210 out_vertices.add(coord_type(v1.x + dx2, v1.y - dy2)); in stroke_calc_join()
214 v0, v1, v2, dx1, dy1, dx2, dy2, in stroke_calc_join()
222 float d = (dx1 - dx2) * (dx1 - dx2) + (dy1 - dy2) * (dy1 - dy2); in stroke_calc_join()
225 v0, v1, v2, dx1, dy1, dx2, dy2, in stroke_calc_join()
234 out_vertices.add(coord_type(v1.x + dx2, v1.y - dy2)); in stroke_calc_join()
239 v1.x, v1.y, dx2, -dy2, dx1, -dy1, in stroke_calc_join()
242 out_vertices.add(coord_type(v1.x + dx2, v1.y - dy2)); in stroke_calc_join()
254 v0, v1, v2, dx1, dy1, dx2, dy2, in stroke_calc_join()
262 v1.x, v1.y, dx1, -dy1, dx2, -dy2, in stroke_calc_join()
267 out_vertices.add(coord_type(v1.x + dx2, v1.y - dy2)); in stroke_calc_join()