• Home
  • Raw
  • Download

Lines Matching refs:fHead

230     VertexList() : fHead(nullptr), fTail(nullptr) {}  in VertexList()
231 VertexList(Vertex* head, Vertex* tail) : fHead(head), fTail(tail) {} in VertexList()
232 Vertex* fHead; member
235 list_insert<Vertex, &Vertex::fPrev, &Vertex::fNext>(v, prev, next, &fHead, &fTail); in insert()
241 if (!list.fHead) { in append()
245 fTail->fNext = list.fHead; in append()
246 list.fHead->fPrev = fTail; in append()
248 fHead = list.fHead; in append()
253 insert(v, nullptr, fHead); in prepend()
256 list_remove<Vertex, &Vertex::fPrev, &Vertex::fNext>(v, &fHead, &fTail); in remove()
259 if (fHead && fTail) { in close()
260 fTail->fNext = fHead; in close()
261 fHead->fPrev = fTail; in close()
459 EdgeList() : fHead(nullptr), fTail(nullptr) {} in EdgeList()
460 Edge* fHead; member
463 list_insert<Edge, &Edge::fLeft, &Edge::fRight>(edge, prev, next, &fHead, &fTail); in insert()
469 list_remove<Edge, &Edge::fLeft, &Edge::fRight>(edge, &fHead, &fTail); in remove()
472 while (fHead) { in removeAll()
473 this->remove(fHead); in removeAll()
477 if (fHead && fTail) { in close()
478 fTail->fRight = fHead; in close()
479 fHead->fLeft = fTail; in close()
483 return edge->fLeft || edge->fRight || fHead == edge; in contains()
564 , fHead(nullptr) in Poly()
620 Vertex* first = vertices.fHead; in emit()
669 fHead = fTail = alloc.make<MonotonePoly>(e, side); in addEdge()
697 for (MonotonePoly* m = fHead; m != nullptr; m = m->fNext) { in emit()
705 MonotonePoly* fHead; member
834 if (contour->fHead) { in path_to_contours()
898 Edge* next = prev ? prev->fRight : edges->fHead; in insert_edge()
1196 Vertex* nextV = prevV ? prevV->fNext : mesh->fHead; in create_sorted_vertex()
1210 v->fID = mesh->fHead->fID - 1.0f; in create_sorted_vertex()
1308 SkASSERT(contour->fHead); in sanitize_contours()
1313 for (Vertex* v = contour->fHead; v;) { in sanitize_contours()
1318 Vertex* nextWrap = next ? next : contour->fHead; in sanitize_contours()
1337 if (!mesh->fHead) { in merge_coincident_vertices()
1341 for (Vertex* v = mesh->fHead->fNext; v;) { in merge_coincident_vertices()
1361 for (Vertex* v = contour->fHead; v;) { in build_edges()
1372 for (Vertex* outer = mesh->fHead; outer; outer = outer->fNext) { in connect_partners()
1387 Vertex* a = front->fHead; in sorted_merge()
1388 Vertex* b = back->fHead; in sorted_merge()
1393 a = front->fHead; in sorted_merge()
1397 b = back->fHead; in sorted_merge()
1412 for (Vertex* v = result->fHead; v; v = v->fNext) { in sorted_merge()
1422 Vertex* slow = vertices->fHead; in merge_sort()
1437 VertexList front(vertices->fHead, slow); in merge_sort()
1439 front.fTail->fNext = back.fHead->fPrev = nullptr; in merge_sort()
1444 vertices->fHead = vertices->fTail = nullptr; in merge_sort()
1450 for (Vertex* v = mesh.fHead; v; v = v->fNext) { in dump_mesh()
1510 Edge* left = edges->fHead; in validate_edge_list()
1531 for (Vertex* v = mesh->fHead; v != nullptr; v = v->fNext) { in simplify()
1578 SkASSERT(!activeEdges.fHead && !activeEdges.fTail); in simplify()
1588 for (Vertex* v = vertices.fHead; v != nullptr; v = v->fNext) { in tessellate()
1682 for (Edge* e = activeEdges.fHead; e != nullptr; e = e->fRight) { in tessellate()
1695 for (Vertex* v = mesh.fHead; v != nullptr; v = v->fNext) { in remove_non_boundary_edges()
1739 for (Edge* e = boundary->fHead; e != nullptr;) { in simplify_boundary()
1751 e = boundary->fHead; in simplify_boundary()
1770 e = boundary->fHead; // join->fLeft ? join->fLeft : join; in simplify_boundary()
1865 for (Vertex* v = mesh->fHead; v != nullptr; v = v->fNext) { in collapse_overlap_regions()
1955 if (!boundary->fHead || !boundary->fHead->fRight || !boundary->fHead->fRight->fRight) { in stroke_boundary()
1971 for (Edge* e = boundary->fHead; e != nullptr; e = e->fRight) { in stroke_boundary()
2084 if (!inversion(innerVertices.fTail, innerVertices.fHead, prevEdge, c)) { in stroke_boundary()
2087 if (!inversion(outerVertices.fTail, outerVertices.fHead, prevEdge, c)) { in stroke_boundary()
2097 for (Vertex* v = innerVertices.fHead; v && v->fNext; v = v->fNext) { in stroke_boundary()
2100 connect(innerVertices.fTail, innerVertices.fHead, Edge::Type::kInner, c, alloc, innerWinding); in stroke_boundary()
2101 for (Vertex* v = outerVertices.fHead; v && v->fNext; v = v->fNext) { in stroke_boundary()
2104 connect(outerVertices.fTail, outerVertices.fHead, Edge::Type::kOuter, c, alloc, outerWinding); in stroke_boundary()
2149 for (Vertex* v = inMesh.fHead; v; v = v->fNext) { in extract_boundaries()
2165 Vertex* v = contours[i].fHead; in contours_to_mesh()
2178 if (!vertices || !vertices->fHead) { in sort_mesh()
2189 for (Vertex* v = vertices->fHead; v != nullptr; v = v->fNext) { in sort_mesh()
2239 outerMesh->fHead = outerMesh->fTail = nullptr; in contours_to_polys()
2295 for (Vertex* v = outerMesh.fHead; v; v = v->fNext) { in count_outer_mesh_points()
2304 for (Vertex* v = outerMesh.fHead; v; v = v->fNext) { in outer_mesh_to_triangles()