Searched refs:wScalar (Results 1 – 3 of 3) sorted by relevance
/external/skia/gm/ |
D | convexpolyclip.cpp | 21 SkScalar wScalar = SkIntToScalar(w); 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() 61 paint.setTextSize(wScalar / 2.2f); in make_bmp() 65 SkPoint texPos = { wScalar / 17, hScalar / 2 + paint.getTextSize() / 2.5f }; in make_bmp()
|
D | drawminibitmaprect.cpp | 25 const SkScalar wScalar = SkIntToScalar(w); 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()
|
D | drawbitmaprect.cpp | 48 SkScalar wScalar = SkIntToScalar(w); 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()
|