Lines Matching refs:dstBounds
2201 void adjust_bounds_to_granularity(SkIRect* dstBounds, const SkIRect& srcBounds, in adjust_bounds_to_granularity() argument
2210 dstBounds->fRight = srcBounds.fRight + rightAdj; in adjust_bounds_to_granularity()
2211 if (dstBounds->fRight > maxWidth) { in adjust_bounds_to_granularity()
2212 dstBounds->fRight = maxWidth; in adjust_bounds_to_granularity()
2213 dstBounds->fLeft = 0; in adjust_bounds_to_granularity()
2215 dstBounds->fLeft = srcBounds.fLeft - srcBounds.fLeft % granularity.width; in adjust_bounds_to_granularity()
2218 dstBounds->fLeft = srcBounds.fLeft; in adjust_bounds_to_granularity()
2219 dstBounds->fRight = srcBounds.fRight; in adjust_bounds_to_granularity()
2229 dstBounds->fBottom = srcBounds.fBottom + bottomAdj; in adjust_bounds_to_granularity()
2230 if (dstBounds->fBottom > maxHeight) { in adjust_bounds_to_granularity()
2231 dstBounds->fBottom = maxHeight; in adjust_bounds_to_granularity()
2232 dstBounds->fTop = 0; in adjust_bounds_to_granularity()
2234 dstBounds->fTop = srcBounds.fTop - srcBounds.fTop % granularity.height; in adjust_bounds_to_granularity()
2237 dstBounds->fTop = srcBounds.fTop; in adjust_bounds_to_granularity()
2238 dstBounds->fBottom = srcBounds.fBottom; in adjust_bounds_to_granularity()