Lines Matching refs:poly
392 Poly* poly = this; in addVertex() local
409 poly = partner; in addVertex()
419 return poly; in addVertex()
457 Poly* poly = ALLOC_NEW(Poly, (winding), alloc); in new_poly() local
458 poly->addVertex(v, Poly::kNeither_Side, alloc); in new_poly()
459 poly->fNext = *head; in new_poly()
460 *head = poly; in new_poly()
461 return poly; in new_poly()
1271 Poly* poly = new_poly(&polys, v, winding, alloc); in tessellate() local
1272 leftEdge->fRightPoly = rightEdge->fLeftPoly = poly; in tessellate()
1363 for (Poly* poly = polys; poly; poly = poly->fNext) { in count_points() local
1364 if (apply_fill_type(fillType, poly->fWinding) && poly->fCount >= 3) { in count_points()
1365 count += (poly->fCount - 2) * (TESSELLATOR_WIREFRAME ? 6 : 3); in count_points()
1411 for (Poly* poly = polys; poly; poly = poly->fNext) { in PathToTriangles() local
1412 if (apply_fill_type(fillType, poly->fWinding)) { in PathToTriangles()
1413 end = poly->emit(end); in PathToTriangles()
1451 for (Poly* poly = polys; poly; poly = poly->fNext) { in PathToVertices() local
1452 if (apply_fill_type(fillType, poly->fWinding)) { in PathToVertices()
1454 pointsEnd = poly->emit(pointsEnd); in PathToVertices()
1457 vertsEnd->fWinding = poly->fWinding; in PathToVertices()