Lines Matching refs:bounds
63 uint8_t* bitmap, uint32_t bitmapW, uint32_t bitmapH, Rect* bounds, const float* pos) { in measureCachedGlyph() argument
70 if (bounds->bottom > nPenY) { in measureCachedGlyph()
71 bounds->bottom = nPenY; in measureCachedGlyph()
73 if (bounds->left > nPenX) { in measureCachedGlyph()
74 bounds->left = nPenX; in measureCachedGlyph()
76 if (bounds->right < nPenX + width) { in measureCachedGlyph()
77 bounds->right = nPenX + width; in measureCachedGlyph()
79 if (bounds->top < nPenY + height) { in measureCachedGlyph()
80 bounds->top = nPenY + height; in measureCachedGlyph()
85 uint8_t* bitmap, uint32_t bitmapW, uint32_t bitmapH, Rect* bounds, const float* pos) { in drawCachedGlyph() argument
104 uint8_t* bitmap, uint32_t bitmapW, uint32_t bitmapH, Rect* bounds, const float* pos) { in drawCachedGlyphBitmap() argument
254 int numGlyphs, Rect *bounds, const float* positions) { in measure() argument
255 if (bounds == NULL) { in measure()
259 bounds->set(1e6, -1e6, -1e6, 1e6); in measure()
260 render(paint, text, start, len, numGlyphs, 0, 0, MEASURE, NULL, 0, 0, bounds, positions); in measure()
286 uint32_t bitmapW, uint32_t bitmapH, Rect* bounds, const float* positions) { in render() argument
322 bitmap, bitmapW, bitmapH, bounds, positions); in render()
361 bitmap, bitmapW, bitmapH, bounds, positions); in render()