Lines Matching refs:dstBounds
2249 void adjust_bounds_to_granularity(SkIRect* dstBounds, const SkIRect& srcBounds, in adjust_bounds_to_granularity() argument
2258 dstBounds->fRight = srcBounds.fRight + rightAdj; in adjust_bounds_to_granularity()
2259 if (dstBounds->fRight > maxWidth) { in adjust_bounds_to_granularity()
2260 dstBounds->fRight = maxWidth; in adjust_bounds_to_granularity()
2261 dstBounds->fLeft = 0; in adjust_bounds_to_granularity()
2263 dstBounds->fLeft = srcBounds.fLeft - srcBounds.fLeft % granularity.width; in adjust_bounds_to_granularity()
2266 dstBounds->fLeft = srcBounds.fLeft; in adjust_bounds_to_granularity()
2267 dstBounds->fRight = srcBounds.fRight; in adjust_bounds_to_granularity()
2277 dstBounds->fBottom = srcBounds.fBottom + bottomAdj; in adjust_bounds_to_granularity()
2278 if (dstBounds->fBottom > maxHeight) { in adjust_bounds_to_granularity()
2279 dstBounds->fBottom = maxHeight; in adjust_bounds_to_granularity()
2280 dstBounds->fTop = 0; in adjust_bounds_to_granularity()
2282 dstBounds->fTop = srcBounds.fTop - srcBounds.fTop % granularity.height; in adjust_bounds_to_granularity()
2285 dstBounds->fTop = srcBounds.fTop; in adjust_bounds_to_granularity()
2286 dstBounds->fBottom = srcBounds.fBottom; in adjust_bounds_to_granularity()