Searched refs:amountY (Results 1 – 1 of 1) sorted by relevance
/third_party/skia/gm/ |
D | crop_imagefilter.cpp | 44 SkRect make_overlap(const SkRect& r, float amountX, float amountY) { in make_overlap() argument 45 return r.makeOffset(r.width() * amountX, r.height() * amountY); in make_overlap() 48 SkRect make_inset(const SkRect& r, float amountX, float amountY) { in make_inset() argument 49 return r.makeInset(r.width() * amountX, r.height() * amountY); in make_inset() 52 SkRect make_outset(const SkRect& r, float amountX, float amountY) { in make_outset() argument 53 return r.makeOutset(r.width() * amountX, r.height() * amountY); in make_outset() 56 SkRect make_disjoint(const SkRect& r, float amountX, float amountY) { in make_disjoint() argument 59 float yOffset = (amountY > 0.f ? (r.height() + r.height() * amountY) : in make_disjoint() 60 (amountY < 0.f ? (-r.height() + r.height() * amountY) : 0.f)); in make_disjoint()
|