Home
last modified time | relevance | path

Searched refs:intervalLength (Results 1 – 10 of 10) sorted by relevance

/external/skia/src/utils/
DSkDashPath.cpp40 SkScalar* intervalLength, SkScalar* adjustedPhase) { in CalcDashParameters() argument
45 *intervalLength = len; in CalcDashParameters()
98 static bool clip_line(SkPoint pts[2], const SkRect& bounds, SkScalar intervalLength, in clip_line() argument
128 minXY = leftTop - SkScalarMod(leftTop - minXY, intervalLength); in clip_line()
134 maxXY = rightBottom + SkScalarMod(maxXY - rightBottom, intervalLength); in clip_line()
174 const SkRect* cullRect, SkScalar intervalLength, in cull_path() argument
203 if (clip_line(pts, bounds, intervalLength, in cull_path()
204 SkScalarMod(priorLength, intervalLength))) { in cull_path()
217 if (!clip_line(pts, bounds, intervalLength, 0)) { in cull_path()
229 int intervalCount, SkScalar intervalLength) { in init() argument
[all …]
DSkDashPathPriv.h24 SkScalar* intervalLength, SkScalar* adjustedPhase = nullptr);
46 SkScalar intervalLength,
/external/skqp/src/utils/
DSkDashPath.cpp40 SkScalar* intervalLength, SkScalar* adjustedPhase) { in CalcDashParameters() argument
45 *intervalLength = len; in CalcDashParameters()
98 static bool clip_line(SkPoint pts[2], const SkRect& bounds, SkScalar intervalLength, in clip_line() argument
128 minXY = leftTop - SkScalarMod(leftTop - minXY, intervalLength); in clip_line()
134 maxXY = rightBottom + SkScalarMod(maxXY - rightBottom, intervalLength); in clip_line()
174 const SkRect* cullRect, SkScalar intervalLength, in cull_path() argument
203 if (clip_line(pts, bounds, intervalLength, in cull_path()
204 SkScalarMod(priorLength, intervalLength))) { in cull_path()
217 if (!clip_line(pts, bounds, intervalLength, 0)) { in cull_path()
229 int intervalCount, SkScalar intervalLength) { in init() argument
[all …]
DSkDashPathPriv.h24 SkScalar* intervalLength, SkScalar* adjustedPhase = nullptr);
46 SkScalar intervalLength,
/external/skqp/src/effects/
DSkDashPathEffect.cpp64 const SkScalar intervalLength) { in cull_line() argument
111 minX = bounds.fLeft - SkScalarMod(bounds.fLeft - minX, intervalLength); in cull_line()
114 maxX = bounds.fRight + SkScalarMod(maxX - bounds.fRight, intervalLength); in cull_line()
144 minY = bounds.fTop - SkScalarMod(bounds.fTop - minY, intervalLength); in cull_line()
147 maxY = bounds.fBottom + SkScalarMod(maxY - bounds.fBottom, intervalLength); in cull_line()
/external/skia/src/effects/
DSkDashPathEffect.cpp64 const SkScalar intervalLength) { in cull_line() argument
111 minX = bounds.fLeft - SkScalarMod(bounds.fLeft - minX, intervalLength); in cull_line()
114 maxX = bounds.fRight + SkScalarMod(maxX - bounds.fRight, intervalLength); in cull_line()
144 minY = bounds.fTop - SkScalarMod(bounds.fTop - minY, intervalLength); in cull_line()
147 maxY = bounds.fBottom + SkScalarMod(maxY - bounds.fBottom, intervalLength); in cull_line()
/external/skqp/src/gpu/
DGrStyle.cpp142 SkScalar intervalLength; in applyPathEffect() local
144 &initialIndex, &intervalLength); in applyPathEffect()
147 initialLength, initialIndex, intervalLength, in applyPathEffect()
/external/skia/src/gpu/
DGrStyle.cpp142 SkScalar intervalLength; in applyPathEffect() local
144 &initialIndex, &intervalLength); in applyPathEffect()
147 initialLength, initialIndex, intervalLength, in applyPathEffect()
/external/skqp/src/gpu/ops/
DGrDashOp.cpp157 SkScalar intervalLength = startInterval + endInterval; in setup_dashed_rect() local
167 intervalLength, in setup_dashed_rect()
180 intervalLength, in setup_dashed_rect()
/external/skia/src/gpu/ops/
DGrDashOp.cpp157 SkScalar intervalLength = startInterval + endInterval; in setup_dashed_rect() local
167 intervalLength, in setup_dashed_rect()
180 intervalLength, in setup_dashed_rect()