Home
last modified time | relevance | path

Searched refs:getPosTan (Results 1 - 19 of 19) sorted by relevance

/third_party/skia/tests/
H A 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/
H A 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/
H A 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()
H A DSkContourMeasure.cpp578 bool SkContourMeasure::getPosTan(SkScalar distance, SkPoint* pos, SkVector* tangent) const {
608 if (this->getPosTan(distance, &position, &tangent)) {
/third_party/skia/src/effects/
H A DSkDiscretePathEffect.cpp112 if (meas.getPosTan(distance, &p, &v)) {
118 if (meas.getPosTan(distance, &p, &v)) {
H A DSk1DPathEffect.cpp144 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 DPath_addRRect_2.cpp20 if (!pathMeasure.getPosTan(0, &position, &tangent)) { in REG_FIDDLE()
/third_party/skia/include/core/
H A DSkPathMeasure.h42 bool SK_WARN_UNUSED_RESULT getPosTan(SkScalar distance, SkPoint* position,
52 the corresponding matrix (by calling getPosTan).
H A DSkContourMeasure.h26 bool SK_WARN_UNUSED_RESULT getPosTan(SkScalar distance, SkPoint* position,
36 the corresponding matrix (by calling getPosTan).
/third_party/skia/gm/
H A Doverstroke.cpp94 if (meas.getPosTan(accum, &pos, &tan)) { in ribs_path()
H A Daddarc.cpp104 if (meas.getPosTan(arcLen, &pos, nullptr)) { in DEF_SIMPLE_GM()
H A Ddrawatlas.cpp158 if (!meas.getPosTan(xy[i].x() + offset, &pos, &tan)) { in draw_text_on_path()
/third_party/skia/modules/particles/src/
H A DSkParticleBinding.cpp39 SkAssertResult(contour->getPosTan(x, &pos, &tan)); in linearize_path()
/third_party/skia/modules/skottie/src/animator/
H A DVec2KeyframeAnimator.cpp86 if (v0.cmeasure->getPosTan(lerp_info.weight * v0.cmeasure->length(), &pos, &tan)) {
/third_party/skia/modules/canvaskit/
H A Dexterns.js347 getPosTan: function() {},
H A Dinterface.js859 CanvasKit.ContourMeasure.prototype.getPosTan = function(distance, optionalOutput) {
H A Dcanvaskit_bindings.cpp1216 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 DTextAdapter.cpp129 if (!fCurrentMeasure->getPosTan(distance, &pos, &tan)) { in getMatrix()
135 // - getPosTan above clamps to the extremes in getMatrix()
/third_party/skia/samplecode/
H A DSampleQuadStroker.cpp323 if (meas.getPosTan(dist, &pos, &tan)) { in draw_ribs()

Completed in 15 milliseconds