Home
last modified time | relevance | path

Searched refs:hScalar (Results 1 – 6 of 6) sorted by relevance

/external/skia/gm/
Ddrawminibitmaprect.cpp35 const SkScalar hScalar = SkIntToScalar(h); in makebm() local
37 const SkPoint pt = { wScalar / 2, hScalar / 2 }; in makebm()
39 const SkScalar radius = 4 * std::max(wScalar, hScalar); in makebm()
56 SkRect rect = SkRect::MakeWH(wScalar, hScalar); in makebm()
66 rect.inset(wScalar / 8, hScalar / 8); in makebm()
Dconvexpolyclip.cpp38 SkScalar hScalar = SkIntToScalar(h); in make_bmp() local
40 SkPoint pt = { wScalar / 2, hScalar / 2 }; in make_bmp()
42 SkScalar radius = 3 * std::max(wScalar, hScalar); in make_bmp()
61 SkRect rect = SkRect::MakeWH(wScalar, hScalar); in make_bmp()
71 rect.inset(wScalar / 8, hScalar / 8); in make_bmp()
72 mat.preTranslate(6 * wScalar, 6 * hScalar); in make_bmp()
81 SkPoint texPos = { wScalar / 17, hScalar / 2 + font.getSize() / 2.5f }; in make_bmp()
Ddrawbitmaprect.cpp59 SkScalar hScalar = SkIntToScalar(h); in makebm() local
61 SkPoint pt = { wScalar / 2, hScalar / 2 }; in makebm()
63 SkScalar radius = 4 * std::max(wScalar, hScalar); in makebm()
79 SkRect rect = SkRect::MakeWH(wScalar, hScalar); in makebm()
89 rect.inset(wScalar / 8, hScalar / 8); in makebm()
/external/skqp/gm/
Ddrawminibitmaprect.cpp23 const SkScalar hScalar = SkIntToScalar(h); 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()
Dconvexpolyclip.cpp23 SkScalar hScalar = SkIntToScalar(h); 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()
65 SkPoint texPos = { wScalar / 17, hScalar / 2 + font.getSize() / 2.5f }; in make_bmp()
Ddrawbitmaprect.cpp44 SkScalar hScalar = SkIntToScalar(h); 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()