| 168 | |
| 169 | |
| 170 | void FillScan(ILint scan, Edge *active) |
| 171 | { |
| 172 | Edge *p1, *p2; |
| 173 | ILint i; |
| 174 | |
| 175 | p1 = active->next; |
| 176 | while (p1) { |
| 177 | p2 = p1->next; |
| 178 | for (i = (ILuint)p1->xIntersect; i < p2->xIntersect; i++) { |
| 179 | iRegionSetPixel((ILuint)i, scan); |
| 180 | } |
| 181 | p1 = p2->next; |
| 182 | } |
| 183 | } |
| 184 | |
| 185 | |
| 186 | void DeleteAfter(Edge *q) |