Lines Matching refs:src
44 SkPoint SkEvalQuadAt(const SkPoint src[3], SkScalar t);
45 SkPoint SkEvalQuadTangentAt(const SkPoint src[3], SkScalar t);
47 /** Set pt to the point on the src quadratic specified by t. t must be
50 void SkEvalQuadAt(const SkPoint src[3], SkScalar t, SkPoint* pt, SkVector* tangent = nullptr);
52 /** Given a src quadratic bezier, chop it at the specified t value,
56 void SkChopQuadAt(const SkPoint src[3], SkPoint dst[5], SkScalar t);
58 /** Given a src quadratic bezier, chop it at the specified t == 1/2,
61 void SkChopQuadAtHalf(const SkPoint src[3], SkPoint dst[5]);
75 /** Given a src quadratic bezier, returns the T value whose tangent angle is halfway between the
78 float SkFindQuadMidTangent(const SkPoint src[4]);
80 /** Given a src quadratic bezier, chop it at the tangent whose angle is halfway between the
83 inline void SkChopQuadAtMidTangent(const SkPoint src[3], SkPoint dst[5]) {
84 SkChopQuadAt(src, dst, SkFindQuadMidTangent(src));
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]);
129 /** Set pt to the point on the src cubic specified by t. t must be
132 void SkEvalCubicAt(const SkPoint src[4], SkScalar t, SkPoint* locOrNull,
135 /** Given a src cubic bezier, chop it at the specified t value,
139 void SkChopCubicAt(const SkPoint src[4], SkPoint dst[7], SkScalar t);
141 /** Given a src cubic bezier, chop it at the specified t0 and t1 values,
145 void SkChopCubicAt(const SkPoint src[4], SkPoint dst[10], float t0, float t1);
147 /** Given a src cubic bezier, chop it at the specified t values,
151 void SkChopCubicAt(const SkPoint src[4], SkPoint dst[], const SkScalar t[],
154 /** Given a src cubic bezier, chop it at the specified t == 1/2,
157 void SkChopCubicAtHalf(const SkPoint src[4], SkPoint dst[7]);
174 /** Given a src cubic bezier, returns the T value whose tangent angle is halfway between the
177 float SkFindCubicMidTangent(const SkPoint src[4]);
179 /** Given a src cubic bezier, chop it at the tangent whose angle is halfway between the
187 inline void SkChopCubicAtMidTangent(const SkPoint src[4], SkPoint dst[7]) {
188 SkChopCubicAt(src, dst, SkFindCubicMidTangent(src));
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]);
398 SkQuadCoeff(const SkPoint src[3]) {
399 fC = from_point(src[0]);
400 Sk2s P1 = from_point(src[1]);
401 Sk2s P2 = from_point(src[2]);
449 SkCubicCoeff(const SkPoint src[4]) {
450 Sk2s P0 = from_point(src[0]);
451 Sk2s P1 = from_point(src[1]);
452 Sk2s P2 = from_point(src[2]);
453 Sk2s P3 = from_point(src[3]);