Lines Matching refs:RectInfo
51 class RectInfo {
113 RectInfo operator=(const RectInfo& other); // disallow
124 RectInfo* rect) {
141 RectInfo::kHard,
142 RectInfo::kHard,
143 (isPowerOfTwo || isExact) ? RectInfo::kHard : RectInfo::kBad,
144 (isPowerOfTwo || isExact) ? RectInfo::kHard : RectInfo::kBad,
151 static RectInfo::EdgeType compute_inset_edgetype(RectInfo::EdgeType previous,
158 return RectInfo::kSoft;
162 if (0.0f == insetAmount && RectInfo::kHard == previous) {
163 return RectInfo::kHard;
166 return RectInfo::kBad;
169 if (RectInfo::kHard == previous) {
170 return RectInfo::kHard;
176 return RectInfo::kSoft;
190 static const SkRect* generic_inset(const RectInfo& enclosing,
191 RectInfo* result,
200 RectInfo::EdgeType left = enclosing.edgeType(RectInfo::kLeft);
210 RectInfo::EdgeType top = enclosing.edgeType(RectInfo::kTop);
220 RectInfo::EdgeType right = enclosing.edgeType(RectInfo::kRight);
230 RectInfo::EdgeType bot = enclosing.edgeType(RectInfo::kBot);
245 static const SkRect* left_only(const RectInfo& enclosing,
246 RectInfo* result,
258 static const SkRect* top_only(const RectInfo& enclosing,
259 RectInfo* result,
271 static const SkRect* right_only(const RectInfo& enclosing,
272 RectInfo* result,
284 static const SkRect* bot_only(const RectInfo& enclosing,
285 RectInfo* result,
297 static const SkRect* full_inset(const RectInfo& enclosing,
298 RectInfo* result,
310 static const SkRect* no_inset(const RectInfo& enclosing,
311 RectInfo* result,
338 RectInfo outermost;
350 RectInfo constraintRectStorage;