Lines Matching refs:perimeter

100 static void getFillVerticesFromPerimeter(const SkTArray<Vertex, true>& perimeter, VertexBuffer* ver…  in getFillVerticesFromPerimeter()  argument
101 Vertex* buffer = vertexBuffer->alloc<Vertex>(perimeter.count()); in getFillVerticesFromPerimeter()
107 int srcBindex = perimeter.count() - 1; in getFillVerticesFromPerimeter()
109 copyVertex(&buffer[currentIndex++], &perimeter[srcAindex]); in getFillVerticesFromPerimeter()
111 copyVertex(&buffer[currentIndex++], &perimeter[srcBindex]); in getFillVerticesFromPerimeter()
117 static void getStrokeVerticesFromPerimeter(const SkTArray<Vertex, true>& perimeter, float halfStrok… in getStrokeVerticesFromPerimeter() argument
119 Vertex* buffer = vertexBuffer->alloc<Vertex>(perimeter.count() * 2 + 2); in getStrokeVerticesFromPerimeter()
122 const Vertex* last = &(perimeter[perimeter.count() - 1]); in getStrokeVerticesFromPerimeter()
123 const Vertex* current = &(perimeter[0]); in getStrokeVerticesFromPerimeter()
128 for (int i = 0; i < perimeter.count(); i++) { in getStrokeVerticesFromPerimeter()
129 const Vertex* next = &(perimeter[i + 1 >= perimeter.count() ? 0 : i + 1]); in getStrokeVerticesFromPerimeter()
206 static void getFillVerticesFromPerimeterAA(const SkTArray<Vertex, true>& perimeter, VertexBuffer* v… in getFillVerticesFromPerimeterAA() argument
208 AlphaVertex* buffer = vertexBuffer->alloc<AlphaVertex>(perimeter.count() * 3 + 2); in getFillVerticesFromPerimeterAA()
213 const Vertex* last = &(perimeter[perimeter.count() - 1]); in getFillVerticesFromPerimeterAA()
214 const Vertex* current = &(perimeter[0]); in getFillVerticesFromPerimeterAA()
219 for (int i = 0; i < perimeter.count(); i++) { in getFillVerticesFromPerimeterAA()
220 const Vertex* next = &(perimeter[i + 1 >= perimeter.count() ? 0 : i + 1]); in getFillVerticesFromPerimeterAA()
254 int srcBindex = perimeter.count() - 1; in getFillVerticesFromPerimeterAA()
430 static void getStrokeVerticesFromPerimeterAA(const SkTArray<Vertex, true>& perimeter, float halfStr… in getStrokeVerticesFromPerimeterAA() argument
432 AlphaVertex* buffer = vertexBuffer->alloc<AlphaVertex>(6 * perimeter.count() + 8); in getStrokeVerticesFromPerimeterAA()
443 int offset = 2 * perimeter.count() + 3; in getStrokeVerticesFromPerimeterAA()
448 const Vertex* last = &(perimeter[perimeter.count() - 1]); in getStrokeVerticesFromPerimeterAA()
449 const Vertex* current = &(perimeter[0]); in getStrokeVerticesFromPerimeterAA()
454 for (int i = 0; i < perimeter.count(); i++) { in getStrokeVerticesFromPerimeterAA()
455 const Vertex* next = &(perimeter[i + 1 >= perimeter.count() ? 0 : i + 1]); in getStrokeVerticesFromPerimeterAA()