Searched refs:to_point (Results 1 – 5 of 5) sorted by relevance
128 return to_point(SkQuadCoeff(src).eval(t)); in SkEvalQuadAt()167 dst[0] = to_point(p0); in SkChopQuadAt()168 dst[1] = to_point(p01); in SkChopQuadAt()169 dst[2] = to_point(interp(p01, p12, tt)); in SkChopQuadAt()170 dst[3] = to_point(p12); in SkChopQuadAt()171 dst[4] = to_point(p2); in SkChopQuadAt()365 dst[0] = to_point(s0); in SkConvertQuadToCubic()366 dst[1] = to_point(s0 + (s1 - s0) * scale); in SkConvertQuadToCubic()367 dst[2] = to_point(s2 + (s1 - s2) * scale); in SkConvertQuadToCubic()368 dst[3] = to_point(s2); in SkConvertQuadToCubic()[all …]
18 static inline SkPoint to_point(const Sk2s& x) { in to_point() function
94 fFwDiff[3] = to_point(fwDiff3); in restart()95 fFwDiff[2] = to_point(fwDiff3 + times_2(fCoefs.fB) * h2); in restart()96 fFwDiff[1] = to_point(fCoefs.fA * h3 + fCoefs.fB * h2 + fCoefs.fC * h); in restart()97 fFwDiff[0] = to_point(fCoefs.fD); in restart()
68 static SkPoint to_point(SkIPoint p) { return {(float)p.x(), (float)p.y()}; } in to_point() function87 SkPoint pt = to_point(xy - line.fOrigin); in getPosition()
466 SkPoint p0 = to_point(quad.eval(t - 0.5f * u)); in quad_error_at()467 SkPoint mid = to_point(quad.eval(t)); in quad_error_at()468 SkPoint p1 = to_point(quad.eval(t + 0.5f * u)); in quad_error_at()494 this->appendPointToContour(to_point(quad.eval(j * u)), contour); in appendQuadraticToContour()