Lines Matching refs:lastNormal
218 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()
355 Vector2 lastNormal = {current->y - last->y, last->x - current->x}; in getFillVerticesFromPerimeterAA() local
356 lastNormal.normalize(); in getFillVerticesFromPerimeterAA()
365 paintInfo.deriveAAOffset(totalOffsetFromNormals(lastNormal, nextNormal)); in getFillVerticesFromPerimeterAA()
373 lastNormal = nextNormal; in getFillVerticesFromPerimeterAA()
578 Vector2 lastNormal = {current->y - last->y, last->x - current->x}; in getStrokeVerticesFromUnclosedVerticesAA() local
579 lastNormal.normalize(); in getStrokeVerticesFromUnclosedVerticesAA()
582 storeCapAA(paintInfo, vertices, buffer, true, lastNormal, offset); in getStrokeVerticesFromUnclosedVerticesAA()
589 Vector2 totalOffset = totalOffsetFromNormals(lastNormal, nextNormal); in getStrokeVerticesFromUnclosedVerticesAA()
613 lastNormal = nextNormal; in getStrokeVerticesFromUnclosedVerticesAA()
617 storeCapAA(paintInfo, vertices, buffer, false, lastNormal, offset); in getStrokeVerticesFromUnclosedVerticesAA()
634 Vector2 lastNormal = {current->y - last->y, last->x - current->x}; in getStrokeVerticesFromPerimeterAA() local
635 lastNormal.normalize(); in getStrokeVerticesFromPerimeterAA()
641 Vector2 totalOffset = totalOffsetFromNormals(lastNormal, nextNormal); in getStrokeVerticesFromPerimeterAA()
665 lastNormal = nextNormal; in getStrokeVerticesFromPerimeterAA()