Lines Matching refs:last
19 SkEdgeBuilder::Combine SkBasicEdgeBuilder::combineVertical(const SkEdge* edge, SkEdge* last) { in combineVertical() argument
20 if (last->fCurveCount || last->fDX || edge->fX != last->fX) { in combineVertical()
23 if (edge->fWinding == last->fWinding) { in combineVertical()
24 if (edge->fLastY + 1 == last->fFirstY) { in combineVertical()
25 last->fFirstY = edge->fFirstY; in combineVertical()
28 if (edge->fFirstY == last->fLastY + 1) { in combineVertical()
29 last->fLastY = edge->fLastY; in combineVertical()
34 if (edge->fFirstY == last->fFirstY) { in combineVertical()
35 if (edge->fLastY == last->fLastY) { in combineVertical()
38 if (edge->fLastY < last->fLastY) { in combineVertical()
39 last->fFirstY = edge->fLastY + 1; in combineVertical()
42 last->fFirstY = last->fLastY + 1; in combineVertical()
43 last->fLastY = edge->fLastY; in combineVertical()
44 last->fWinding = edge->fWinding; in combineVertical()
47 if (edge->fLastY == last->fLastY) { in combineVertical()
48 if (edge->fFirstY > last->fFirstY) { in combineVertical()
49 last->fLastY = edge->fFirstY - 1; in combineVertical()
52 last->fLastY = last->fFirstY - 1; in combineVertical()
53 last->fFirstY = edge->fFirstY; in combineVertical()
54 last->fWinding = edge->fWinding; in combineVertical()
61 SkAnalyticEdge* last) { in combineVertical() argument
66 if (last->fCurveCount || last->fDX || edge->fX != last->fX) { in combineVertical()
69 if (edge->fWinding == last->fWinding) { in combineVertical()
70 if (edge->fLowerY == last->fUpperY) { in combineVertical()
71 last->fUpperY = edge->fUpperY; in combineVertical()
72 last->fY = last->fUpperY; in combineVertical()
75 if (approximately_equal(edge->fUpperY, last->fLowerY)) { in combineVertical()
76 last->fLowerY = edge->fLowerY; in combineVertical()
81 if (approximately_equal(edge->fUpperY, last->fUpperY)) { in combineVertical()
82 if (approximately_equal(edge->fLowerY, last->fLowerY)) { in combineVertical()
85 if (edge->fLowerY < last->fLowerY) { in combineVertical()
86 last->fUpperY = edge->fLowerY; in combineVertical()
87 last->fY = last->fUpperY; in combineVertical()
90 last->fUpperY = last->fLowerY; in combineVertical()
91 last->fY = last->fUpperY; in combineVertical()
92 last->fLowerY = edge->fLowerY; in combineVertical()
93 last->fWinding = edge->fWinding; in combineVertical()
96 if (approximately_equal(edge->fLowerY, last->fLowerY)) { in combineVertical()
97 if (edge->fUpperY > last->fUpperY) { in combineVertical()
98 last->fLowerY = edge->fUpperY; in combineVertical()
101 last->fLowerY = last->fUpperY; in combineVertical()
102 last->fUpperY = edge->fUpperY; in combineVertical()
103 last->fY = last->fUpperY; in combineVertical()
104 last->fWinding = edge->fWinding; in combineVertical()