Lines Matching refs:jd

133 typedef void join_func(join_data jd);
135 void bevel_join(join_data jd)
137 jd.res.appendNew<Geom::LineSegment>(jd.outgoing.initialPoint());
138 jd.res.append(jd.outgoing);
141 void round_join(join_data jd)
143 jd.res.appendNew<Geom::EllipticalArc>(jd.width, jd.width, 0, false, jd.width <= 0, jd.outgoing.initialPoint());
144 jd.res.append(jd.outgoing);
147 void miter_join_internal(join_data jd, bool clip)
151 Curve const& incoming = jd.res.back();
152 Curve const& outgoing = jd.outgoing.front();
153 Path &res = jd.res;
154 double width = jd.width, miter = jd.miter;
156 Point tang1 = jd.in_tang;
157 Point tang2 = jd.out_tang;
208 res.insert(res.end(), ++jd.outgoing.begin(), jd.outgoing.end());
211 void miter_join(join_data jd) { miter_join_internal(jd, false); }
212 void miter_clip_join(join_data jd) { miter_join_internal(jd, true); }
355 void extrapolate_join_internal(join_data jd, int alternative)
360 Geom::Path &res = jd.res;
362 Geom::Curve const& outgoing = jd.outgoing.front();
365 Geom::Point tang1 = jd.in_tang;
366 Geom::Point tang2 = jd.out_tang;
368 double width = jd.width, miter = jd.miter;
443 return( round_join(jd) );
459 return( miter_clip_join(jd) );
469 return( round_join(jd) );
480 return( miter_clip_join(jd) );
540 return miter_join(jd);
648 res.insert(res.end(), ++jd.outgoing.begin(), jd.outgoing.end());
656 void extrapolate_join( join_data jd) { extrapolate_join_internal(jd, 0); }
657 void extrapolate_join_alt1(join_data jd) { extrapolate_join_internal(jd, 1); }
658 void extrapolate_join_alt2(join_data jd) { extrapolate_join_internal(jd, 2); }
659 void extrapolate_join_alt3(join_data jd) { extrapolate_join_internal(jd, 3); }
662 void join_inside(join_data jd)
664 Geom::Path &res = jd.res;
665 Geom::Path const& temp = jd.outgoing;
673 /*Geom::Point original = res.finalPoint()+Geom::rot90(jd.in_tang)*jd.width;
1026 join_data jd(res, temp, in_tang, out_tang, miter, width);
1057 jf(jd);
1059 join_inside(jd);