Searched refs:fontBounds (Results 1 - 4 of 4) sorted by relevance

/external/skia/gm/
H A Dfontmgr.cpp223 SkRect fontBounds = glyphPaint.getFontBounds(); local
224 fontBounds.offset(x, y);
227 canvas->drawRect(fontBounds, boundsPaint);
237 SkRect underline{ fontBounds.fLeft, fm.fUnderlinePosition+y,
238 fontBounds.fRight, fm.fUnderlinePosition+y + fm.fUnderlineThickness };
245 SkRect strikeout{ fontBounds.fLeft, fm.fStrikeoutPosition+y - fm.fStrikeoutThickness,
246 fontBounds.fRight, fm.fStrikeoutPosition+y };
306 SkRect fontBounds = paint.getFontBounds(); variable
307 x -= fontBounds.fLeft;
309 x += fontBounds
[all...]
/external/skqp/gm/
H A Dfontmgr.cpp223 SkRect fontBounds = glyphPaint.getFontBounds(); local
224 fontBounds.offset(x, y);
227 canvas->drawRect(fontBounds, boundsPaint);
237 SkRect underline{ fontBounds.fLeft, fm.fUnderlinePosition+y,
238 fontBounds.fRight, fm.fUnderlinePosition+y + fm.fUnderlineThickness };
245 SkRect strikeout{ fontBounds.fLeft, fm.fStrikeoutPosition+y - fm.fStrikeoutThickness,
246 fontBounds.fRight, fm.fStrikeoutPosition+y };
306 SkRect fontBounds = paint.getFontBounds(); variable
307 x -= fontBounds.fLeft;
309 x += fontBounds
[all...]
/external/skia/src/core/
H A DSkTextBlob.cpp482 const SkRect fontBounds = paint.getFontBounds(); local
483 if (fontBounds.isEmpty()) {
517 bounds.fLeft += fontBounds.left();
518 bounds.fTop += fontBounds.top();
519 bounds.fRight += fontBounds.right();
520 bounds.fBottom += fontBounds.bottom();
/external/skqp/src/core/
H A DSkTextBlob.cpp482 const SkRect fontBounds = paint.getFontBounds(); local
483 if (fontBounds.isEmpty()) {
517 bounds.fLeft += fontBounds.left();
518 bounds.fTop += fontBounds.top();
519 bounds.fRight += fontBounds.right();
520 bounds.fBottom += fontBounds.bottom();

Completed in 197 milliseconds