Lines Matching defs:height

166         drawTest(canvas, this->width(), this->height(), SK_ColorRED, SK_ColorWHITE);
400 SkScalar height = this->height();
401 drawText(canvas, width, height, long_word, SK_ColorBLACK, SK_ColorWHITE, "Google Sans", 30);
403 drawText(canvas, width, height, very_long, SK_ColorBLACK, SK_ColorWHITE, "Google Sans", 30);
405 drawText(canvas, width, height, very_word, SK_ColorBLACK, SK_ColorWHITE, "Google Sans", 30);
407 drawText(canvas, width, height / 2, text, SK_ColorBLACK, SK_ColorWHITE, "Roboto", 20, 100,
409 canvas->translate(0, height / 2);
410 drawCode(canvas, width, height / 2);
411 canvas->translate(width, -height / 2);
413 drawText(canvas, width, height, cupertino, SK_ColorBLACK, SK_ColorWHITE, "Google Sans", 30);
515 SkScalar height = this->height() / 2;
520 drawLine(canvas, width, height, line, TextAlign::kLeft, 1, false, SK_ColorLTGRAY);
522 drawLine(canvas, width, height, line, TextAlign::kRight, 2, false, SK_ColorLTGRAY);
524 drawLine(canvas, width, height, line, TextAlign::kCenter, 3, false, SK_ColorLTGRAY);
526 drawLine(canvas, width, height, line, TextAlign::kJustify, 4, false, SK_ColorLTGRAY);
527 canvas->translate(-width * 3, height);
529 drawLine(canvas, width, height, line, TextAlign::kLeft, 1, true, SK_ColorLTGRAY);
531 drawLine(canvas, width, height, line, TextAlign::kRight, 2, true, SK_ColorLTGRAY);
533 drawLine(canvas, width, height, line, TextAlign::kCenter, 3, true, SK_ColorLTGRAY);
535 drawLine(canvas, width, height, line, TextAlign::kJustify, 4, true, SK_ColorLTGRAY);
670 SkScalar height = this->height();
672 drawFlutter(canvas, width, height / 2);
763 SkScalar height = this->height() / 8;
772 bidi(canvas, width, height * 3, text1, u"", 5);
773 canvas->translate(0, height * 3);
775 bidi(canvas, width, height, u"\u2067DETALOSI\u2069", u"");
776 canvas->translate(0, height);
778 bidi(canvas, width, height, u"\u202BDEDDEBME\u202C", u"");
779 canvas->translate(0, height);
781 bidi(canvas, width, height, u"\u202EEDIRREVO\u202C", u"");
782 canvas->translate(0, height);
784 bidi(canvas, width, height, u"\u200FTICILPMI\u200E", u"");
785 canvas->translate(0, height);
787 bidi(canvas, width, height, u"123 456 7890 \u202EZYXWV UTS RQP ONM LKJ IHG FED CBA\u202C.",
789 canvas->translate(0, height);
791 // bidi(canvas, width, height, u"", u"");
792 // canvas->translate(0, height);
961 SkScalar height = this->height() / 4;
963 hangingS(canvas, width, height);
1008 auto h = this->height() / 4;
1078 auto h = this->height() / 4;
1197 auto h = this->height();
2048 auto draw = [&](SkScalar width, SkScalar height, TextDirection td, TextAlign ta, const char* t) {
2104 canvas->translate(0, height);
2185 auto height = paragraph->getHeight();
2187 auto f1Pos = paragraph->getGlyphPositionAtCoordinate(width/6, height/2);
2188 auto f2Pos = paragraph->getGlyphPositionAtCoordinate(width/2, height/2);
2189 auto iPos = paragraph->getGlyphPositionAtCoordinate(width*5/6, height/2);
3413 auto height = paragraph->getHeight();
3415 auto res2 = paragraph->getGlyphPositionAtCoordinate(0,height / 2);
3416 auto res3 = paragraph->getGlyphPositionAtCoordinate(0,height);
3642 builder.addText("Notice that the line height increased on the lines with ");