Lines Matching refs:lastNormal
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()
356 Vector2 lastNormal = {current->y - last->y, last->x - current->x}; in getFillVerticesFromPerimeterAA() local
357 lastNormal.normalize(); in getFillVerticesFromPerimeterAA()
365 … Vector2 totalOffset = paintInfo.deriveAAOffset(totalOffsetFromNormals(lastNormal, nextNormal)); in getFillVerticesFromPerimeterAA()
377 lastNormal = nextNormal; in getFillVerticesFromPerimeterAA()
593 Vector2 lastNormal = {current->y - last->y, last->x - current->x}; in getStrokeVerticesFromUnclosedVerticesAA() local
594 lastNormal.normalize(); in getStrokeVerticesFromUnclosedVerticesAA()
597 storeCapAA(paintInfo, vertices, buffer, true, lastNormal, offset); in getStrokeVerticesFromUnclosedVerticesAA()
604 Vector2 totalOffset = totalOffsetFromNormals(lastNormal, nextNormal); in getStrokeVerticesFromUnclosedVerticesAA()
640 lastNormal = nextNormal; in getStrokeVerticesFromUnclosedVerticesAA()
644 storeCapAA(paintInfo, vertices, buffer, false, lastNormal, offset); in getStrokeVerticesFromUnclosedVerticesAA()
661 Vector2 lastNormal = {current->y - last->y, last->x - current->x}; in getStrokeVerticesFromPerimeterAA() local
662 lastNormal.normalize(); in getStrokeVerticesFromPerimeterAA()
668 Vector2 totalOffset = totalOffsetFromNormals(lastNormal, nextNormal); in getStrokeVerticesFromPerimeterAA()
704 lastNormal = nextNormal; in getStrokeVerticesFromPerimeterAA()