Lines Matching refs:Box
27 Error ButtonImpl::draw(const PixelDrawer& drawPixel, const Box<pxs>& bounds, in draw()
31 Box<intpxs> intBounds(bounds); in draw()
41 auto drawBox = [&](const Box<intpxs>& box, Color c) -> Error { in draw()
53 auto drawDebugBox = [&](const Box<pxs>& box, Color c) { in draw()
65 Box<intpxs> cBounds(intBounds.x(), intBounds.y(), intRadius, intRadius); in draw()
89 Box<intpxs>(0, 0, intRadius, intRadius).translate(intBounds.topLeft()), color_)) { in draw()
97 if (auto error = drawBox(Box<intpxs>(intBounds.w() - intRadius, 0, intRadius, intRadius) in draw()
107 if (auto error = drawBox(Box<intpxs>(0, intBounds.h() - intRadius, intRadius, intRadius) in draw()
117 if (auto error = drawBox(Box<intpxs>(intBounds.w() - intRadius, intBounds.h() - intRadius, in draw()
125 auto centerbox = Box<intpxs>(intRadius, intRadius, intBounds.w() - intRadius - intRadius, in draw()
132 drawBox(Box<intpxs>(0, intRadius, intRadius, intBounds.h() - intRadius - intRadius) in draw()
138 drawBox(Box<intpxs>(intRadius, 0, intBounds.w() - intRadius - intRadius, intRadius) in draw()
143 if (auto error = drawBox(Box<intpxs>(intBounds.w() - intRadius, intRadius, intRadius, in draw()
149 if (auto error = drawBox(Box<intpxs>(intRadius, intBounds.h() - intRadius, in draw()
158 Box<pxs> coBBox = Box<pxs>::boundingBox(coBegin->begin, coBegin->end); in draw()
166 Box<intpxs> intBBox(start.x().floor(), start.y().floor(), 0, 0); in draw()