Lines Matching refs:SkScalar
32 int SkFindUnitQuadRoots(SkScalar A, SkScalar B, SkScalar C, SkScalar roots[2]);
36 SkPoint SkEvalQuadAt(const SkPoint src[3], SkScalar t);
37 SkPoint SkEvalQuadTangentAt(const SkPoint src[3], SkScalar t);
42 void SkEvalQuadAt(const SkPoint src[3], SkScalar t, SkPoint* pt, SkVector* tangent = NULL);
58 void SkChopQuadAt(const SkPoint src[3], SkPoint dst[5], SkScalar t);
73 int SkFindQuadExtrema(SkScalar a, SkScalar b, SkScalar c, SkScalar tValues[1]);
88 SkScalar SkFindQuadMaxCurvature(const SkPoint src[3]);
110 void SkEvalCubicAt(const SkPoint src[4], SkScalar t, SkPoint* locOrNull,
117 void SkChopCubicAt(const SkPoint src[4], SkPoint dst[7], SkScalar t);
123 void SkChopCubicAt(const SkPoint src[4], SkPoint dst[], const SkScalar t[],
140 int SkFindCubicExtrema(SkScalar a, SkScalar b, SkScalar c, SkScalar d,
141 SkScalar tValues[2]);
157 int SkFindCubicInflections(const SkPoint src[4], SkScalar tValues[2]);
165 int SkFindCubicMaxCurvature(const SkPoint src[4], SkScalar tValues[3]);
167 SkScalar tValues[3] = NULL);
169 bool SkChopMonoCubicAtX(SkPoint src[4], SkScalar y, SkPoint dst[7]);
170 bool SkChopMonoCubicAtY(SkPoint src[4], SkScalar x, SkPoint dst[7]);
184 SkCubicType SkClassifyCubic(const SkPoint p[4], SkScalar inflection[3]);
209 SkConic(const SkPoint& p0, const SkPoint& p1, const SkPoint& p2, SkScalar w) { in SkConic()
215 SkConic(const SkPoint pts[3], SkScalar w) { in SkConic()
221 SkScalar fW;
223 void set(const SkPoint pts[3], SkScalar w) { in set()
228 void set(const SkPoint& p0, const SkPoint& p1, const SkPoint& p2, SkScalar w) { in set()
242 void evalAt(SkScalar t, SkPoint* pos, SkVector* tangent = NULL) const;
243 void chopAt(SkScalar t, SkConic dst[2]) const;
246 SkPoint evalAt(SkScalar t) const;
247 SkVector evalTangentAt(SkScalar t) const;
250 bool asQuadTol(SkScalar tol) const;
256 int computeQuadPOW2(SkScalar tol) const;
264 bool findXExtrema(SkScalar* t) const;
265 bool findYExtrema(SkScalar* t) const;
279 bool findMaxCurvature(SkScalar* t) const;
281 static SkScalar TransformW(const SkPoint[3], SkScalar w, const SkMatrix&);
311 const SkPoint* computeQuads(const SkConic& conic, SkScalar tol) { in computeQuads()
319 const SkPoint* computeQuads(const SkPoint pts[3], SkScalar weight, in computeQuads()
320 SkScalar tol) { in computeQuads()