Lines Matching refs:bounds
25 Error LabelImpl::draw(const PixelDrawer& drawPixel, const Box<pxs>& bounds, LineInfo* lineInfo) { in draw() argument
41 Box<intpxs> intBounds(intpxs((int64_t)bounds.x().count()), intpxs((int64_t)bounds.y().count()), in draw()
42 intpxs((int64_t)bounds.w().count()), intpxs((int64_t)bounds.h().count())); in draw()
47 TEEUI_LOG << "Bounds: " << bounds << " Pixel: " << Point<pxs>(x, y) << ENDL; in draw()
63 drawBox(bounds, 0xff); in draw()
86 findLongestWordSequence(&face, text_t(*textBegin, *lineEnd), bounds); in draw()
98 pen += {(bounds.w() - bBox.w()) / 2.0_px, 0}; in draw()
101 pen += {bounds.w() - bBox.w(), 0}; in draw()
125 TEEUI_LOG << "BoundingBox: " << *boundingBox << " Bounds: " << bounds << ENDL; in draw()
126 Point<pxs> offset = bounds.topLeft(); in draw()
131 offset += {0, (bounds.h() - boundingBox->h()) / 2.0_px}; in draw()
133 offset += {0, (bounds.h() - boundingBox->h())}; in draw()
155 Error LabelImpl::hit(const Event& event, const Box<pxs>& bounds) { in hit() argument
157 if (bounds.contains(Point<intpxs>(event.x_, event.y_))) { in hit()