Lines Matching refs:SkPoint
14 static inline Sk2s from_point(const SkPoint& point) { in from_point()
18 static inline SkPoint to_point(const Sk2s& x) { in to_point()
19 SkPoint point; in to_point()
44 SkPoint SkEvalQuadAt(const SkPoint src[3], SkScalar t);
45 SkPoint SkEvalQuadTangentAt(const SkPoint src[3], SkScalar t);
50 void SkEvalQuadAt(const SkPoint src[3], SkScalar t, SkPoint* pt, SkVector* tangent = nullptr);
56 void SkChopQuadAt(const SkPoint src[3], SkPoint dst[5], SkScalar t);
61 void SkChopQuadAtHalf(const SkPoint src[3], SkPoint dst[5]);
71 inline float SkMeasureQuadRotation(const SkPoint pts[3]) { in SkMeasureQuadRotation()
78 float SkFindQuadMidTangent(const SkPoint src[4]);
83 inline void SkChopQuadAtMidTangent(const SkPoint src[3], SkPoint dst[5]) { in SkChopQuadAtMidTangent()
103 int SkChopQuadAtYExtrema(const SkPoint src[3], SkPoint dst[5]);
104 int SkChopQuadAtXExtrema(const SkPoint src[3], SkPoint dst[5]);
110 SkScalar SkFindQuadMaxCurvature(const SkPoint src[3]);
119 int SkChopQuadAtMaxCurvature(const SkPoint src[3], SkPoint dst[5]);
125 void SkConvertQuadToCubic(const SkPoint src[3], SkPoint dst[4]);
132 void SkEvalCubicAt(const SkPoint src[4], SkScalar t, SkPoint* locOrNull,
139 void SkChopCubicAt(const SkPoint src[4], SkPoint dst[7], SkScalar t);
145 void SkChopCubicAt(const SkPoint src[4], SkPoint dst[10], float t0, float t1);
151 void SkChopCubicAt(const SkPoint src[4], SkPoint dst[], const SkScalar t[],
157 void SkChopCubicAtHalf(const SkPoint src[4], SkPoint dst[7]);
172 float SkMeasureNonInflectCubicRotation(const SkPoint[4]);
177 float SkFindCubicMidTangent(const SkPoint src[4]);
187 inline void SkChopCubicAtMidTangent(const SkPoint src[4], SkPoint dst[7]) { in SkChopCubicAtMidTangent()
211 int SkChopCubicAtYExtrema(const SkPoint src[4], SkPoint dst[10]);
212 int SkChopCubicAtXExtrema(const SkPoint src[4], SkPoint dst[10]);
217 int SkFindCubicInflections(const SkPoint src[4], SkScalar tValues[2]);
223 int SkChopCubicAtInflections(const SkPoint src[4], SkPoint dst[10]);
225 int SkFindCubicMaxCurvature(const SkPoint src[4], SkScalar tValues[3]);
226 int SkChopCubicAtMaxCurvature(const SkPoint src[4], SkPoint dst[13],
230 SkScalar SkFindCubicCusp(const SkPoint src[4]);
232 bool SkChopMonoCubicAtX(SkPoint src[4], SkScalar y, SkPoint dst[7]);
233 bool SkChopMonoCubicAtY(SkPoint src[4], SkScalar x, SkPoint dst[7]);
287 SkCubicType SkClassifyCubic(const SkPoint p[4], double t[2] = nullptr, double s[2] = nullptr,
299 SkConic(const SkPoint& p0, const SkPoint& p1, const SkPoint& p2, SkScalar w) { in SkConic()
305 SkConic(const SkPoint pts[3], SkScalar w) { in SkConic()
310 SkPoint fPts[3];
313 void set(const SkPoint pts[3], SkScalar w) { in set()
314 memcpy(fPts, pts, 3 * sizeof(SkPoint)); in set()
318 void set(const SkPoint& p0, const SkPoint& p1, const SkPoint& p2, SkScalar w) { in set()
332 void evalAt(SkScalar t, SkPoint* pos, SkVector* tangent = nullptr) const;
337 SkPoint evalAt(SkScalar t) const;
353 int SK_SPI SK_WARN_UNUSED_RESULT chopIntoQuadsPOW2(SkPoint pts[], int pow2) const;
373 static SkScalar TransformW(const SkPoint[3], SkScalar w, const SkMatrix&);
398 SkQuadCoeff(const SkPoint src[3]) { in SkQuadCoeff()
449 SkCubicCoeff(const SkPoint src[4]) { in SkCubicCoeff()
499 const SkPoint* computeQuads(const SkConic& conic, SkScalar tol) { in computeQuads()
502 SkPoint* pts = fStorage.reset(1 + 2 * fQuadCount); in computeQuads()
507 const SkPoint* computeQuads(const SkPoint pts[3], SkScalar weight, in computeQuads()
521 SkAutoSTMalloc<kPointCount, SkPoint> fStorage;