Lines Matching refs:t2
109 t2 = C / Q
185 Given a quadratic q, t1, and t2, find a small quadratic segment.
191 To find B, compute the point halfway between t1 and t2:
193 q(at (t1 + t2)/2) == D
218 SkDQuad SkDQuad::subDivide(double t1, double t2) const {
222 double dx = interp_quad_coords(&fPts[0].fX, (t1 + t2) / 2);
223 double dy = interp_quad_coords(&fPts[0].fY, (t1 + t2) / 2);
224 double cx = dst[2].fX = interp_quad_coords(&fPts[0].fX, t2);
225 double cy = dst[2].fY = interp_quad_coords(&fPts[0].fY, t2);
240 SkDPoint SkDQuad::subDivide(const SkDPoint& a, const SkDPoint& c, double t1, double t2) const {
241 SkASSERT(t1 != t2);
245 double dx = interp_quad_coords(&fPts[0].fX, (t1 + t2) / 2);
246 double dy = interp_quad_coords(&fPts[0].fY, (t1 + t2) / 2);
250 SkDQuad sub = subDivide(t1, t2);
262 if (t1 == 0 || t2 == 0) {
265 if (t1 == 1 || t2 == 1) {