Lines Matching refs:dx1
48 FX_FLOAT dx1, FX_FLOAT dy1, in stroke_calc_arc() argument
54 FX_FLOAT a1 = FXSYS_atan2(dy1, dx1); in stroke_calc_arc()
62 out_vertices.add(coord_type(x + dx1, y + dy1)); in stroke_calc_arc()
95 FX_FLOAT dx1, FX_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()
118 FX_FLOAT x2 = v1.x + dx1; 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()
157 FX_FLOAT dx1 = (v1.y - v0.y) / len; in stroke_calc_cap() local
161 dx1 = dx1 * width; in stroke_calc_cap()
166 dy2 = dx1; 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 FX_FLOAT a1 = FXSYS_atan2(dy1, -dx1); in stroke_calc_cap()
176 out_vertices.add(coord_type(v0.x - dx1, v0.y + dy1)); in stroke_calc_cap()
184 out_vertices.add(coord_type(v0.x + dx1, v0.y - dy1)); in stroke_calc_cap()
202 FX_FLOAT dx1, dy1, dx2, dy2; in stroke_calc_join() local
203 dx1 = width * (v1.y - v0.y) / len1; in stroke_calc_join()
211 out_vertices.add(coord_type(v1.x + dx1, v1.y - dy1)); in stroke_calc_join()
216 v0, v1, v2, dx1, dy1, dx2, dy2, in stroke_calc_join()
224 FX_FLOAT d = (dx1 - dx2) * (dx1 - dx2) + (dy1 - dy2) * (dy1 - dy2); in stroke_calc_join()
227 v0, v1, v2, dx1, dy1, dx2, dy2, in stroke_calc_join()
234 out_vertices.add(coord_type(v1.x + dx1, v1.y - dy1)); in stroke_calc_join()
238 out_vertices.add(coord_type(v1.x + dx1, v1.y - dy1)); in stroke_calc_join()
241 v1.x, v1.y, dx2, -dy2, dx1, -dy1, in stroke_calc_join()
256 v0, v1, v2, dx1, dy1, dx2, dy2, in stroke_calc_join()
264 v1.x, v1.y, dx1, -dy1, dx2, -dy2, in stroke_calc_join()
268 out_vertices.add(coord_type(v1.x + dx1, v1.y - dy1)); in stroke_calc_join()