Lines Matching refs:bbox
436 RECT* bbox) in getBoundingBox() argument
493 HRM(glyphRunAnalysis->GetAlphaTextureBounds(textureType, bbox), in getBoundingBox()
504 static bool glyph_check_and_set_bounds(SkGlyph* glyph, const RECT& bbox) { in glyph_check_and_set_bounds() argument
505 if (bbox.left >= bbox.right || bbox.top >= bbox.bottom) { in glyph_check_and_set_bounds()
512 SkIRect::MakeLTRB(bbox.left, bbox.top, bbox.right, bbox.bottom))) { in glyph_check_and_set_bounds()
516 glyph->fWidth = SkToU16(bbox.right - bbox.left); in glyph_check_and_set_bounds()
517 glyph->fHeight = SkToU16(bbox.bottom - bbox.top); in glyph_check_and_set_bounds()
518 glyph->fLeft = SkToS16(bbox.left); in glyph_check_and_set_bounds()
519 glyph->fTop = SkToS16(bbox.top); in glyph_check_and_set_bounds()
704 RECT bbox; in generateMetrics() local
705 HRVM(this->getBoundingBox(glyph, fRenderingMode, fTextureType, &bbox), in generateMetrics()
708 if (glyph_check_and_set_bounds(glyph, bbox)) { in generateMetrics()
719 &bbox), in generateMetrics()
721 if (glyph_check_and_set_bounds(glyph, bbox)) { in generateMetrics()
965 RECT bbox; in drawDWMask() local
966 bbox.left = glyph.fLeft; in drawDWMask()
967 bbox.top = glyph.fTop; in drawDWMask()
968 bbox.right = glyph.fLeft + glyph.fWidth; in drawDWMask()
969 bbox.bottom = glyph.fTop + glyph.fHeight; in drawDWMask()
973 &bbox, in drawDWMask()