Home
last modified time | relevance | path

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

12

/external/skqp/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()
/external/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()
/external/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()
/external/skqp/fuzz/
DFuzzPathMeasure.cpp29 ignoreResult(measure.getPosTan(distance[0], &position, &tangent)); in DEF_FUZZ()
33 ignoreResult(measure.getPosTan(distance[3], &position, &tangent)); in DEF_FUZZ()
/external/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()
/external/skqp/src/effects/
DSkDiscretePathEffect.cpp115 if (meas.getPosTan(distance, &p, &v)) { in onFilterPath()
121 if (meas.getPosTan(distance, &p, &v)) { in onFilterPath()
DSk1DPathEffect.cpp87 if (!meas.getPosTan(dist + sx, &pos, &tangent)) { in morphpoints()
182 if (meas.getPosTan(distance, &pos, nullptr)) { in next()
/external/skia/src/effects/
DSkDiscretePathEffect.cpp120 if (meas.getPosTan(distance, &p, &v)) { in onFilterPath()
126 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()
/external/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,
/external/skia/docs/examples/
DPath_addRRect_2.cpp20 if (!pathMeasure.getPosTan(0, &position, &tangent)) { in draw()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowPathMeasure.java39 protected boolean getPosTan(float distance, float pos[], float tan[]) { in getPosTan() method in ShadowPathMeasure
/external/lottie/lottie/src/main/java/com/airbnb/lottie/animation/keyframe/
DPathKeyframeAnimation.java42 pathMeasure.getPosTan(keyframeProgress * pathMeasure.getLength(), pos, null); in getValue()
/external/skqp/include/core/
DSkPathMeasure.h48 bool SK_WARN_UNUSED_RESULT getPosTan(SkScalar distance, SkPoint* position,
/external/skia/modules/canvaskit/tests/
Dpath.spec.js402 const pt = cont.getPosTan(28.7); // arbitrary point
409 cont.getPosTan(28.7, pt); // arbitrary point again, passing in an array to copy into.
/external/skia/gm/
Doverstroke.cpp94 if (meas.getPosTan(accum, &pos, &tan)) { in ribs_path()
Daddarc.cpp104 if (meas.getPosTan(arcLen, &pos, nullptr)) {
/external/skqp/gm/
DOverStroke.cpp98 if (meas.getPosTan(accum, &pos, &tan)) { in ribs_path()
Daddarc.cpp96 if (meas.getPosTan(arcLen, &pos, nullptr)) {
Ddrawatlas.cpp133 if (!meas.getPosTan(xy[i].x() + offset, &pos, &tan)) {
/external/skia/modules/skottie/src/animator/
DVec2KeyframeAnimator.cpp192 if (v0.cmeasure->getPosTan(lerp_info.weight * v0.cmeasure->length(), &pos, &tan)) { in onSeek()
/external/skia/modules/canvaskit/
Dfont.js182 cont.getPosTan(dist, xycs);
/external/skia/modules/particles/src/
DSkParticleBinding.cpp39 SkAssertResult(contour->getPosTan(x, &pos, &tan)); in linearize_path()

12