Lines Matching refs:klm
328 SkMatrix& klm = *out; in getConicKLM() local
330 klm[0] = p[2].fY - p[0].fY; in getConicKLM()
331 klm[1] = p[0].fX - p[2].fX; in getConicKLM()
332 klm[2] = p[2].fX * p[0].fY - p[0].fX * p[2].fY; in getConicKLM()
334 klm[3] = w2 * (p[1].fY - p[0].fY); in getConicKLM()
335 klm[4] = w2 * (p[0].fX - p[1].fX); in getConicKLM()
336 klm[5] = w2 * (p[1].fX * p[0].fY - p[0].fX * p[1].fY); in getConicKLM()
338 klm[6] = w2 * (p[2].fY - p[1].fY); in getConicKLM()
339 klm[7] = w2 * (p[1].fX - p[2].fX); in getConicKLM()
340 klm[8] = w2 * (p[2].fX * p[1].fY - p[1].fX * p[2].fY); in getConicKLM()
345 scale = SkMaxScalar(scale, SkScalarAbs(klm[i])); in getConicKLM()
350 klm[i] *= scale; in getConicKLM()
743 static void calc_quadratic_klm(const SkPoint pts[4], double d3, SkMatrix* klm) { in calc_quadratic_klm() argument
755 klm->setConcat(klmAtPts, inversePts); in calc_quadratic_klm()
760 klm->postScale(-1, -1); in calc_quadratic_klm()
769 static void calc_line_klm(const SkPoint pts[4], SkMatrix* klm) { in calc_line_klm() argument
773 klm->setAll( 0, 0, 0, in calc_line_klm()
778 SkCubicType GrPathUtils::getCubicKLM(const SkPoint src[4], SkMatrix* klm, double tt[2], in getCubicKLM() argument
784 calc_line_klm(src, klm); in getCubicKLM()
789 calc_quadratic_klm(src, d[3], klm); in getCubicKLM()
798 calc_line_klm(src, klm); in getCubicKLM()
829 klm->setConcat(klmCoeffs, CIT); in getCubicKLM()
833 int GrPathUtils::chopCubicAtLoopIntersection(const SkPoint src[4], SkPoint dst[10], SkMatrix* klm, in chopCubicAtLoopIntersection() argument
839 if (SkCubicType::kLoop == GrPathUtils::getCubicKLM(src, klm, t, s)) { in chopCubicAtLoopIntersection()