Definition at line 77 of file imageblurrepeatmode.cpp.
◆ ImageBlurRepeatModeGM()
skiagm::ImageBlurRepeatModeGM::ImageBlurRepeatModeGM |
( |
| ) |
|
|
inline |
◆ getISize()
SkISize skiagm::ImageBlurRepeatModeGM::getISize |
( |
| ) |
|
|
inlineoverrideprotectedvirtual |
◆ getName()
SkString skiagm::ImageBlurRepeatModeGM::getName |
( |
| ) |
const |
|
inlineoverrideprotectedvirtual |
◆ onDraw()
void skiagm::ImageBlurRepeatModeGM::onDraw |
( |
SkCanvas * |
canvas | ) |
|
|
inlineoverrideprotectedvirtual |
Reimplemented from skiagm::GM.
Definition at line 90 of file imageblurrepeatmode.cpp.
90 {
94
96
97
98 for (auto sigma: { 0.6f, 3.0f, 8.0f, 20.0f }) {
99
105
110
115
118 }
119 }
void translate(SkScalar dx, SkScalar dy)
static sk_sp< SkImageFilter > Blur(SkScalar sigmaX, SkScalar sigmaY, SkTileMode tileMode, sk_sp< SkImageFilter > input, const CropRect &cropRect={})
static void draw_image(SkCanvas *canvas, const sk_sp< SkImage > image, sk_sp< SkImageFilter > filter)
Optional< SkRect > bounds
sk_sp< const SkImage > image
static sk_sp< SkImage > make_image(SkColorType colorType, SkAlphaType alphaType)
◆ runAsBench()
bool skiagm::ImageBlurRepeatModeGM::runAsBench |
( |
| ) |
const |
|
inlineoverrideprotectedvirtual |
The documentation for this class was generated from the following file: