Searched refs:lastNormal (Results 1 – 1 of 1) sorted by relevance
/frameworks/base/libs/hwui/ |
D | PathTessellator.cpp | 215 Vector2 lastNormal = {current->y - last->y, last->x - current->x}; in getStrokeVerticesFromPerimeter() local 216 lastNormal.normalize(); in getStrokeVerticesFromPerimeter() 222 Vector2 totalOffset = totalOffsetFromNormals(lastNormal, nextNormal); in getStrokeVerticesFromPerimeter() 234 lastNormal = nextNormal; in getStrokeVerticesFromPerimeter() 310 Vector2 lastNormal = {current->y - last->y, last->x - current->x}; in getStrokeVerticesFromUnclosedVertices() local 311 lastNormal.normalize(); in getStrokeVerticesFromUnclosedVertices() 313 storeBeginEnd(paintInfo, vertices[0], lastNormal, buffer, currentIndex, true); in getStrokeVerticesFromUnclosedVertices() 320 Vector2 strokeOffset = totalOffsetFromNormals(lastNormal, nextNormal); in getStrokeVerticesFromUnclosedVertices() 328 lastNormal = nextNormal; in getStrokeVerticesFromUnclosedVertices() 331 storeBeginEnd(paintInfo, vertices[lastIndex], lastNormal, buffer, currentIndex, false); in getStrokeVerticesFromUnclosedVertices() [all …]
|