Home
last modified time | relevance | path

Searched refs:getPosTan (Results 1 – 24 of 24) sorted by relevance

/third_party/skia/tests/
DPathMeasureTest.cpp117 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/
DFuzzPathMeasure.cpp32 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/
DSkPathMeasure.cpp30 bool SkPathMeasure::getPosTan(SkScalar distance, SkPoint* position, SkVector* tangent) { in getPosTan() function in SkPathMeasure
31 return fContour && fContour->getPosTan(distance, position, tangent); in getPosTan()
DSkContourMeasure.cpp578 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/
DSkDiscretePathEffect.cpp112 if (meas.getPosTan(distance, &p, &v)) { in onFilterPath()
118 if (meas.getPosTan(distance, &p, &v)) { in onFilterPath()
DSk1DPathEffect.cpp144 if (!meas.getPosTan(dist + sx, &pos, &tangent)) { in morphpoints()
219 if (meas.getPosTan(distance, &pos, nullptr)) { in next()
/third_party/skia/include/core/
DSkPathMeasure.h42 bool SK_WARN_UNUSED_RESULT getPosTan(SkScalar distance, SkPoint* position,
DSkContourMeasure.h26 bool SK_WARN_UNUSED_RESULT getPosTan(SkScalar distance, SkPoint* position,
/third_party/skia/docs/examples/
DPath_addRRect_2.cpp20 if (!pathMeasure.getPosTan(0, &position, &tangent)) { in draw()
/third_party/skia/gm/
Doverstroke.cpp94 if (meas.getPosTan(accum, &pos, &tan)) { in ribs_path()
Daddarc.cpp104 if (meas.getPosTan(arcLen, &pos, nullptr)) {
Ddrawatlas.cpp158 if (!meas.getPosTan(xy[i].x() + offset, &pos, &tan)) {
/third_party/skia/modules/canvaskit/tests/
Dpath.spec.js403 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/
DVec2KeyframeAnimator.cpp86 if (v0.cmeasure->getPosTan(lerp_info.weight * v0.cmeasure->length(), &pos, &tan)) { in onSeek()
/third_party/skia/modules/particles/src/
DSkParticleBinding.cpp39 SkAssertResult(contour->getPosTan(x, &pos, &tan)); in linearize_path()
/third_party/skia/modules/canvaskit/
Dfont.js221 cont.getPosTan(dist, xycs);
Dexterns.js347 getPosTan: function() {},
Dinterface.js859 CanvasKit.ContourMeasure.prototype.getPosTan = function(distance, optionalOutput) { method in CanvasKit.ContourMeasure
DCHANGELOG.md202 - `ContourMeasure.getPosTan` returns a Float32Array instead of a normal array. Additionally,
Dcanvaskit_bindings.cpp1216 if (!self.getPosTan(distance, pointAndVector, pointAndVector + 1)) { in EMSCRIPTEN_BINDINGS()
/third_party/skia/modules/canvaskit/npm_build/types/
Dcanvaskit-wasm-tests.ts244 const pt = contour.getPosTan(2); // $ExpectType Float32Array
245 contour.getPosTan(2, pt);
Dindex.d.ts1585 getPosTan(distance: number, output?: PosTan): PosTan; method
/third_party/skia/modules/skottie/src/text/
DTextAdapter.cpp129 if (!fCurrentMeasure->getPosTan(distance, &pos, &tan)) { in getMatrix()
/third_party/skia/samplecode/
DSampleQuadStroker.cpp323 if (meas.getPosTan(dist, &pos, &tan)) { in draw_ribs()