Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DPathTessellator.cpp218 Vector2 lastNormal = {current->y - last->y, last->x - current->x}; in getStrokeVerticesFromPerimeter() local
219 lastNormal.normalize(); in getStrokeVerticesFromPerimeter()
225 Vector2 totalOffset = totalOffsetFromNormals(lastNormal, nextNormal); in getStrokeVerticesFromPerimeter()
235 lastNormal = nextNormal; in getStrokeVerticesFromPerimeter()
309 Vector2 lastNormal = {current->y - last->y, last->x - current->x}; in getStrokeVerticesFromUnclosedVertices() local
310 lastNormal.normalize(); in getStrokeVerticesFromUnclosedVertices()
312 storeBeginEnd(paintInfo, vertices[0], lastNormal, buffer, currentIndex, true); in getStrokeVerticesFromUnclosedVertices()
319 Vector2 strokeOffset = totalOffsetFromNormals(lastNormal, nextNormal); in getStrokeVerticesFromUnclosedVertices()
327 lastNormal = nextNormal; in getStrokeVerticesFromUnclosedVertices()
330 storeBeginEnd(paintInfo, vertices[lastIndex], lastNormal, buffer, currentIndex, false); in getStrokeVerticesFromUnclosedVertices()
[all …]