Home
last modified time | relevance | path

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

/external/skia/gm/
Ddrawminibitmaprect.cpp26 const SkScalar hScalar = SkIntToScalar(h); in makebm() local
28 const SkPoint pt = { wScalar / 2, hScalar / 2 }; in makebm()
30 const SkScalar radius = 4 * SkMaxScalar(wScalar, hScalar); in makebm()
47 SkRect rect = SkRect::MakeWH(wScalar, hScalar); in makebm()
57 rect.inset(wScalar / 8, hScalar / 8); in makebm()
Dconvexpolyclip.cpp22 SkScalar hScalar = SkIntToScalar(h); in make_bmp() local
24 SkPoint pt = { wScalar / 2, hScalar / 2 }; in make_bmp()
26 SkScalar radius = 3 * SkMaxScalar(wScalar, hScalar); in make_bmp()
44 SkRect rect = SkRect::MakeWH(wScalar, hScalar); in make_bmp()
54 rect.inset(wScalar / 8, hScalar / 8); in make_bmp()
55 mat.preTranslate(6 * wScalar, 6 * hScalar); in make_bmp()
65 SkPoint texPos = { wScalar / 17, hScalar / 2 + paint.getTextSize() / 2.5f }; in make_bmp()
Ddrawbitmaprect.cpp49 SkScalar hScalar = SkIntToScalar(h); in makebm() local
51 SkPoint pt = { wScalar / 2, hScalar / 2 }; in makebm()
53 SkScalar radius = 4 * SkMaxScalar(wScalar, hScalar); in makebm()
69 SkRect rect = SkRect::MakeWH(wScalar, hScalar); in makebm()
79 rect.inset(wScalar / 8, hScalar / 8); in makebm()