Home
last modified time | relevance | path

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

/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()
/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.cpp37 SkScalar hScalar = SkIntToScalar(h); in make_img() local
39 SkPoint pt = { wScalar / 2, hScalar / 2 }; in make_img()
41 SkScalar radius = 3 * std::max(wScalar, hScalar); in make_img()
60 SkRect rect = SkRect::MakeWH(wScalar, hScalar); in make_img()
70 rect.inset(wScalar / 8, hScalar / 8); in make_img()
71 mat.preTranslate(6 * wScalar, 6 * hScalar); in make_img()
80 SkPoint texPos = { wScalar / 17, hScalar / 2 + font.getSize() / 2.5f }; in make_img()
Ddrawbitmaprect.cpp61 SkScalar hScalar = SkIntToScalar(h); in makebm() local
63 SkPoint pt = { wScalar / 2, hScalar / 2 }; in makebm()
65 SkScalar radius = 4 * std::max(wScalar, hScalar); in makebm()
81 SkRect rect = SkRect::MakeWH(wScalar, hScalar); in makebm()
91 rect.inset(wScalar / 8, hScalar / 8); in makebm()