Searched refs:to_point (Results 1 – 9 of 9) sorted by relevance
124 return to_point(SkQuadCoeff(src).eval(t)); in SkEvalQuadAt()163 dst[0] = to_point(p0); in SkChopQuadAt()164 dst[1] = to_point(p01); in SkChopQuadAt()165 dst[2] = to_point(interp(p01, p12, tt)); in SkChopQuadAt()166 dst[3] = to_point(p12); in SkChopQuadAt()167 dst[4] = to_point(p2); in SkChopQuadAt()298 dst[0] = to_point(s0); in SkConvertQuadToCubic()299 dst[1] = to_point(s0 + (s1 - s0) * scale); in SkConvertQuadToCubic()300 dst[2] = to_point(s2 + (s1 - s2) * scale); in SkConvertQuadToCubic()301 dst[3] = to_point(s2); in SkConvertQuadToCubic()[all …]
18 static inline SkPoint to_point(const Sk2s& x) { in to_point() function
127 return to_point(SkQuadCoeff(src).eval(t)); in SkEvalQuadAt()166 dst[0] = to_point(p0); in SkChopQuadAt()167 dst[1] = to_point(p01); in SkChopQuadAt()168 dst[2] = to_point(interp(p01, p12, tt)); in SkChopQuadAt()169 dst[3] = to_point(p12); in SkChopQuadAt()170 dst[4] = to_point(p2); in SkChopQuadAt()364 dst[0] = to_point(s0); in SkConvertQuadToCubic()365 dst[1] = to_point(s0 + (s1 - s0) * scale); in SkConvertQuadToCubic()366 dst[2] = to_point(s2 + (s1 - s2) * scale); in SkConvertQuadToCubic()367 dst[3] = to_point(s2); in SkConvertQuadToCubic()[all …]
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()
92 fFwDiff[3] = to_point(fwDiff3); in restart()93 fFwDiff[2] = to_point(fwDiff3 + times_2(fCoefs.fB) * h2); in restart()94 fFwDiff[1] = to_point(fCoefs.fA * h3 + fCoefs.fB * h2 + fCoefs.fC * h); in restart()95 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()
374 SkPoint p0 = to_point(quad.eval(t - 0.5f * u)); in quad_error_at()375 SkPoint mid = to_point(quad.eval(t)); in quad_error_at()376 SkPoint p1 = to_point(quad.eval(t + 0.5f * u)); in quad_error_at()402 this->appendPointToContour(to_point(quad.eval(j * u)), contour); in appendQuadraticToContour()
682 SkPoint p0 = to_point(quad.eval(t - 0.5f * u)); in quad_error_at()683 SkPoint mid = to_point(quad.eval(t)); in quad_error_at()684 SkPoint p1 = to_point(quad.eval(t + 0.5f * u)); in quad_error_at()710 append_point_to_contour(to_point(quad.eval(j * u)), contour, alloc); in append_quadratic_to_contour()