• Home
  • Raw
  • Download

Lines Matching refs:dy1

48                      float dx1, float dy1,  in stroke_calc_arc()  argument
54 float a1 = atan2(dy1, dx1); in stroke_calc_arc()
62 out_vertices.add(coord_type(x + dx1, y + dy1)); in stroke_calc_arc()
95 float dx1, float dy1, in stroke_calc_miter() argument
106 if(calc_intersection(v0.x + dx1, v0.y - dy1, in stroke_calc_miter()
107 v1.x + dx1, v1.y - dy1, in stroke_calc_miter()
119 float y2 = v1.y - dy1; in stroke_calc_miter()
120 if ((((x2 - v0.x) * dy1) - ((v0.y - y2) * dx1) < 0) != in stroke_calc_miter()
121 (((x2 - v2.x) * dy1) - ((v2.y - y2) * dx1) < 0)) { in stroke_calc_miter()
122 out_vertices.add(coord_type(v1.x + dx1, v1.y - dy1)); in stroke_calc_miter()
129 out_vertices.add(coord_type(v1.x + dx1, v1.y - dy1)); in stroke_calc_miter()
134 v1.x, v1.y, dx1, -dy1, dx2, -dy2, in stroke_calc_miter()
138 out_vertices.add(coord_type(v1.x + dx1 + (dy1 * miter_limit), in stroke_calc_miter()
139 v1.y - dy1 + (dx1 * miter_limit))); in stroke_calc_miter()
158 float dy1 = (v1.x - v0.x) / len; in stroke_calc_cap() local
162 dy1 = dy1 * width; in stroke_calc_cap()
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()
171 float a1 = atan2(dy1, -dx1); in stroke_calc_cap()
174 out_vertices.add(coord_type(v0.x - dx1, v0.y + dy1)); in stroke_calc_cap()
182 out_vertices.add(coord_type(v0.x + dx1, v0.y - dy1)); in stroke_calc_cap()
200 float dx1, dy1, dx2, dy2; in stroke_calc_join() local
202 dy1 = width * (v1.x - v0.x) / len1; in stroke_calc_join()
209 out_vertices.add(coord_type(v1.x + dx1, v1.y - dy1)); 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()
232 out_vertices.add(coord_type(v1.x + dx1, v1.y - dy1)); in stroke_calc_join()
236 out_vertices.add(coord_type(v1.x + dx1, v1.y - dy1)); in stroke_calc_join()
239 v1.x, v1.y, dx2, -dy2, dx1, -dy1, 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()
266 out_vertices.add(coord_type(v1.x + dx1, v1.y - dy1)); in stroke_calc_join()