Home
last modified time | relevance | path

Searched refs:halfStrokeWidth (Results 1 – 2 of 2) sorted by relevance

/external/skia/experimental/AndroidPathRenderer/
DAndroidPathRenderer.cpp89 inline void scaleOffsetForStrokeWidth(SkVector& offset, float halfStrokeWidth, in scaleOffsetForStrokeWidth() argument
91 if (halfStrokeWidth == 0.0f) { in scaleOffsetForStrokeWidth()
96 offset.scale(halfStrokeWidth); in scaleOffsetForStrokeWidth()
117 …void getStrokeVerticesFromPerimeter(const SkTArray<Vertex, true>& perimeter, float halfStrokeWidth, in getStrokeVerticesFromPerimeter() argument
136 scaleOffsetForStrokeWidth(totalOffset, halfStrokeWidth, inverseScaleX, inverseScaleY); in getStrokeVerticesFromPerimeter()
156 …etStrokeVerticesFromUnclosedVertices(const SkTArray<Vertex, true>& vertices, float halfStrokeWidth, in getStrokeVerticesFromUnclosedVertices() argument
176 scaleOffsetForStrokeWidth(totalOffset, halfStrokeWidth, inverseScaleX, inverseScaleY); in getStrokeVerticesFromUnclosedVertices()
191 scaleOffsetForStrokeWidth(totalOffset, halfStrokeWidth, inverseScaleX, inverseScaleY); in getStrokeVerticesFromUnclosedVertices()
271 …StrokeVerticesFromUnclosedVerticesAA(const SkTArray<Vertex, true>& vertices, float halfStrokeWidth, in getStrokeVerticesFromUnclosedVerticesAA() argument
278 if (halfStrokeWidth != 0 && inverseScaleX == inverseScaleY && in getStrokeVerticesFromUnclosedVerticesAA()
[all …]
/external/skia/src/gpu/effects/
DGrDashingEffect.cpp617 SkScalar halfStrokeWidth = 0.5f * geometry.fSrcStrokeWidth; in DashBatch() local
618 SkScalar xBloat = SkPaint::kButt_Cap == cap ? 0 : halfStrokeWidth; in DashBatch()
620 fBounds.outset(xBloat, halfStrokeWidth); in DashBatch()