/external/skia/src/effects/ |
Sk1DPathEffect.cpp | 95 SkVector tangent; local 100 meas.getPosTan(dist + sx, &pos, &tangent); 106 matrix.setSinCos(tangent.fY, tangent.fX, 0, 0);
|
SkDiscretePathEffect.cpp | 23 static void Perterb(SkPoint* p, const SkVector& tangent, SkScalar scale) { 24 SkVector normal = tangent;
|
/external/skia/src/core/ |
SkPathMeasure.cpp | 248 int segType, SkScalar t, SkPoint* pos, SkVector* tangent) { 262 if (tangent) { 263 tangent->setNormalize(endp->fX - pts[0].fX, endp->fY - pts[0].fY); 268 SkEvalQuadAt(pts, t, pos, tangent); 269 if (tangent) { 270 tangent->normalize(); 274 SkEvalCubicAt(pts, t, pos, tangent, NULL); 275 if (tangent) { 276 tangent->normalize(); 438 SkVector* tangent) { [all...] |
SkGeometry.cpp | 235 void SkEvalQuadAt(const SkPoint src[3], SkScalar t, SkPoint* pt, SkVector* tangent) 242 if (tangent) 243 tangent->set(eval_quad_derivative(&src[0].fX, t), 247 void SkEvalQuadAtHalf(const SkPoint src[3], SkPoint* pt, SkVector* tangent) 259 if (tangent) 260 tangent->set(eval_quad_derivative_at_half(&src[0].fX), 538 void SkEvalCubicAt(const SkPoint src[4], SkScalar t, SkPoint* loc, SkVector* tangent, SkVector* curvature) 545 if (tangent) 546 tangent->set(eval_cubic_derivative(&src[0].fX, t), [all...] |
SkDraw.cpp | 1886 SkVector tangent; local [all...] |
/external/skia/include/core/ |
SkGeometry.h | 49 SkVector* tangent = NULL); 51 SkVector* tangent = NULL); 185 coordinates or at a tangent point, indicating that another query y
|
SkPathMeasure.h | 47 the corresponding position and tangent. 49 position and tangent are unchanged. 51 bool getPosTan(SkScalar distance, SkPoint* position, SkVector* tangent);
|
/external/skia/gpu/src/ |
GrTesselatedPathRenderer.cpp | 109 GrVec tangent = GrVec::Make(p.fY - q.fY, q.fX - p.fX); local 110 float scale = sign / tangent.length(); 112 GrDrawTarget::Edge edge(tangent.fX * scale, 113 tangent.fY * scale,
|
/external/webkit/Source/WebCore/platform/graphics/cairo/ |
PathCairo.cpp | 217 float tangent = radius / tan(acos(cos_phi) / 2); local 218 float factor_p1p0 = tangent / p1p0_length; 241 float factor_p1p2 = tangent / p1p2_length;
|
/external/webkit/Source/WebCore/platform/graphics/qt/ |
PathQt.cpp | 214 float tangent = radius / tan(acos(cos_phi) / 2); local 215 float factor_p1p0 = tangent / p1p0_length; 238 float factor_p1p2 = tangent / p1p2_length;
|
/external/chromium/chrome/browser/resources/touch_ntp/standalone/ |
standalone_hack.js | 40 * recently-closed pages, but the tangent NTP doesn't use that data so we
|