• Home
  • Raw
  • Download

Lines Matching refs:padLeft

26 static sk_sp<SkSurface> make_surface(SkCanvas* root, int N, int padLeft, int padTop,  in make_surface()  argument
28 SkImageInfo info = SkImageInfo::MakeN32Premul(N + padLeft + padRight, N + padTop + padBottom); in make_surface()
32 static sk_sp<SkImage> make_image(SkCanvas* root, int* xDivs, int* yDivs, int padLeft, int padTop, in make_image() argument
38 auto surface(make_surface(root, kSize, padLeft, padTop, padRight, padBottom)); in make_image()
40 canvas->translate((float) padLeft, (float) padTop); in make_image()
46 xDivs[0] = kCap + padLeft; in make_image()
48 xDivs[1] = kCap + kMid + padLeft; in make_image()
50 xDivs[2] = kCap + 2 * kMid + padLeft; in make_image()
52 xDivs[3] = kCap + 3 * kMid + padLeft; in make_image()
107 void onDrawHelper(GrDirectContext* dContext, SkCanvas* canvas, int padLeft, int padTop, in onDrawHelper() argument
113 xDivs[0] = padLeft; in onDrawHelper()
117 sk_sp<SkImage> image = make_image(canvas, xDivs + 1, yDivs + 1, padLeft, padTop, in onDrawHelper()
141 SkIRect bounds = SkIRect::MakeLTRB(padLeft, padTop, in onDrawHelper()
241 sk_sp<SkImage> makeImage(SkCanvas* root, int padLeft, int padTop, int padRight, int padBottom) { in makeImage() argument
243 auto surface(make_surface(root, kSize, padLeft, padTop, padRight, padBottom)); in makeImage()
293 void onDrawHelper(SkCanvas* canvas, int padLeft, int padTop, int padRight, int padBottom, in onDrawHelper() argument
300 sk_sp<SkImage> image = makeImage(canvas, padLeft, padTop, padRight, padBottom); in onDrawHelper()