MCPcopy Create free account
hub / github.com/DentonW/DevIL / FillScan

Function FillScan

DevIL/src-ILU/src/ilu_region.cpp:170–183  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

168
169
170void 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
186void DeleteAfter(Edge *q)

Callers 1

iScanFillFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected