Lines Matching defs:bounds

329         Returns the bounding box of text if bounds is not nullptr.
333 @param bounds returns bounding box relative to (0, 0) if not nullptr
337 SkRect* bounds = nullptr) const {
338 return this->measureText(text, byteLength, encoding, bounds, nullptr);
343 Returns the bounding box of text if bounds is not nullptr. The paint
344 stroke settings, mask filter, or path effect may modify the bounds.
348 @param bounds returns bounding box relative to (0, 0) if not nullptr
353 SkRect* bounds, const SkPaint* paint) const;
356 Retrieves the advance and bounds for each glyph in glyphs.
357 Both widths and bounds may be nullptr.
359 if bounds is not nullptr, bounds must be an array of count entries.
364 @param bounds returns bounds for each glyph relative to (0, 0); may be nullptr
366 void getWidths(const SkGlyphID glyphs[], int count, SkScalar widths[], SkRect bounds[]) const {
367 this->getWidthsBounds(glyphs, count, widths, bounds, nullptr);
375 /** Retrieves the advance and bounds for each glyph in glyphs.
376 Both widths and bounds may be nullptr.
378 if bounds is not nullptr, bounds must be an array of count entries.
388 /** Retrieves the advance and bounds for each glyph in glyphs.
389 Both widths and bounds may be nullptr.
391 if bounds is not nullptr, bounds must be an array of count entries.
396 @param bounds returns bounds for each glyph relative to (0, 0); may be nullptr
399 void getWidthsBounds(const SkGlyphID glyphs[], int count, SkScalar widths[], SkRect bounds[],
403 /** Retrieves the bounds for each glyph in glyphs.
404 bounds must be an array of count entries.
409 @param bounds returns bounds for each glyph relative to (0, 0); may be nullptr
412 void getBounds(const SkGlyphID glyphs[], int count, SkRect bounds[],
414 this->getWidthsBounds(glyphs, count, nullptr, bounds, paint);