Lines Matching refs:cell
394 auto cell = rw.yCells[y]; in _sweep() local
396 while (cell) { in _sweep()
397 … if (cell->x > x && cover != 0) _horizLine(rw, x, y, cover * (ONE_PIXEL * 2), cell->x - x); in _sweep()
398 cover += cell->cover; in _sweep()
399 auto area = cover * (ONE_PIXEL * 2) - cell->area; in _sweep()
400 if (area != 0 && cell->x >= 0) _horizLine(rw, cell->x, y, area, 1); in _sweep()
401 x = cell->x + 1; in _sweep()
402 cell = cell->next; in _sweep()
418 Cell* cell = *pcell; in _findCell() local
419 if (!cell || cell->x > x) break; in _findCell()
420 if (cell->x == x) return cell; in _findCell()
421 pcell = &cell->next; in _findCell()
426 auto cell = rw.cells + rw.cellsCnt++; in _findCell() local
427 cell->x = x; in _findCell()
428 cell->area = 0; in _findCell()
429 cell->cover = 0; in _findCell()
430 cell->next = *pcell; in _findCell()
431 *pcell = cell; in _findCell()
433 return cell; in _findCell()
440 auto cell = _findCell(rw); in _recordCell() local
441 cell->area += rw.area; in _recordCell()
442 cell->cover += rw.cover; in _recordCell()