/third_party/skia/src/core/ |
D | SkContourMeasure.cpp | 560 SkScalar startT = 0, startD = 0; in distanceToSegment() local 563 startD = seg[-1].fDistance; in distanceToSegment() 571 SkASSERT(distance >= startD); in distanceToSegment() 572 SkASSERT(seg->fDistance > startD); in distanceToSegment() 574 *t = startT + (seg->getScalarT() - startT) * (distance - startD) / (seg->fDistance - startD); in distanceToSegment() 624 bool SkContourMeasure::getSegment(SkScalar startD, SkScalar stopD, SkPath* dst, in getSegment() argument 630 if (startD < 0) { in getSegment() 631 startD = 0; in getSegment() 636 if (!(startD <= stopD)) { // catch NaN values as well in getSegment() 645 const Segment* seg = this->distanceToSegment(startD, &startT); in getSegment()
|
D | SkPathMeasure.cpp | 38 bool SkPathMeasure::getSegment(SkScalar startD, SkScalar stopD, SkPath* dst, bool startWithMoveTo) { in getSegment() argument 39 return fContour && fContour->getSegment(startD, stopD, dst, startWithMoveTo); in getSegment()
|
/third_party/flutter/skia/src/core/ |
D | SkContourMeasure.cpp | 534 SkScalar startT = 0, startD = 0; in distanceToSegment() local 537 startD = seg[-1].fDistance; in distanceToSegment() 545 SkASSERT(distance >= startD); in distanceToSegment() 546 SkASSERT(seg->fDistance > startD); in distanceToSegment() 548 *t = startT + (seg->getScalarT() - startT) * (distance - startD) / (seg->fDistance - startD); in distanceToSegment() 598 bool SkContourMeasure::getSegment(SkScalar startD, SkScalar stopD, SkPath* dst, in getSegment() argument 604 if (startD < 0) { in getSegment() 605 startD = 0; in getSegment() 610 if (!(startD <= stopD)) { // catch NaN values as well in getSegment() 619 const Segment* seg = this->distanceToSegment(startD, &startT); in getSegment()
|
D | SkPathMeasure.cpp | 38 bool SkPathMeasure::getSegment(SkScalar startD, SkScalar stopD, SkPath* dst, bool startWithMoveTo) { in getSegment() argument 39 return fContour && fContour->getSegment(startD, stopD, dst, startWithMoveTo); in getSegment()
|
/third_party/flutter/engine/flutter/lib/ui/painting/ |
D | path_measure.cc | 97 float startD, in getSegment() argument 106 measures_[contourIndex]->getSegment(startD, stopD, &dst, startWithMoveTo); in getSegment()
|
D | path_measure.h | 37 float startD,
|
/third_party/flutter/skia/include/core/ |
D | SkPathMeasure.h | 65 bool getSegment(SkScalar startD, SkScalar stopD, SkPath* dst, bool startWithMoveTo);
|
D | SkContourMeasure.h | 49 bool SK_WARN_UNUSED_RESULT getSegment(SkScalar startD, SkScalar stopD, SkPath* dst,
|
/third_party/skia/include/core/ |
D | SkPathMeasure.h | 65 bool getSegment(SkScalar startD, SkScalar stopD, SkPath* dst, bool startWithMoveTo);
|
D | SkContourMeasure.h | 49 bool SK_WARN_UNUSED_RESULT getSegment(SkScalar startD, SkScalar stopD, SkPath* dst,
|
/third_party/skia/modules/canvaskit/ |
D | canvaskit_bindings.cpp | 1220 .function("getSegment", optional_override([](SkContourMeasure& self, SkScalar startD, in EMSCRIPTEN_BINDINGS() 1223 bool ok = self.getSegment(startD, stopD, &p, startWithMoveTo); in EMSCRIPTEN_BINDINGS()
|
/third_party/skia/modules/canvaskit/npm_build/types/ |
D | index.d.ts | 1593 getSegment(startD: number, stopD: number, startWithMoveTo: boolean): Path;
|