Lines Matching refs:RectInfo
44 class RectInfo { class
106 RectInfo operator=(const RectInfo& other); // disallow
117 RectInfo* rect) { in create_proxy()
131 RectInfo::kHard, in create_proxy()
132 RectInfo::kHard, in create_proxy()
133 (isPowerOfTwo || isExact) ? RectInfo::kHard : RectInfo::kBad, in create_proxy()
134 (isPowerOfTwo || isExact) ? RectInfo::kHard : RectInfo::kBad, in create_proxy()
140 static RectInfo::EdgeType compute_inset_edgetype(RectInfo::EdgeType previous, in compute_inset_edgetype()
147 return RectInfo::kSoft; in compute_inset_edgetype()
151 if (0.0f == insetAmount && RectInfo::kHard == previous) { in compute_inset_edgetype()
152 return RectInfo::kHard; in compute_inset_edgetype()
155 return RectInfo::kBad; in compute_inset_edgetype()
158 if (RectInfo::kHard == previous) { in compute_inset_edgetype()
159 return RectInfo::kHard; in compute_inset_edgetype()
165 return RectInfo::kSoft; in compute_inset_edgetype()
179 static const SkRect* generic_inset(const RectInfo& enclosing, in generic_inset()
180 RectInfo* result, in generic_inset()
189 RectInfo::EdgeType left = enclosing.edgeType(RectInfo::kLeft); in generic_inset()
199 RectInfo::EdgeType top = enclosing.edgeType(RectInfo::kTop); in generic_inset()
209 RectInfo::EdgeType right = enclosing.edgeType(RectInfo::kRight); in generic_inset()
219 RectInfo::EdgeType bot = enclosing.edgeType(RectInfo::kBot); in generic_inset()
234 static const SkRect* left_only(const RectInfo& enclosing, in left_only()
235 RectInfo* result, in left_only()
247 static const SkRect* top_only(const RectInfo& enclosing, in top_only()
248 RectInfo* result, in top_only()
260 static const SkRect* right_only(const RectInfo& enclosing, in right_only()
261 RectInfo* result, in right_only()
273 static const SkRect* bot_only(const RectInfo& enclosing, in bot_only()
274 RectInfo* result, in bot_only()
286 static const SkRect* full_inset(const RectInfo& enclosing, in full_inset()
287 RectInfo* result, in full_inset()
299 static const SkRect* no_inset(const RectInfo& enclosing, in no_inset()
300 RectInfo* result, in no_inset()
327 RectInfo outermost; in proxy_test()
339 RectInfo constraintRectStorage; in proxy_test()