/third_party/skia/src/effects/ |
D | SkTrimPathEffect.cpp | 48 SkTrimPE::SkTrimPE(SkScalar startT, SkScalar stopT, SkTrimPathEffect::Mode mode) in SkTrimPE() argument 49 : fStartT(startT), fStopT(stopT), fMode(mode) {} in SkTrimPE() 118 sk_sp<SkPathEffect> SkTrimPathEffect::Make(SkScalar startT, SkScalar stopT, Mode mode) { in Make() argument 119 if (!SkScalarsAreFinite(startT, stopT)) { in Make() 123 if (startT <= 0 && stopT >= 1 && mode == Mode::kNormal) { in Make() 128 stopT = SkTPin(stopT, 0.f, 1.f); in Make() 130 if (startT >= stopT && mode == Mode::kInverted) { in Make() 134 return sk_sp<SkPathEffect>(new SkTrimPE(startT, stopT, mode)); in Make()
|
D | SkTrimPE.h | 16 SkTrimPE(SkScalar startT, SkScalar stopT, SkTrimPathEffect::Mode);
|
/third_party/skia/modules/skottie/src/layers/shapelayer/ |
D | TrimPaths.cpp | 42 stopT = std::max(start, end) + offset; in onSync() local 45 if (stopT - startT < 1) { in onSync() 47 stopT -= SkScalarFloorToScalar(stopT); in onSync() 49 if (startT > stopT) { in onSync() 51 swap(startT, stopT); in onSync() 56 stopT = 1; in onSync() 60 this->node()->setStop(stopT); in onSync()
|
/third_party/skia/src/core/ |
D | SkContourMeasure.cpp | 32 SkScalar startT, SkScalar stopT, SkPath* dst) { in SkContourMeasure_segTo() argument 34 SkASSERT(stopT >= 0 && stopT <= SK_Scalar1); in SkContourMeasure_segTo() 35 SkASSERT(startT <= stopT); in SkContourMeasure_segTo() 37 if (startT == stopT) { in SkContourMeasure_segTo() 52 if (SK_Scalar1 == stopT) { in SkContourMeasure_segTo() 55 dst->lineTo(SkScalarInterp(pts[0].fX, pts[1].fX, stopT), in SkContourMeasure_segTo() 56 SkScalarInterp(pts[0].fY, pts[1].fY, stopT)); in SkContourMeasure_segTo() 61 if (SK_Scalar1 == stopT) { in SkContourMeasure_segTo() 64 SkChopQuadAt(pts, tmp0, stopT); in SkContourMeasure_segTo() 69 if (SK_Scalar1 == stopT) { in SkContourMeasure_segTo() [all …]
|
D | SkPathMeasurePriv.h | 27 SkScalar startT, SkScalar stopT, SkPath* dst);
|
/third_party/skia/modules/pathkit/ |
D | externs.js | 57 _trim: function(startT, stopT, isComplement) {}, argument 108 PathKit.SkPath.prototype.trim = function(startT, stopT, isComplement) {}; argument
|
D | chaining.js | 178 PathKit.SkPath.prototype.trim = function(startT, stopT, isComplement) { argument 179 if (this._trim(startT, stopT, !!isComplement)) {
|
D | pathkit_wasm_bindings.cpp | 375 bool ApplyTrim(SkPath& path, SkScalar startT, SkScalar stopT, bool isComplement) { in ApplyTrim() argument 377 auto pe = SkTrimPathEffect::Make(startT, stopT, mode); in ApplyTrim()
|
/third_party/skia/include/effects/ |
D | SkTrimPathEffect.h | 38 static sk_sp<SkPathEffect> Make(SkScalar startT, SkScalar stopT, Mode = Mode::kNormal);
|
/third_party/skia/modules/canvaskit/ |
D | interface.js | 364 CanvasKit.Path.prototype.trim = function(startT, stopT, isComplement) { argument 365 if (this._trim(startT, stopT, !!isComplement)) {
|
D | canvaskit_bindings.cpp | 555 bool ApplyTrim(SkPath& path, SkScalar startT, SkScalar stopT, bool isComplement) { in ApplyTrim() argument 557 auto pe = SkTrimPathEffect::Make(startT, stopT, mode); in ApplyTrim()
|
/third_party/skia/site/docs/user/modules/ |
D | pathkit.md | 749 #### `trim(startT, stopT, isComplement=false)` 751 **startT, stopT** - `Number`, values in [0, 1] that indicate the start and stop 754 **startT** and **stopT**.
|
/third_party/skia/modules/canvaskit/npm_build/types/ |
D | index.d.ts | 2495 trim(startT: number, stopT: number, isComplement: boolean): Path | null;
|