/external/skia/src/utils/ |
D | SkDashPath.cpp | 41 SkScalar* intervalLength, SkScalar* adjustedPhase) { in CalcDashParameters() argument 46 *intervalLength = len; in CalcDashParameters() 99 static bool clip_line(SkPoint pts[2], const SkRect& bounds, SkScalar intervalLength, in clip_line() argument 129 minXY = leftTop - SkScalarMod(leftTop - minXY, intervalLength); in clip_line() 135 maxXY = rightBottom + SkScalarMod(maxXY - rightBottom, intervalLength); in clip_line() 159 const SkRect* cullRect, SkScalar intervalLength, SkPath* dstPath) { in cull_path() argument 178 if (clip_line(pts, bounds, intervalLength, 0)) { in cull_path() 200 if (clip_line(pts, bounds, intervalLength, std::fmod(accum, intervalLength))) { in cull_path() 223 int intervalCount, SkScalar intervalLength) { in init() argument 249 SkScalar ptCount = pathLength * intervalCount / (float)intervalLength; in init() [all …]
|
D | SkDashPathPriv.h | 24 SkScalar* intervalLength, SkScalar* adjustedPhase = nullptr); 46 SkScalar intervalLength,
|
/external/skqp/src/utils/ |
D | SkDashPath.cpp | 40 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 …]
|
D | SkDashPathPriv.h | 24 SkScalar* intervalLength, SkScalar* adjustedPhase = nullptr); 46 SkScalar intervalLength,
|
/external/skqp/src/effects/ |
D | SkDashPathEffect.cpp | 64 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/ |
D | SkDashPathEffect.cpp | 64 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/ |
D | GrStyle.cpp | 142 SkScalar intervalLength; in applyPathEffect() local 144 &initialIndex, &intervalLength); in applyPathEffect() 147 initialLength, initialIndex, intervalLength, in applyPathEffect()
|
/external/skia/src/gpu/ |
D | GrStyle.cpp | 142 SkScalar intervalLength; in applyPathEffect() local 144 &initialIndex, &intervalLength); in applyPathEffect() 147 initialLength, initialIndex, intervalLength, in applyPathEffect()
|
/external/skqp/src/gpu/ops/ |
D | GrDashOp.cpp | 157 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/ |
D | GrDashOp.cpp | 165 SkScalar intervalLength = startInterval + endInterval; in setup_dashed_rect() local 179 intervalLength, in setup_dashed_rect() 192 intervalLength, in setup_dashed_rect()
|