Lines Matching refs:contours

22  * 1) Linearize the path contours into piecewise linear segments (path_to_contours()).
32 * 5b) Apply fill rules to extract boundary contours from the polygons (extract_boundaries()).
133 * Vertices are used in three ways: first, the path contours are converted into a
136 * in Y) using the same fPrev/fNext pointers that were used for the contours, to avoid
156 Vertex* fPrev; // Linked list of contours, then Y-sorted vertices.
685 // Stage 1: convert the input path to a set of linear contours (linked list of Vertices).
688 VertexList* contours, SkArenaAlloc& alloc, bool *isLinear) {
693 VertexList* contour = contours;
699 append_point_to_contour(quad[i], contours, alloc);
1129 void sanitize_contours(VertexList* contours, int contourCnt, bool approximate) {
1130 for (VertexList* contour = contours; contourCnt > 0; --contourCnt, ++contour) {
1165 // Stage 2: convert the contours to a mesh of edges connecting the vertices.
1167 void build_edges(VertexList* contours, int contourCnt, VertexList* mesh, Comparator& c,
1169 for (VertexList* contour = contours; contourCnt > 0; --contourCnt, ++contour) {
1668 void contours_to_mesh(VertexList* contours, int contourCnt, bool antialias,
1672 Vertex* v = contours[i].fHead;
1680 sanitize_contours(contours, contourCnt, antialias);
1681 build_edges(contours, contourCnt, mesh, c, alloc);
1703 Poly* contours_to_polys(VertexList* contours, int contourCnt, SkPath::FillType fillType,
1709 contours_to_mesh(contours, contourCnt, antialias, &mesh, c, alloc);
1755 std::unique_ptr<VertexList[]> contours(new VertexList[contourCnt]);
1757 path_to_contours(path, tolerance, clipBounds, contours.get(), alloc, isLinear);
1758 return contours_to_polys(contours.get(), contourCnt, path.getFillType(), path.getBounds(),