Home
last modified time | relevance | path

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

/external/skia/gm/
Dpixelsnap.cpp25 static constexpr int kLabelTextSize = 9; member in PixelSnapGM
28 static constexpr int kLabelOffsetX = 2 * kLabelTextSize + kLabelPad;
29 static constexpr int kLabelOffsetY = kLabelTextSize + kLabelPad;
45 SkFont font(sk_tool_utils::create_portable_typeface(), SkIntToScalar(kLabelTextSize)); in onDraw()
54 canvas->drawString(offset, 0, i * kTrans + SkIntToScalar(kLabelTextSize), in onDraw()
64 canvas->drawString(offset, i * SkIntToScalar(kTrans), SkIntToScalar(kLabelTextSize), in onDraw()
/external/skqp/gm/
Dpixelsnap.cpp25 static constexpr int kLabelTextSize = 9; member in PixelSnapGM
28 static constexpr int kLabelOffsetX = 2 * kLabelTextSize + kLabelPad;
29 static constexpr int kLabelOffsetY = kLabelTextSize + kLabelPad;
45 SkFont font(sk_tool_utils::create_portable_typeface(), SkIntToScalar(kLabelTextSize)); in onDraw()
54 canvas->drawString(offset, 0, i * kTrans + SkIntToScalar(kLabelTextSize), in onDraw()
64 canvas->drawString(offset, i * SkIntToScalar(kTrans), SkIntToScalar(kLabelTextSize), in onDraw()