• Home
  • Raw
  • Download

Lines Matching refs:kernelOffset

72     sk_sp<SkImageFilter> makeFilter(const SkIPoint &kernelOffset, SkTileMode tileMode,  in makeFilter()  argument
79 …{3,3}, kernel.data(), /* gain */ 0.3f, /* bias */ SkIntToScalar(100), kernelOffset, tileMode, conv… in makeFilter()
86 …{7,7}, kernel.data(), /* gain */ 0.3f, /* bias */ SkIntToScalar(100), kernelOffset, tileMode, conv… in makeFilter()
93 void draw(SkCanvas* canvas, int x, int y, const SkIPoint& kernelOffset, in draw() argument
97 paint.setImageFilter(this->makeFilter(kernelOffset, tileMode, convolveAlpha, cropRect)); in draw()
117 SkIPoint kernelOffset = SkIPoint::Make(1, 0); in onDraw() local
120 this->draw(canvas, x, 10, kernelOffset, SkTileMode::kClamp, true, &rect); in onDraw()
121 this->draw(canvas, x, 110, kernelOffset, SkTileMode::kDecal, true, &rect); in onDraw()
122 this->draw(canvas, x, 210, kernelOffset, SkTileMode::kRepeat, true, &rect); in onDraw()
123 kernelOffset.fY++; in onDraw()
125 kernelOffset.fY = 1; in onDraw()
127 this->draw(canvas, 310, 10, kernelOffset, SkTileMode::kClamp, true, &smallRect); in onDraw()
128 this->draw(canvas, 310, 110, kernelOffset, SkTileMode::kDecal, true, &smallRect); in onDraw()
129 this->draw(canvas, 310, 210, kernelOffset, SkTileMode::kRepeat, true, &smallRect); in onDraw()
131 this->draw(canvas, 410, 10, kernelOffset, SkTileMode::kClamp, false, &rect); in onDraw()
132 this->draw(canvas, 410, 110, kernelOffset, SkTileMode::kDecal, false, &rect); in onDraw()
133 this->draw(canvas, 410, 210, kernelOffset, SkTileMode::kRepeat, false, &rect); in onDraw()