Searched refs:hScalar (Results 1 – 3 of 3) sorted by relevance
/external/skia/gm/ |
D | drawminibitmaprect.cpp | 36 const SkScalar hScalar = SkIntToScalar(h); in makebm() local 38 const SkPoint pt = { wScalar / 2, hScalar / 2 }; in makebm() 40 const SkScalar radius = 4 * std::max(wScalar, hScalar); in makebm() 57 SkRect rect = SkRect::MakeWH(wScalar, hScalar); in makebm() 67 rect.inset(wScalar / 8, hScalar / 8); in makebm()
|
D | convexpolyclip.cpp | 35 SkScalar hScalar = SkIntToScalar(h); in make_img() local 37 SkPoint pt = { wScalar / 2, hScalar / 2 }; in make_img() 39 SkScalar radius = 3 * std::max(wScalar, hScalar); in make_img() 58 SkRect rect = SkRect::MakeWH(wScalar, hScalar); in make_img() 68 rect.inset(wScalar / 8, hScalar / 8); in make_img() 69 mat.preTranslate(6 * wScalar, 6 * hScalar); in make_img() 78 SkPoint texPos = { wScalar / 17, hScalar / 2 + font.getSize() / 2.5f }; in make_img()
|
D | drawbitmaprect.cpp | 60 SkScalar hScalar = SkIntToScalar(h); in makebm() local 62 SkPoint pt = { wScalar / 2, hScalar / 2 }; in makebm() 64 SkScalar radius = 4 * std::max(wScalar, hScalar); in makebm() 80 SkRect rect = SkRect::MakeWH(wScalar, hScalar); in makebm() 90 rect.inset(wScalar / 8, hScalar / 8); in makebm()
|