Lines Matching refs:last

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