Lines Matching refs:Vertex
65 inline void copyVertex(Vertex* destPtr, const Vertex* srcPtr) { in copyVertex()
66 Vertex::set(destPtr, srcPtr->position[0], srcPtr->position[1]); in copyVertex()
100 static void getFillVerticesFromPerimeter(const SkTArray<Vertex, true>& perimeter, VertexBuffer* ver… in getFillVerticesFromPerimeter() argument
101 Vertex* buffer = vertexBuffer->alloc<Vertex>(perimeter.count()); 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()
129 const Vertex* next = &(perimeter[i + 1 >= perimeter.count() ? 0 : i + 1]); in getStrokeVerticesFromPerimeter()
138 Vertex::set(&buffer[currentIndex++], in getStrokeVerticesFromPerimeter()
142 Vertex::set(&buffer[currentIndex++], in getStrokeVerticesFromPerimeter()
156 static void getStrokeVerticesFromUnclosedVertices(const SkTArray<Vertex, true>& vertices, float hal… in getStrokeVerticesFromUnclosedVertices() argument
158 Vertex* buffer = vertexBuffer->alloc<Vertex>(vertices.count() * 2); in getStrokeVerticesFromUnclosedVertices()
161 const Vertex* current = &(vertices[0]); in getStrokeVerticesFromUnclosedVertices()
164 const Vertex* next = &(vertices[i + 1]); in getStrokeVerticesFromUnclosedVertices()
178 Vertex::set(&buffer[currentIndex++], in getStrokeVerticesFromUnclosedVertices()
182 Vertex::set(&buffer[currentIndex++], in getStrokeVerticesFromUnclosedVertices()
193 Vertex::set(&buffer[currentIndex++], in getStrokeVerticesFromUnclosedVertices()
196 Vertex::set(&buffer[currentIndex++], in getStrokeVerticesFromUnclosedVertices()
206 static void getFillVerticesFromPerimeterAA(const SkTArray<Vertex, true>& perimeter, VertexBuffer* v… in getFillVerticesFromPerimeterAA() argument
213 const Vertex* last = &(perimeter[perimeter.count() - 1]); in getFillVerticesFromPerimeterAA()
214 const Vertex* current = &(perimeter[0]); in getFillVerticesFromPerimeterAA()
220 const Vertex* next = &(perimeter[i + 1 >= perimeter.count() ? 0 : i + 1]); in getFillVerticesFromPerimeterAA()
271 static void getStrokeVerticesFromUnclosedVerticesAA(const SkTArray<Vertex, true>& vertices, float h… in getStrokeVerticesFromUnclosedVerticesAA() argument
290 const Vertex* last = &(vertices[0]); in getStrokeVerticesFromUnclosedVerticesAA()
291 const Vertex* current = &(vertices[1]); in getStrokeVerticesFromUnclosedVerticesAA()
336 const Vertex* next = &(vertices[i + 1]); in getStrokeVerticesFromUnclosedVerticesAA()
430 static void getStrokeVerticesFromPerimeterAA(const SkTArray<Vertex, true>& perimeter, float halfStr… in getStrokeVerticesFromPerimeterAA() argument
448 const Vertex* last = &(perimeter[perimeter.count() - 1]); in getStrokeVerticesFromPerimeterAA()
449 const Vertex* current = &(perimeter[0]); in getStrokeVerticesFromPerimeterAA()
455 const Vertex* next = &(perimeter[i + 1 >= perimeter.count() ? 0 : i + 1]); in getStrokeVerticesFromPerimeterAA()
531 SkTArray<Vertex, true> tempVertices; in ConvexPathVertices()
591 static void pushToVector(SkTArray<Vertex, true>* vertices, float x, float y) { in pushToVector() argument
594 Vertex* newVertex = &((*vertices)[vertices->count() - 1]); in pushToVector()
595 Vertex::set(newVertex, x, y); in pushToVector()
599 float sqrInvScaleX, float sqrInvScaleY, SkTArray<Vertex, true>* outputVertices) { in ConvexPathPerimeterVertices() argument
658 float sqrInvScaleX, float sqrInvScaleY, SkTArray<Vertex, true>* outputVertices) { in RecursiveCubicBezierVertices() argument
703 float sqrInvScaleX, float sqrInvScaleY, SkTArray<Vertex, true>* outputVertices) { in RecursiveQuadraticBezierVertices() argument