/external/chromium_org/third_party/skia/experimental/Intersection/ |
LineParameterization.cpp | 15 tangent(one, oneD); 16 tangent(two, twoD); 39 tangent(one, oneD); 40 tangent(two, twoD); 60 void tangent(const _Line& line, _Point& result) { function
|
QuadraticParameterization.cpp | 121 static double tangent(const double* quadratic, double t) { function 127 void tangent(const Quadratic& quadratic, double t, _Point& result) { function 128 result.x = tangent(&quadratic[0].x, t); 129 result.y = tangent(&quadratic[0].y, t);
|
CubicParameterization.cpp | 501 static double tangent(const double* cubic, double t) { function 512 void tangent(const Cubic& cubic, double t, _Point& result) { function 513 result.x = tangent(&cubic[0].x, t); 514 result.y = tangent(&cubic[0].y, t);
|
/external/skia/experimental/Intersection/ |
LineParameterization.cpp | 15 tangent(one, oneD); 16 tangent(two, twoD); 39 tangent(one, oneD); 40 tangent(two, twoD); 60 void tangent(const _Line& line, _Point& result) { function
|
QuadraticParameterization.cpp | 121 static double tangent(const double* quadratic, double t) { function 127 void tangent(const Quadratic& quadratic, double t, _Point& result) { function 128 result.x = tangent(&quadratic[0].x, t); 129 result.y = tangent(&quadratic[0].y, t);
|
CubicParameterization.cpp | 501 static double tangent(const double* cubic, double t) { function 512 void tangent(const Cubic& cubic, double t, _Point& result) { function 513 result.x = tangent(&cubic[0].x, t); 514 result.y = tangent(&cubic[0].y, t);
|
/external/chromium_org/third_party/skia/src/pathops/ |
SkPathOpsLine.h | 43 SkDVector tangent() const { return fPts[0] - fPts[1]; } function in struct:SkDLine
|
/external/chromium_org/third_party/skia/tests/ |
PathMeasureTest.cpp | 115 SkVector tangent; local 116 REPORTER_ASSERT(reporter, meas.getPosTan(SK_ScalarHalf, &position, &tangent)); 122 REPORTER_ASSERT(reporter, tangent.fX == -SK_Scalar1); 123 REPORTER_ASSERT(reporter, tangent.fY == 0); 141 REPORTER_ASSERT(reporter, meas.getPosTan(SK_ScalarHalf, &position, &tangent)); 147 REPORTER_ASSERT(reporter, tangent.fX == SK_Scalar1); 148 REPORTER_ASSERT(reporter, tangent.fY == 0); 149 REPORTER_ASSERT(reporter, meas.getPosTan(2.5f, &position, &tangent)); 154 REPORTER_ASSERT(reporter, tangent.fX == 0); 155 REPORTER_ASSERT(reporter, tangent.fY == SK_Scalar1) [all...] |
/external/skia/src/pathops/ |
SkPathOpsLine.h | 43 SkDVector tangent() const { return fPts[0] - fPts[1]; } function in struct:SkDLine
|
/external/skia/tests/ |
PathMeasureTest.cpp | 115 SkVector tangent; local 116 REPORTER_ASSERT(reporter, meas.getPosTan(SK_ScalarHalf, &position, &tangent)); 122 REPORTER_ASSERT(reporter, tangent.fX == -SK_Scalar1); 123 REPORTER_ASSERT(reporter, tangent.fY == 0); 141 REPORTER_ASSERT(reporter, meas.getPosTan(SK_ScalarHalf, &position, &tangent)); 147 REPORTER_ASSERT(reporter, tangent.fX == SK_Scalar1); 148 REPORTER_ASSERT(reporter, tangent.fY == 0); 149 REPORTER_ASSERT(reporter, meas.getPosTan(2.5f, &position, &tangent)); 154 REPORTER_ASSERT(reporter, tangent.fX == 0); 155 REPORTER_ASSERT(reporter, tangent.fY == SK_Scalar1) [all...] |
/external/chromium_org/third_party/skia/src/effects/ |
Sk1DPathEffect.cpp | 85 SkVector tangent; local 90 if (!meas.getPosTan(dist + sx, &pos, &tangent)) { 98 matrix.setSinCos(tangent.fY, tangent.fX, 0, 0);
|
SkDashPathEffect.cpp | 85 SkVector tangent = pts[1] - pts[0]; local 86 if (tangent.isZero()) { 90 tangent.scale(SkScalarInvert(length)); 94 if (SK_Scalar1 == tangent.fX || -SK_Scalar1 == tangent.fX) { 96 } else if (SK_Scalar1 == tangent.fY || -SK_Scalar1 == tangent.fY) { 156 SkScalar x = pts[0].fX + SkScalarMul(tangent.fX, SkScalarHalf(clampedInitialDashLength)); 157 SkScalar y = pts[0].fY + SkScalarMul(tangent.fY, SkScalarHalf(clampedInitialDashLength)); 189 SkScalar x = pts[0].fX + SkScalarMul(tangent.fX, distance) [all...] |
/external/skia/src/effects/ |
Sk1DPathEffect.cpp | 85 SkVector tangent; local 90 if (!meas.getPosTan(dist + sx, &pos, &tangent)) { 98 matrix.setSinCos(tangent.fY, tangent.fX, 0, 0);
|
SkDashPathEffect.cpp | 85 SkVector tangent = pts[1] - pts[0]; local 86 if (tangent.isZero()) { 90 tangent.scale(SkScalarInvert(length)); 94 if (SK_Scalar1 == tangent.fX || -SK_Scalar1 == tangent.fX) { 96 } else if (SK_Scalar1 == tangent.fY || -SK_Scalar1 == tangent.fY) { 156 SkScalar x = pts[0].fX + SkScalarMul(tangent.fX, SkScalarHalf(clampedInitialDashLength)); 157 SkScalar y = pts[0].fY + SkScalarMul(tangent.fY, SkScalarHalf(clampedInitialDashLength)); 189 SkScalar x = pts[0].fX + SkScalarMul(tangent.fX, distance) [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/graphics/ |
Path.cpp | 184 SkVector tangent; local 187 if (measure.getPosTan(length, &position, &tangent)) { 188 normalAngle = rad2deg(SkScalarToFloat(SkScalarATan2(tangent.fY, tangent.fX)));
|
/frameworks/base/libs/hwui/font/ |
Font.cpp | 244 SkPathMeasure& measure, SkPoint* position, SkVector* tangent) { 251 bool ok = measure.getPosTan(x + hOffset + glyph->mBitmapLeft + halfWidth, position, tangent); 256 // Move along the tangent and offset by the normal 257 destination[0].set(-tangent->fX * halfWidth - tangent->fY * vOffset, 258 -tangent->fY * halfWidth + tangent->fX * vOffset); 259 destination[1].set(tangent->fX * halfWidth - tangent->fY * vOffset, 260 tangent->fY * halfWidth + tangent->fX * vOffset) 319 SkVector tangent; local [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vega/ |
stroker.c | 963 VGfloat tangent[4]; local 966 bezier_start_tangent(&bezier, tangent); 967 line_translate(tangent, 975 create_joins(stroker, prev[0], prev[1], tangent, 980 start_tangent[0] = tangent[0]; 981 start_tangent[1] = tangent[1]; 982 start_tangent[2] = tangent[2]; 983 start_tangent[3] = tangent[3]; 986 create_joins(stroker, prev[0], prev[1], tangent, [all...] |
/external/chromium_org/third_party/skia/src/core/ |
SkDraw.cpp | 1851 SkVector tangent; local [all...] |
/external/mesa3d/src/gallium/state_trackers/vega/ |
stroker.c | 963 VGfloat tangent[4]; local 966 bezier_start_tangent(&bezier, tangent); 967 line_translate(tangent, 975 create_joins(stroker, prev[0], prev[1], tangent, 980 start_tangent[0] = tangent[0]; 981 start_tangent[1] = tangent[1]; 982 start_tangent[2] = tangent[2]; 983 start_tangent[3] = tangent[3]; 986 create_joins(stroker, prev[0], prev[1], tangent, [all...] |
/external/skia/src/core/ |
SkDraw.cpp | 1851 SkVector tangent; local [all...] |