Lines Matching defs:iS
679 const Geom::Point &iS, const Geom::Point &iM, const Geom::Point &iE)
681 Geom::Point const ax = iE - 2 * iM + iS;
682 Geom::Point const bx = 2 * iM - 2 * iS;
683 Geom::Point const cx = iS;
688 void Path::CubicTangent(double t, Geom::Point &oPt, const Geom::Point &iS, const Geom::Point &isD,
691 Geom::Point const ax = ieD - 2 * iE + 2 * iS + isD;
692 Geom::Point const bx = 3 * iE - ieD - 2 * isD - 3 * iS;
699 static void ArcAnglesAndCenter(Geom::Point const &iS, Geom::Point const &iE,
704 void Path::ArcAngles(const Geom::Point &iS, const Geom::Point &iE,
708 ArcAnglesAndCenter(iS, iE, rx, ry, angle, large, wise, sang, eang, dr);
711 /* N.B. If iS == iE then sang,eang,dr each become NaN. Probably a bug. */
712 static void ArcAnglesAndCenter(Geom::Point const &iS, Geom::Point const &iE,
717 Geom::Point se = iE - iS;
795 dr += 0.5 * (iS + iE);
800 void Path::DoArc(Geom::Point const &iS, Geom::Point const &iE,
804 /* TODO: Check that our behaviour is standards-conformant if iS and iE are (much) further
816 ArcAnglesAndCenter(iS, iE, rx, ry, angle*M_PI/180.0, large, wise, sang, eang, dr_temp);
818 /* TODO: This isn't as good numerically as treating iS and iE as primary. E.g. consider
851 void Path::RecCubicTo( Geom::Point const &iS, Geom::Point const &isD,
855 Geom::Point se = iE - iS;
874 Geom::Point m = 0.5 * (iS + iE) + 0.125 * (isD - ieD);
875 Geom::Point md = 0.75 * (iE - iS) - 0.125 * (isD + ieD);
880 RecCubicTo(iS, hisD, m, md, tresh, lev - 1, maxL);
893 Geom::Point m = 0.5 * (iS + iE) + 0.125 * (isD - ieD);
894 Geom::Point md = 0.75 * (iE - iS) - 0.125 * (isD + ieD);
899 RecCubicTo(iS, hisD, m, md, tresh, lev - 1, maxL);
908 const Geom::Point &iS,
916 Geom::Point ps = iS - iP;
918 Geom::Point se = iE - iS;
923 const Geom::Point m = 0.25 * (iS + iE + 2 * iP);
924 Geom::Point md = 0.5 * (iS + iP);
925 RecBezierTo(md, iS, m, tresh, lev - 1, maxL);
934 const Geom::Point m = 0.25 * (iS + iE + 2 * iP);
935 Geom::Point md = 0.5 * (iS + iP);
936 RecBezierTo(md, iS, m, tresh, lev - 1, maxL);
944 void Path::DoArc(Geom::Point const &iS, Geom::Point const &iE,
948 /* TODO: Check that our behaviour is standards-conformant if iS and iE are (much) further
960 ArcAnglesAndCenter(iS, iE, rx, ry, angle*M_PI/180.0, large, wise, sang, eang, dr_temp);
962 /* TODO: This isn't as good numerically as treating iS and iE as primary. E.g. consider
994 void Path::RecCubicTo(Geom::Point const &iS, Geom::Point const &isD,
998 const Geom::Point se = iE - iS;
1018 Geom::Point m = 0.5 * (iS + iE) + 0.125 * (isD - ieD);
1019 Geom::Point md = 0.75 * (iE - iS) - 0.125 * (isD + ieD);
1025 RecCubicTo(iS, hisD, m, md, tresh, lev - 1, st, mt, piece);
1034 Geom::Point const &iS,
1042 Geom::Point ps = iS - iP;
1051 const Geom::Point m = 0.25 * (iS + iE + 2 * iP);
1052 RecBezierTo(0.5 * (iS + iP), iS, m, tresh, lev - 1, st, mt, piece);
1060 void Path::DoArc(Geom::Point const &iS, Geom::Point const &iE,
1067 /* TODO: Check that our behaviour is standards-conformant if iS and iE are (much) further
1079 ArcAnglesAndCenter(iS, iE, rx, ry, angle*M_PI/180.0, large, wise, sang, eang, dr_temp);
1081 /* TODO: This isn't as good numerically as treating iS and iE as primary. E.g. consider
1113 void Path::RecCubicTo(Geom::Point const &iS, Geom::Point const &isD,
1118 const Geom::Point se = iE - iS;
1166 AddPoint(iS, piece, st);
1181 const Geom::Point m = 0.5 * (iS+iE) + 0.125 * (isD - ieD);
1182 const Geom::Point md = 0.75 * (iE - iS) - 0.125 * (isD + ieD);
1187 RecCubicTo(iS, hisD, m, md, tresh, lev - 1, st, mt, piece, orig);
1195 void Path::RecBezierTo(Geom::Point const &iP, Geom::Point const &iS,Geom::Point const &iE,
1204 const Geom::Point ps = iS - iP;
1227 TangentOnBezAt(0.0, iS, mid, fin, false, n_pos, n_tgt, n_len, n_rad);
1234 TangentOnBezAt(1.0, iS, mid, fin, false, n_pos, n_tgt, n_len, n_rad);
1244 AddPoint(iS, piece, st);
1256 Geom::Point m = 0.25 * (iS + iE + 2 * iP);
1257 Geom::Point md = 0.5 * (iS + iP);
1258 RecBezierTo(md, iS, m, tresh, lev - 1, st, mt, piece, orig);