/external/skia/src/effects/ |
D | SkTrimPathEffect.cpp | 53 SkTrimPE::SkTrimPE(SkScalar startT, SkScalar stopT, SkTrimPathEffect::Mode mode) in SkTrimPE() argument 54 : fStartT(startT), fStopT(stopT), fMode(mode) {} in SkTrimPE() 102 sk_sp<SkPathEffect> SkTrimPathEffect::Make(SkScalar startT, SkScalar stopT, Mode mode) { in Make() argument 103 if (!SkScalarsAreFinite(startT, stopT)) { in Make() 107 if (startT <= 0 && stopT >= 1 && mode == Mode::kNormal) { in Make() 112 stopT = SkTPin(stopT, 0.f, 1.f); in Make() 114 if (startT >= stopT && mode == Mode::kInverted) { in Make() 118 return sk_sp<SkPathEffect>(new SkTrimPE(startT, stopT, mode)); in Make()
|
D | SkTrimPE.h | 17 SkTrimPE(SkScalar startT, SkScalar stopT, SkTrimPathEffect::Mode);
|
/external/skqp/src/effects/ |
D | SkTrimPathEffect.cpp | 53 SkTrimPE::SkTrimPE(SkScalar startT, SkScalar stopT, SkTrimPathEffect::Mode mode) in SkTrimPE() argument 54 : fStartT(startT), fStopT(stopT), fMode(mode) {} in SkTrimPE() 102 sk_sp<SkPathEffect> SkTrimPathEffect::Make(SkScalar startT, SkScalar stopT, Mode mode) { in Make() argument 103 if (!SkScalarsAreFinite(startT, stopT)) { in Make() 107 if (startT <= 0 && stopT >= 1 && mode == Mode::kNormal) { in Make() 112 stopT = SkTPin(stopT, 0.f, 1.f); in Make() 114 if (startT >= stopT && mode == Mode::kInverted) { in Make() 118 return sk_sp<SkPathEffect>(new SkTrimPE(startT, stopT, mode)); in Make()
|
D | SkTrimPE.h | 17 SkTrimPE(SkScalar startT, SkScalar stopT, SkTrimPathEffect::Mode);
|
/external/skia/src/core/ |
D | SkContourMeasure.cpp | 27 SkScalar startT, SkScalar stopT, SkPath* dst) { in SkContourMeasure_segTo() argument 29 SkASSERT(stopT >= 0 && stopT <= SK_Scalar1); in SkContourMeasure_segTo() 30 SkASSERT(startT <= stopT); in SkContourMeasure_segTo() 32 if (startT == stopT) { in SkContourMeasure_segTo() 47 if (SK_Scalar1 == stopT) { in SkContourMeasure_segTo() 50 dst->lineTo(SkScalarInterp(pts[0].fX, pts[1].fX, stopT), in SkContourMeasure_segTo() 51 SkScalarInterp(pts[0].fY, pts[1].fY, stopT)); in SkContourMeasure_segTo() 56 if (SK_Scalar1 == stopT) { in SkContourMeasure_segTo() 59 SkChopQuadAt(pts, tmp0, stopT); in SkContourMeasure_segTo() 64 if (SK_Scalar1 == stopT) { in SkContourMeasure_segTo() [all …]
|
D | SkPathMeasurePriv.h | 27 SkScalar startT, SkScalar stopT, SkPath* dst);
|
/external/skqp/src/core/ |
D | SkPathMeasure.cpp | 37 SkScalar startT, SkScalar stopT, SkPath* dst) { in SkPathMeasure_segTo() argument 39 SkASSERT(stopT >= 0 && stopT <= SK_Scalar1); in SkPathMeasure_segTo() 40 SkASSERT(startT <= stopT); in SkPathMeasure_segTo() 42 if (startT == stopT) { in SkPathMeasure_segTo() 57 if (SK_Scalar1 == stopT) { in SkPathMeasure_segTo() 60 dst->lineTo(SkScalarInterp(pts[0].fX, pts[1].fX, stopT), in SkPathMeasure_segTo() 61 SkScalarInterp(pts[0].fY, pts[1].fY, stopT)); in SkPathMeasure_segTo() 66 if (SK_Scalar1 == stopT) { in SkPathMeasure_segTo() 69 SkChopQuadAt(pts, tmp0, stopT); in SkPathMeasure_segTo() 74 if (SK_Scalar1 == stopT) { in SkPathMeasure_segTo() [all …]
|
D | SkPathMeasurePriv.h | 27 SkScalar startT, SkScalar stopT, SkPath* dst);
|
/external/skqp/modules/skottie/src/ |
D | SkottieAdapter.cpp | 243 stopT = SkTMax(start, end) + offset; in apply() local 246 if (stopT - startT < 1) { in apply() 248 stopT -= SkScalarFloorToScalar(stopT); in apply() 250 if (startT > stopT) { in apply() 252 swap(startT, stopT); in apply() 257 stopT = 1; in apply() 261 fTrimEffect->setStop(stopT); in apply()
|
/external/skia/modules/skottie/src/ |
D | SkottieAdapter.cpp | 245 stopT = SkTMax(start, end) + offset; in apply() local 248 if (stopT - startT < 1) { in apply() 250 stopT -= SkScalarFloorToScalar(stopT); in apply() 252 if (startT > stopT) { in apply() 254 swap(startT, stopT); in apply() 259 stopT = 1; in apply() 263 fTrimEffect->setStop(stopT); in apply()
|
/external/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 | 388 bool ApplyTrim(SkPath& path, SkScalar startT, SkScalar stopT, bool isComplement) { in ApplyTrim() argument 390 auto pe = SkTrimPathEffect::Make(startT, stopT, mode); in ApplyTrim()
|
/external/skqp/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 | 388 bool ApplyTrim(SkPath& path, SkScalar startT, SkScalar stopT, bool isComplement) { in ApplyTrim() argument 390 auto pe = SkTrimPathEffect::Make(startT, stopT, mode); in ApplyTrim()
|
/external/skia/include/effects/ |
D | SkTrimPathEffect.h | 38 static sk_sp<SkPathEffect> Make(SkScalar startT, SkScalar stopT, Mode = Mode::kNormal);
|
/external/skqp/include/effects/ |
D | SkTrimPathEffect.h | 38 static sk_sp<SkPathEffect> Make(SkScalar startT, SkScalar stopT, Mode = Mode::kNormal);
|
/external/skia/modules/canvaskit/ |
D | interface.js | 351 CanvasKit.SkPath.prototype.trim = function(startT, stopT, isComplement) { argument 352 if (this._trim(startT, stopT, !!isComplement)) {
|
D | canvaskit_bindings.cpp | 443 bool ApplyTrim(SkPath& path, SkScalar startT, SkScalar stopT, bool isComplement) { in ApplyTrim() argument 445 auto pe = SkTrimPathEffect::Make(startT, stopT, mode); in ApplyTrim()
|
/external/skqp/experimental/canvaskit/ |
D | interface.js | 352 CanvasKit.SkPath.prototype.trim = function(startT, stopT, isComplement) { argument 353 if (this._trim(startT, stopT, !!isComplement)) {
|
D | canvaskit_bindings.cpp | 423 bool ApplyTrim(SkPath& path, SkScalar startT, SkScalar stopT, bool isComplement) { in ApplyTrim() argument 425 auto pe = SkTrimPathEffect::Make(startT, stopT, mode); in ApplyTrim()
|
/external/skia/site/user/modules/ |
D | pathkit.md | 693 #### `trim(startT, stopT, isComplement=false)` #### 694 **startT, stopT** - `Number`, values in [0, 1] that indicate the start and stop 697 be drawn instead of the areas between **startT** and **stopT**.
|
/external/skqp/site/user/modules/ |
D | pathkit.md | 694 #### `trim(startT, stopT, isComplement=false)` #### 695 **startT, stopT** - `Number`, values in [0, 1] that indicate the start and stop 698 be drawn instead of the areas between **startT** and **stopT**.
|