Home
last modified time | relevance | path

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

/external/skia/experimental/AndroidPathRenderer/
DAndroidPathRenderer.cpp130 SkVector nextNormal; in getStrokeVerticesFromPerimeter() local
131 nextNormal.set(next->position[1] - current->position[1], in getStrokeVerticesFromPerimeter()
133 nextNormal.normalize(); in getStrokeVerticesFromPerimeter()
135 SkVector totalOffset = totalOffsetFromNormals(lastNormal, nextNormal); in getStrokeVerticesFromPerimeter()
148 lastNormal = nextNormal; in getStrokeVerticesFromPerimeter()
165 SkVector nextNormal; in getStrokeVerticesFromUnclosedVertices() local
166 nextNormal.set(next->position[1] - current->position[1], in getStrokeVerticesFromUnclosedVertices()
168 nextNormal.normalize(); in getStrokeVerticesFromUnclosedVertices()
172 totalOffset = nextNormal; in getStrokeVerticesFromUnclosedVertices()
174 totalOffset = totalOffsetFromNormals(lastNormal, nextNormal); in getStrokeVerticesFromUnclosedVertices()
[all …]