Lines Matching full:margins
230 const SkBitmap& bitmap, const SkIRect& margins,
233 0, margins.fLeft, bitmap.width() - margins.fRight, bitmap.width()
236 0, margins.fTop, bitmap.height() - margins.fBottom, bitmap.height()
239 dst.fLeft, dst.fLeft + SkIntToScalar(margins.fLeft),
240 dst.fRight - SkIntToScalar(margins.fRight), dst.fRight
243 dst.fTop, dst.fTop + SkIntToScalar(margins.fTop),
244 dst.fBottom - SkIntToScalar(margins.fBottom), dst.fBottom
265 const SkBitmap& bitmap, const SkIRect& margins,
277 xDivs[0] = margins.fLeft;
278 xDivs[1] = bitmap.width() - margins.fRight;
279 yDivs[0] = margins.fTop;
280 yDivs[1] = bitmap.height() - margins.fBottom;
285 drawNineViaRects(canvas, bounds, bitmap, margins, paint);