Lines Matching full:bounds
139 void Font::measureCachedGlyph(CachedGlyphInfo *glyph, int32_t x, int32_t y, Rect *bounds) {
147 if (bounds->bottom < nPenY) {
148 bounds->bottom = nPenY;
150 if (bounds->left > nPenX) {
151 bounds->left = nPenX;
153 if (bounds->right < nPenX + width) {
154 bounds->right = nPenX + width;
156 if (bounds->top > nPenY - height) {
157 bounds->top = nPenY - height;
163 RenderMode mode, Rect *bounds,
170 if (bounds == NULL) {
175 bounds->set(1e6, -1e6, 1e6, -1e6);
211 measureCachedGlyph(cachedGlyph, penX, penY, bounds);
752 Font::Rect *bounds,
779 mode, bounds, bitmap, bitmapW, bitmapH);
787 void FontState::measureText(const char *text, uint32_t len, Font::Rect *bounds) {
788 renderText(text, len, 0, 0, 0, -1, Font::MEASURE, bounds);
789 bounds->bottom = - bounds->bottom;
790 bounds->top = - bounds->top;