Home
last modified time | relevance | path

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

12

/third_party/flutter/skia/tests/
DPathMeasureTest.cpp116 REPORTER_ASSERT(reporter, meas.getPosTan(SK_ScalarHalf, &position, &tangent)); in DEF_TEST()
141 REPORTER_ASSERT(reporter, meas.getPosTan(SK_ScalarHalf, &position, &tangent)); in DEF_TEST()
149 REPORTER_ASSERT(reporter, meas.getPosTan(2.5f, &position, &tangent)); in DEF_TEST()
156 REPORTER_ASSERT(reporter, meas.getPosTan(4.5f, &position, &tangent)); in DEF_TEST()
177 REPORTER_ASSERT(reporter, meas.getPosTan(SK_ScalarHalf, &position, &tangent)); in DEF_TEST()
188 REPORTER_ASSERT(reporter, meas.getPosTan(SK_ScalarHalf, &position, &tangent)); in DEF_TEST()
211 REPORTER_ASSERT(reporter, stdm.getPosTan(20, &stdP, nullptr)); in DEF_TEST()
216 REPORTER_ASSERT(reporter, stdm.getPosTan(20, &hiP, nullptr)); in DEF_TEST()
238 bool success = cm->getPosTan(distance, &pos, &tan); in test_90_degrees()
/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/flutter/engine/flutter/lib/ui/painting/
Dpath_measure.cc27 V(PathMeasure, getPosTan) \
72 tonic::Float32List CanvasPathMeasure::getPosTan(int contourIndex, in getPosTan() function in flutter::CanvasPathMeasure
83 bool success = measures_[contourIndex]->getPosTan(distance, &pos, &tan); in getPosTan()
Dpath_measure.h35 tonic::Float32List getPosTan(int contourIndex, float distance);
/third_party/flutter/skia/fuzz/
DFuzzPathMeasure.cpp29 ignoreResult(measure.getPosTan(distance[0], &position, &tangent)); in DEF_FUZZ()
33 ignoreResult(measure.getPosTan(distance[3], &position, &tangent)); in DEF_FUZZ()
/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/flutter/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.cpp552 bool SkContourMeasure::getPosTan(SkScalar distance, SkPoint* pos, SkVector* tangent) const { in getPosTan() function in SkContourMeasure
582 if (this->getPosTan(distance, &position, &tangent)) { in getMatrix()
/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/flutter/skia/src/effects/
DSkDiscretePathEffect.cpp115 if (meas.getPosTan(distance, &p, &v)) { in onFilterPath()
121 if (meas.getPosTan(distance, &p, &v)) { in onFilterPath()
DSk1DPathEffect.cpp91 if (!meas.getPosTan(dist + sx, &pos, &tangent)) { in morphpoints()
186 if (meas.getPosTan(distance, &pos, nullptr)) { in next()
/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/flutter/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/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/flutter/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)) {
/third_party/flutter/skia/gm/
Doverstroke.cpp104 if (meas.getPosTan(accum, &pos, &tan)) { in ribs_path()
/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()

12