Searched refs:kTextHeight (Results 1 – 2 of 2) sorted by relevance
/external/skia/gm/ |
D | glyph_pos_align.cpp | 17 constexpr SkScalar kTextHeight = 64.0f; variable 24 paint.setTextSize(kTextHeight); in DEF_SIMPLE_GM_BG() 31 drawTestCase(canvas, "Right Align", kTextHeight, paint); in DEF_SIMPLE_GM_BG() 34 drawTestCase(canvas, "Center Align", 4 * kTextHeight, paint); in DEF_SIMPLE_GM_BG() 37 drawTestCase(canvas, "Left Align", 7 * kTextHeight, paint); in DEF_SIMPLE_GM_BG() 57 float x = kTextHeight; in drawTestCase() 60 pos[i].set(posX[i], i ? pos[i - 1].y() + 3 : y + kTextHeight); in drawTestCase()
|
D | glyph_pos.cpp | 18 constexpr SkScalar kTextHeight = 14.0f; variable 86 paint.setTextSize(kTextHeight * textScale); in drawTestCase()
|