Home
last modified time | relevance | path

Searched refs:kTextHeight (Results 1 – 2 of 2) sorted by relevance

/external/skia/gm/
Dglyph_pos_align.cpp17 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()
Dglyph_pos.cpp18 constexpr SkScalar kTextHeight = 14.0f; variable
86 paint.setTextSize(kTextHeight * textScale); in drawTestCase()