Lines Matching refs:y
33 auto drawPixelBoundsEnforced = [&](uint32_t x, uint32_t y, Color color) -> Error { in draw() argument
34 if (!intBounds.contains(Point<intpxs>(x, y))) { in draw()
35 TEEUI_LOG << "Bounds: " << bounds << " Pixel: " << Point<pxs>(x, y) << ENDL; in draw()
38 return drawPixel(x, y, color); in draw()
42 for (int y = 0; y < box.h().count(); ++y) { in draw() local
44 if (auto error = drawPixel(box.x().count() + x, box.y().count() + y, c)) { in draw()
65 Box<intpxs> cBounds(intBounds.x(), intBounds.y(), intRadius, intRadius); in draw()
73 for (int y = 0; y < cBounds.h().count(); ++y) { in draw() local
75 auto pos = Point<pxs>(cBounds.x().count() + x, cBounds.y().count() + y); in draw()
77 if (auto error = drawPixelBoundsEnforced(pos.x().count(), pos.y().count(), color)) { in draw()
166 Box<intpxs> intBBox(start.x().floor(), start.y().floor(), 0, 0); in draw()
168 Point<intpxs>{(start.x() + coBBox.w()).ceil(), (start.y() + coBBox.h()).ceil()}); in draw()
173 for (int64_t y = 0; y < intBBox.h().count(); ++y) { in draw() local
175 PxPoint offset = coBBox.topLeft() + PxPoint{x, y}; in draw()
187 TEEUI_LOG << "x: " << x << " y: " << y << " area: " << areaCovered << ENDL; in draw()
190 drawPixelBoundsEnforced(intBBox.x().count() + x, intBBox.y().count() + y, in draw()