Home
last modified time | relevance | path

Searched refs:curCell (Results 1 – 1 of 1) sorted by relevance

/ohos5.0/foundation/graphic/graphic_utils_lite/frameworks/diagram/rasterizer/
H A Drasterizer_scanline_antialias.cpp41 const CellBuildAntiAlias* curCell = *cells; in SweepScanline() local
42 if (curCell == nullptr) { in SweepScanline()
46 int32_t x = curCell->x; in SweepScanline()
47 int32_t area = curCell->area; in SweepScanline()
50 cover += curCell->cover; in SweepScanline()
52 … while (--numCells && (curCell = *++cells) && (curCell != nullptr) && (curCell->x == x)) { in SweepScanline()
53 area += curCell->area; in SweepScanline()
54 cover += curCell->cover; in SweepScanline()
65 if (numCells && (curCell != nullptr) && curCell->x > x) { in SweepScanline()
69 sl.AddSpan(x, curCell->x - x, alpha); in SweepScanline()