Searched refs:lastNormal (Results 1 – 1 of 1) sorted by relevance
/frameworks/base/libs/hwui/ |
D | PathTessellator.cpp | 195 vec2 lastNormal(current->position[1] - last->position[1], in getStrokeVerticesFromPerimeter() local 197 lastNormal.normalize(); in getStrokeVerticesFromPerimeter() 204 vec2 totalOffset = totalOffsetFromNormals(lastNormal, nextNormal); in getStrokeVerticesFromPerimeter() 217 lastNormal = nextNormal; in getStrokeVerticesFromPerimeter() 293 vec2 lastNormal(current->position[1] - last->position[1], in getStrokeVerticesFromUnclosedVertices() local 295 lastNormal.normalize(); in getStrokeVerticesFromUnclosedVertices() 297 storeBeginEnd(paintInfo, vertices[0], lastNormal, buffer, currentIndex, true); in getStrokeVerticesFromUnclosedVertices() 305 vec2 strokeOffset = totalOffsetFromNormals(lastNormal, nextNormal); in getStrokeVerticesFromUnclosedVertices() 313 lastNormal = nextNormal; in getStrokeVerticesFromUnclosedVertices() 316 storeBeginEnd(paintInfo, vertices[lastIndex], lastNormal, buffer, currentIndex, false); in getStrokeVerticesFromUnclosedVertices() [all …]
|