Home | History | Annotate | Download | only in tests

Lines Matching refs:enclosing

179 static const SkRect* generic_inset(const RectInfo& enclosing,
187 SkRect newR = enclosing.rect();
189 RectInfo::EdgeType left = enclosing.edgeType(RectInfo::kLeft);
199 RectInfo::EdgeType top = enclosing.edgeType(RectInfo::kTop);
209 RectInfo::EdgeType right = enclosing.edgeType(RectInfo::kRight);
219 RectInfo::EdgeType bot = enclosing.edgeType(RectInfo::kBot);
233 // Make a rect that only touches the enclosing rect on the left.
234 static const SkRect* left_only(const RectInfo& enclosing,
241 return generic_inset(enclosing, result, isInsetHard, areCoordsLimitedToRect,
246 // Make a rect that only touches the enclosing rect on the top.
247 static const SkRect* top_only(const RectInfo& enclosing,
254 return generic_inset(enclosing, result, isInsetHard, areCoordsLimitedToRect,
259 // Make a rect that only touches the enclosing rect on the right.
260 static const SkRect* right_only(const RectInfo& enclosing,
267 return generic_inset(enclosing, result, isInsetHard, areCoordsLimitedToRect,
272 // Make a rect that only touches the enclosing rect on the bottom.
273 static const SkRect* bot_only(const RectInfo& enclosing,
280 return generic_inset(enclosing, result, isInsetHard, areCoordsLimitedToRect,
286 static const SkRect* full_inset(const RectInfo& enclosing,
293 return generic_inset(enclosing, result, isInsetHard, areCoordsLimitedToRect,
299 static const SkRect* no_inset(const RectInfo& enclosing,
306 return generic_inset(enclosing, result, isInsetHard, areCoordsLimitedToRect,