Home | History | Annotate | Download | only in core

Lines Matching refs:index0

88     int index0, index1;
91 index0 = 0;
94 index0 = 1;
102 if (tmp[index0].fY < clip.fTop) {
103 tmp[index0].set(sect_with_horizontal(src, clip.fTop), clip.fTop);
110 index0 = 0;
113 index0 = 1;
118 if ((tmp[index1].fX <= clip.fLeft || tmp[index0].fX >= clip.fRight) &&
119 tmp[index0].fX < tmp[index1].fX) {
124 if (tmp[index0].fX < clip.fLeft) {
125 tmp[index0].set(clip.fLeft, sect_with_vertical(src, clip.fLeft));
153 int index0, index1;
156 index0 = 0;
159 index0 = 1;
168 if (pts[index0].fY >= clip.fBottom) { // we're below the clip
178 if (pts[index0].fY < clip.fTop) {
179 tmp[index0].set(sect_with_horizontal(pts, clip.fTop), clip.fTop);
180 SkASSERT(is_between_unsorted(tmp[index0].fX, pts[0].fX, pts[1].fX));
196 index0 = 0;
200 index0 = 1;
209 } else if (tmp[index0].fX >= clip.fRight) { // wholly to the right
217 if (tmp[index0].fX < clip.fLeft) {
218 r->set(clip.fLeft, tmp[index0].fY);
223 *r = tmp[index0];