Lines Matching refs:bounds
41 SkRect* bounds) const = 0;
108 static SkIRect GetPixelIBounds(const SkRect& bounds) { in GetPixelIBounds() argument
109 return SkIRect::MakeLTRB(SkScalarFloorToInt(bounds.fLeft + kBoundsTolerance), in GetPixelIBounds()
110 SkScalarFloorToInt(bounds.fTop + kBoundsTolerance), in GetPixelIBounds()
111 SkScalarCeilToInt(bounds.fRight - kBoundsTolerance), in GetPixelIBounds()
112 SkScalarCeilToInt(bounds.fBottom - kBoundsTolerance)); in GetPixelIBounds()
118 static SkRect GetPixelBounds(const SkRect& bounds) { in GetPixelBounds() argument
119 return SkRect::MakeLTRB(SkScalarFloorToScalar(bounds.fLeft + kBoundsTolerance), in GetPixelBounds()
120 SkScalarFloorToScalar(bounds.fTop + kBoundsTolerance), in GetPixelBounds()
121 SkScalarCeilToScalar(bounds.fRight - kBoundsTolerance), in GetPixelBounds()
122 SkScalarCeilToScalar(bounds.fBottom - kBoundsTolerance)); in GetPixelBounds()