/third_party/skia/tests/ |
H A D | PathMeasureTest.cpp | 117 REPORTER_ASSERT(reporter, meas.getPosTan(SK_ScalarHalf, &position, &tangent)); in DEF_TEST() 142 REPORTER_ASSERT(reporter, meas.getPosTan(SK_ScalarHalf, &position, &tangent)); in DEF_TEST() 150 REPORTER_ASSERT(reporter, meas.getPosTan(2.5f, &position, &tangent)); in DEF_TEST() 157 REPORTER_ASSERT(reporter, meas.getPosTan(4.5f, &position, &tangent)); in DEF_TEST() 178 REPORTER_ASSERT(reporter, meas.getPosTan(SK_ScalarHalf, &position, &tangent)); in DEF_TEST() 189 REPORTER_ASSERT(reporter, meas.getPosTan(SK_ScalarHalf, &position, &tangent)); in DEF_TEST() 212 REPORTER_ASSERT(reporter, stdm.getPosTan(20, &stdP, nullptr)); in DEF_TEST() 217 REPORTER_ASSERT(reporter, stdm.getPosTan(20, &hiP, nullptr)); in DEF_TEST() 239 bool success = cm->getPosTan(distance, &pos, &tan); in test_90_degrees()
|
/third_party/skia/fuzz/ |
H A D | FuzzPathMeasure.cpp | 32 ignoreResult(measure.getPosTan(distance[0], &position, &tangent)); in DEF_FUZZ() 36 ignoreResult(measure.getPosTan(distance[3], &position, &tangent)); in DEF_FUZZ()
|
/third_party/skia/src/core/ |
H A D | SkPathMeasure.cpp | 30 bool SkPathMeasure::getPosTan(SkScalar distance, SkPoint* position, SkVector* tangent) { in getPosTan() function in SkPathMeasure 31 return fContour && fContour->getPosTan(distance, position, tangent); in getPosTan()
|
H A D | SkContourMeasure.cpp | 578 bool SkContourMeasure::getPosTan(SkScalar distance, SkPoint* pos, SkVector* tangent) const { 608 if (this->getPosTan(distance, &position, &tangent)) {
|
/third_party/skia/src/effects/ |
H A D | SkDiscretePathEffect.cpp | 112 if (meas.getPosTan(distance, &p, &v)) { 118 if (meas.getPosTan(distance, &p, &v)) {
|
H A D | Sk1DPathEffect.cpp | 144 if (!meas.getPosTan(dist + sx, &pos, &tangent)) { in morphpoints() 219 if (meas.getPosTan(distance, &pos, nullptr)) { in next()
|
/third_party/skia/docs/examples/ |
H A D | Path_addRRect_2.cpp | 20 if (!pathMeasure.getPosTan(0, &position, &tangent)) { in REG_FIDDLE()
|
/third_party/skia/include/core/ |
H A D | SkPathMeasure.h | 42 bool SK_WARN_UNUSED_RESULT getPosTan(SkScalar distance, SkPoint* position, 52 the corresponding matrix (by calling getPosTan).
|
H A D | SkContourMeasure.h | 26 bool SK_WARN_UNUSED_RESULT getPosTan(SkScalar distance, SkPoint* position, 36 the corresponding matrix (by calling getPosTan).
|
/third_party/skia/gm/ |
H A D | overstroke.cpp | 94 if (meas.getPosTan(accum, &pos, &tan)) { in ribs_path()
|
H A D | addarc.cpp | 104 if (meas.getPosTan(arcLen, &pos, nullptr)) { in DEF_SIMPLE_GM()
|
H A D | drawatlas.cpp | 158 if (!meas.getPosTan(xy[i].x() + offset, &pos, &tan)) { in draw_text_on_path()
|
/third_party/skia/modules/particles/src/ |
H A D | SkParticleBinding.cpp | 39 SkAssertResult(contour->getPosTan(x, &pos, &tan)); in linearize_path()
|
/third_party/skia/modules/skottie/src/animator/ |
H A D | Vec2KeyframeAnimator.cpp | 86 if (v0.cmeasure->getPosTan(lerp_info.weight * v0.cmeasure->length(), &pos, &tan)) {
|
/third_party/skia/modules/canvaskit/ |
H A D | externs.js | 347 getPosTan: function() {},
|
H A D | interface.js | 859 CanvasKit.ContourMeasure.prototype.getPosTan = function(distance, optionalOutput) {
|
H A D | canvaskit_bindings.cpp | 1216 if (!self.getPosTan(distance, pointAndVector, pointAndVector + 1)) { in EMSCRIPTEN_BINDINGS() 1217 SkDebugf("zero-length path in getPosTan\n"); in EMSCRIPTEN_BINDINGS()
|
/third_party/skia/modules/skottie/src/text/ |
H A D | TextAdapter.cpp | 129 if (!fCurrentMeasure->getPosTan(distance, &pos, &tan)) { in getMatrix() 135 // - getPosTan above clamps to the extremes in getMatrix()
|
/third_party/skia/samplecode/ |
H A D | SampleQuadStroker.cpp | 323 if (meas.getPosTan(dist, &pos, &tan)) { in draw_ribs()
|