Lines Matching defs:dstBounds
1911 void adjust_bounds_to_granularity(SkIRect* dstBounds, const SkIRect& srcBounds,
1920 dstBounds->fRight = srcBounds.fRight + rightAdj;
1921 if (dstBounds->fRight > maxWidth) {
1922 dstBounds->fRight = maxWidth;
1923 dstBounds->fLeft = 0;
1925 dstBounds->fLeft = srcBounds.fLeft - srcBounds.fLeft % granularity.width;
1928 dstBounds->fLeft = srcBounds.fLeft;
1929 dstBounds->fRight = srcBounds.fRight;
1939 dstBounds->fBottom = srcBounds.fBottom + bottomAdj;
1940 if (dstBounds->fBottom > maxHeight) {
1941 dstBounds->fBottom = maxHeight;
1942 dstBounds->fTop = 0;
1944 dstBounds->fTop = srcBounds.fTop - srcBounds.fTop % granularity.height;
1947 dstBounds->fTop = srcBounds.fTop;
1948 dstBounds->fBottom = srcBounds.fBottom;