/third_party/skia/tests/ |
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/ |
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/ |
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()
|
D | SkContourMeasure.cpp | 578 bool SkContourMeasure::getPosTan(SkScalar distance, SkPoint* pos, SkVector* tangent) const { in getPosTan() function in SkContourMeasure 608 if (this->getPosTan(distance, &position, &tangent)) { in getMatrix()
|
/third_party/skia/src/effects/ |
D | SkDiscretePathEffect.cpp | 112 if (meas.getPosTan(distance, &p, &v)) { in onFilterPath() 118 if (meas.getPosTan(distance, &p, &v)) { in onFilterPath()
|
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/include/core/ |
D | SkPathMeasure.h | 42 bool SK_WARN_UNUSED_RESULT getPosTan(SkScalar distance, SkPoint* position,
|
D | SkContourMeasure.h | 26 bool SK_WARN_UNUSED_RESULT getPosTan(SkScalar distance, SkPoint* position,
|
/third_party/skia/docs/examples/ |
D | Path_addRRect_2.cpp | 20 if (!pathMeasure.getPosTan(0, &position, &tangent)) { in draw()
|
/third_party/skia/gm/ |
D | overstroke.cpp | 94 if (meas.getPosTan(accum, &pos, &tan)) { in ribs_path()
|
D | addarc.cpp | 104 if (meas.getPosTan(arcLen, &pos, nullptr)) {
|
D | drawatlas.cpp | 158 if (!meas.getPosTan(xy[i].x() + offset, &pos, &tan)) {
|
/third_party/skia/modules/canvaskit/tests/ |
D | path.spec.js | 403 const pt = cont.getPosTan(28.7); // arbitrary point 410 cont.getPosTan(28.7, pt); // arbitrary point again, passing in an array to copy into.
|
/third_party/skia/modules/skottie/src/animator/ |
D | Vec2KeyframeAnimator.cpp | 86 if (v0.cmeasure->getPosTan(lerp_info.weight * v0.cmeasure->length(), &pos, &tan)) { in onSeek()
|
/third_party/skia/modules/particles/src/ |
D | SkParticleBinding.cpp | 39 SkAssertResult(contour->getPosTan(x, &pos, &tan)); in linearize_path()
|
/third_party/skia/modules/canvaskit/ |
D | font.js | 221 cont.getPosTan(dist, xycs);
|
D | externs.js | 347 getPosTan: function() {},
|
D | interface.js | 859 CanvasKit.ContourMeasure.prototype.getPosTan = function(distance, optionalOutput) { method in CanvasKit.ContourMeasure
|
D | CHANGELOG.md | 202 - `ContourMeasure.getPosTan` returns a Float32Array instead of a normal array. Additionally,
|
D | canvaskit_bindings.cpp | 1216 if (!self.getPosTan(distance, pointAndVector, pointAndVector + 1)) { in EMSCRIPTEN_BINDINGS()
|
/third_party/skia/modules/canvaskit/npm_build/types/ |
D | canvaskit-wasm-tests.ts | 244 const pt = contour.getPosTan(2); // $ExpectType Float32Array 245 contour.getPosTan(2, pt);
|
D | index.d.ts | 1585 getPosTan(distance: number, output?: PosTan): PosTan; method
|
/third_party/skia/modules/skottie/src/text/ |
D | TextAdapter.cpp | 129 if (!fCurrentMeasure->getPosTan(distance, &pos, &tan)) { in getMatrix()
|
/third_party/skia/samplecode/ |
D | SampleQuadStroker.cpp | 323 if (meas.getPosTan(dist, &pos, &tan)) { in draw_ribs()
|