Definition at line 58 of file imageblurclampmode.cpp.
◆ ImageBlurClampModeGM()
skiagm::ImageBlurClampModeGM::ImageBlurClampModeGM |
( |
| ) |
|
|
inline |
◆ getISize()
SkISize skiagm::ImageBlurClampModeGM::getISize |
( |
| ) |
|
|
inlineoverrideprotectedvirtual |
◆ getName()
SkString skiagm::ImageBlurClampModeGM::getName |
( |
| ) |
const |
|
inlineoverrideprotectedvirtual |
◆ onDraw()
void skiagm::ImageBlurClampModeGM::onDraw |
( |
SkCanvas * |
canvas | ) |
|
|
inlineoverrideprotectedvirtual |
Reimplemented from skiagm::GM.
Definition at line 71 of file imageblurclampmode.cpp.
71 {
74
76
77
78 for (auto sigma: { 0.6f, 3.0f, 8.0f, 20.0f }) {
80
81
86
87
92
93
98
100
102 }
103 }
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)
sk_sp< const SkImage > image
static sk_sp< SkImage > make_image(SkColorType colorType, SkAlphaType alphaType)
◆ runAsBench()
bool skiagm::ImageBlurClampModeGM::runAsBench |
( |
| ) |
const |
|
inlineoverrideprotectedvirtual |
The documentation for this class was generated from the following file: