Lines Matching defs:right
196 // 'left' and 'right' are the sub rects of 'srcBounds' where 'mode' must be enforced.
199 SkIRect mid, left, right;
204 // to the Direction::kX case and one should think of these as 'left' and 'right' for
208 top = {dstBounds.left(), dstBounds.top() , dstBounds.right(), srcBounds.top() };
209 bottom = {dstBounds.left(), srcBounds.bottom(), dstBounds.right(), dstBounds.bottom()};
215 mid = {srcBounds.left() + radius, midA, srcBounds.right() - radius, midB};
218 // width of dst and we will not draw mid or right.
219 left = {dstBounds.left(), mid.top(), dstBounds.right(), mid.bottom()};
222 right = {mid.right(), mid.top(), dstBounds.right(), mid.bottom()};
226 // y and swap top/bottom with left/right.
228 bottom = {srcBounds.right(), dstBounds.top(), dstBounds.right(), dstBounds.bottom()};
231 int midB = std::min(srcBounds.right(), dstBounds.right());
235 left = {mid.left(), dstBounds.top(), mid.right(), dstBounds.bottom()};
237 left = {mid.left(), dstBounds.top(), mid.right(), mid.top() };
238 right = {mid.left(), mid.bottom() , mid.right(), dstBounds.bottom()};
254 // Doing mid separately will cause two draws to occur (left and right batch together). At
257 // very arbitrary right now. It is believed that a 21x44 mid on a Moto G4 is a significant
262 left.join(right);
264 right = SkIRect::MakeEmpty();
295 convolve(right);
659 float sRCol = srcBounds.right() - 1;