Searched refs:wScalar (Results 1 – 6 of 6) sorted by relevance
/external/skqp/gm/ |
D | convexpolyclip.cpp | 22 SkScalar wScalar = SkIntToScalar(w); in make_bmp() local 25 SkPoint pt = { wScalar / 2, hScalar / 2 }; in make_bmp() 27 SkScalar radius = 3 * SkMaxScalar(wScalar, hScalar); in make_bmp() 45 SkRect rect = SkRect::MakeWH(wScalar, hScalar); in make_bmp() 55 rect.inset(wScalar / 8, hScalar / 8); in make_bmp() 56 mat.preTranslate(6 * wScalar, 6 * hScalar); in make_bmp() 60 SkFont font(sk_tool_utils::create_portable_typeface(), wScalar / 2.2f); in make_bmp() 65 SkPoint texPos = { wScalar / 17, hScalar / 2 + font.getSize() / 2.5f }; in make_bmp()
|
D | drawminibitmaprect.cpp | 22 const SkScalar wScalar = SkIntToScalar(w); in makebm() local 25 const SkPoint pt = { wScalar / 2, hScalar / 2 }; in makebm() 27 const SkScalar radius = 4 * SkMaxScalar(wScalar, hScalar); in makebm() 44 SkRect rect = SkRect::MakeWH(wScalar, hScalar); in makebm() 54 rect.inset(wScalar / 8, hScalar / 8); in makebm()
|
D | drawbitmaprect.cpp | 43 SkScalar wScalar = SkIntToScalar(w); in makebm() local 46 SkPoint pt = { wScalar / 2, hScalar / 2 }; in makebm() 48 SkScalar radius = 4 * SkMaxScalar(wScalar, hScalar); in makebm() 64 SkRect rect = SkRect::MakeWH(wScalar, hScalar); in makebm() 74 rect.inset(wScalar / 8, hScalar / 8); in makebm()
|
/external/skia/gm/ |
D | convexpolyclip.cpp | 22 SkScalar wScalar = SkIntToScalar(w); in make_bmp() local 25 SkPoint pt = { wScalar / 2, hScalar / 2 }; in make_bmp() 27 SkScalar radius = 3 * SkMaxScalar(wScalar, hScalar); in make_bmp() 45 SkRect rect = SkRect::MakeWH(wScalar, hScalar); in make_bmp() 55 rect.inset(wScalar / 8, hScalar / 8); in make_bmp() 56 mat.preTranslate(6 * wScalar, 6 * hScalar); in make_bmp() 60 SkFont font(sk_tool_utils::create_portable_typeface(), wScalar / 2.2f); in make_bmp() 65 SkPoint texPos = { wScalar / 17, hScalar / 2 + font.getSize() / 2.5f }; in make_bmp()
|
D | drawminibitmaprect.cpp | 22 const SkScalar wScalar = SkIntToScalar(w); in makebm() local 25 const SkPoint pt = { wScalar / 2, hScalar / 2 }; in makebm() 27 const SkScalar radius = 4 * SkMaxScalar(wScalar, hScalar); in makebm() 44 SkRect rect = SkRect::MakeWH(wScalar, hScalar); in makebm() 54 rect.inset(wScalar / 8, hScalar / 8); in makebm()
|
D | drawbitmaprect.cpp | 43 SkScalar wScalar = SkIntToScalar(w); in makebm() local 46 SkPoint pt = { wScalar / 2, hScalar / 2 }; in makebm() 48 SkScalar radius = 4 * SkMaxScalar(wScalar, hScalar); in makebm() 64 SkRect rect = SkRect::MakeWH(wScalar, hScalar); in makebm() 74 rect.inset(wScalar / 8, hScalar / 8); in makebm()
|