/external/skia/src/core/ |
D | SkPathMeasure.cpp | 248 int segType, SkScalar t, SkPoint* pos, SkVector* tangent) { in compute_pos_tan() argument 262 if (tangent) { in compute_pos_tan() 263 tangent->setNormalize(endp->fX - pts[0].fX, endp->fY - pts[0].fY); in compute_pos_tan() 268 SkEvalQuadAt(pts, t, pos, tangent); in compute_pos_tan() 269 if (tangent) { in compute_pos_tan() 270 tangent->normalize(); in compute_pos_tan() 274 SkEvalCubicAt(pts, t, pos, tangent, NULL); in compute_pos_tan() 275 if (tangent) { in compute_pos_tan() 276 tangent->normalize(); in compute_pos_tan() 438 SkVector* tangent) { in getPosTan() argument [all …]
|
D | SkGeometry.cpp | 178 void SkEvalQuadAt(const SkPoint src[3], SkScalar t, SkPoint* pt, SkVector* tangent) in SkEvalQuadAt() argument 185 if (tangent) in SkEvalQuadAt() 186 tangent->set(eval_quad_derivative(&src[0].fX, t), in SkEvalQuadAt() 190 void SkEvalQuadAtHalf(const SkPoint src[3], SkPoint* pt, SkVector* tangent) in SkEvalQuadAtHalf() argument 202 if (tangent) in SkEvalQuadAtHalf() 203 tangent->set(eval_quad_derivative_at_half(&src[0].fX), in SkEvalQuadAtHalf() 446 void SkEvalCubicAt(const SkPoint src[4], SkScalar t, SkPoint* loc, SkVector* tangent, SkVector* cur… in SkEvalCubicAt() argument 453 if (tangent) in SkEvalCubicAt() 454 tangent->set(eval_cubic_derivative(&src[0].fX, t), in SkEvalCubicAt()
|
D | SkDraw.cpp | 1746 SkVector tangent; in morphpoints() local 1752 meas.getPosTan(sx, &pos, &tangent); in morphpoints() 1764 dst[i].set(pos.fX - SkScalarMul(tangent.fY, sy), in morphpoints() 1765 pos.fY + SkScalarMul(tangent.fX, sy)); in morphpoints()
|
/external/skia/src/effects/ |
D | Sk1DPathEffect.cpp | 95 SkVector tangent; in morphpoints() local 100 meas.getPosTan(dist + sx, &pos, &tangent); in morphpoints() 106 matrix.setSinCos(tangent.fY, tangent.fX, 0, 0); in morphpoints()
|
D | SkDiscretePathEffect.cpp | 23 static void Perterb(SkPoint* p, const SkVector& tangent, SkScalar scale) in Perterb() argument 25 SkVector normal = tangent; in Perterb()
|
/external/skia/include/core/ |
D | SkGeometry.h | 33 void SkEvalQuadAt(const SkPoint src[3], SkScalar t, SkPoint* pt, SkVector* tangent = NULL); 34 void SkEvalQuadAtHalf(const SkPoint src[3], SkPoint* pt, SkVector* tangent = NULL);
|
D | SkPathMeasure.h | 51 bool getPosTan(SkScalar distance, SkPoint* position, SkVector* tangent);
|
/external/webkit/WebCore/platform/graphics/qt/ |
D | PathQt.cpp | 193 float tangent = radius / tan(acos(cos_phi) / 2); in addArcTo() local 194 float factor_p1p0 = tangent / p1p0_length; in addArcTo() 217 float factor_p1p2 = tangent / p1p2_length; in addArcTo()
|
/external/webkit/WebCore/platform/graphics/cairo/ |
D | PathCairo.cpp | 196 float tangent = radius / tan(acos(cos_phi) / 2); in addArcTo() local 197 float factor_p1p0 = tangent / p1p0_length; in addArcTo() 220 float factor_p1p2 = tangent / p1p2_length; in addArcTo()
|
/external/webkit/WebCore/ |
D | ChangeLog-2007-10-14 | 51485 had a bug in the tangent slope calculation.
|