Lines Matching defs:height

1446     // As the height multiplier converges to 0 (but not 0 since 0 is used as a
1447 // magic value to indicate there's no height multiplier), the `Run`s top
1461 // Expected glyph height in linebox coordinate space:
1475 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(lineBoxes[0].rect.height(), line_bottom - line_top, EPSILON2));
1476 REPORTER_ASSERT(reporter, lineBoxes[0].rect.height() > 1);
1495 // Tiny font and height multiplier to ensure the height is entirely decided
1594 // Uniform line spacing. The delta is introduced by the height rounding.
3491 // Checked: DIFF (line height rounding error)
3821 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(impl->lines()[0].height(), 39.00f, EPSILON100));
3822 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(impl->lines()[1].height(), 39.00f, EPSILON100));
3823 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(impl->lines()[2].height(), 05.00f, EPSILON100));
3907 REPORTER_ASSERT(reporter, line.height() == 59);
4371 // The chinese extra height should be absorbed by the strut.
4476 // The chinese extra height should be absorbed by the strut.
4584 // The chinese extra height should be absorbed by the strut.
5536 SkScalar width, SkScalar height, SkScalar minWidth, SkScalar maxWidth, SkColor bg) {
5561 SkASSERT(height == paragraph->getHeight());
5718 SkDEBUGCODE(auto bottom = line.offset().fY + line.height();)
5777 REPORTER_ASSERT(reporter, SkScalarIsFinite(impl->getPicture()->cullRect().height()));
5980 auto draw = [&](TextHeightBehavior hb, const char* text, SkScalar height) {
5998 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(paragraph->getHeight(), height));
6296 auto height = paragraph->getHeight();
6299 auto res2 = paragraph->getGlyphPositionAtCoordinate(0, height / 2);
6301 auto res3 = paragraph->getGlyphPositionAtCoordinate(0, height);
6891 // Regardless of TextHeightBehavior strut sets the line height
7130 SkScalar height = TestCanvasHeight/2;
7133 canvas.get()->clipRect(SkRect::MakeWH(width, height));
7266 auto height = paragraph->getHeight();
7268 auto f1Pos = paragraph->getGlyphPositionAtCoordinate(width/6 - 5, height/2);
7269 auto f2Pos = paragraph->getGlyphPositionAtCoordinate(width/2 - 5, height/2);
7270 auto iPos = paragraph->getGlyphPositionAtCoordinate(width*5/6 - 5, height/2);
7327 auto height = paragraph->getHeight();
7329 auto pos00 = paragraph->getGlyphPositionAtCoordinate(width/4, height/4);
7330 auto pos10 = paragraph->getGlyphPositionAtCoordinate(width*3/4, height/2);
7331 auto pos01 = paragraph->getGlyphPositionAtCoordinate(width/4, height/2);
7332 auto pos11 = paragraph->getGlyphPositionAtCoordinate(width*3/4, height*3/4);
7385 auto height = paragraph->getHeight();
7388 auto f1Pos = paragraph->getGlyphPositionAtCoordinate(TestCanvasWidth - width*5/6, height/2);
7389 auto f2Pos = paragraph->getGlyphPositionAtCoordinate(TestCanvasWidth - width/3, height/2);
7390 auto iPos = paragraph->getGlyphPositionAtCoordinate(TestCanvasWidth - width/6, height/2);
7446 auto height = paragraph->getHeight();
7464 auto posK = paragraph->getGlyphPositionAtCoordinate(resSK.back().rect.fRight, height/2);
7465 auto posP = paragraph->getGlyphPositionAtCoordinate(resKP.back().rect.fRight, height/2);
7466 auto posH = paragraph->getGlyphPositionAtCoordinate(resPh.back().rect.fRight, height/2);