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.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()