Lines Matching refs:bounds
68 GrAppliedClip*, SkRect* bounds) const = 0;
162 static SkIRect GetPixelIBounds(const SkRect& bounds, GrAA aa,
175 if (bounds.isEmpty()) {
180 return SkIRect::MakeLTRB(roundLow(bounds.fLeft), roundLow(bounds.fTop),
181 roundHigh(bounds.fRight), roundHigh(bounds.fBottom));
183 return SkIRect::MakeLTRB(roundHigh(bounds.fLeft), roundHigh(bounds.fTop),
184 roundLow(bounds.fRight), roundLow(bounds.fBottom));
211 virtual Effect apply(GrAppliedHardClip* out, SkIRect* bounds) const = 0;
219 SkRect* bounds) const final { in apply() argument
220 SkIRect pixelBounds = GetPixelIBounds(*bounds, GrAA(aa != GrAAType::kNone)); in apply()
222 bounds->intersect(SkRect::Make(pixelBounds)); in apply()