Definition at line 147 of file animatedimageblurs.cpp.
◆ AnimatedTiledImageBlur()
AnimatedTiledImageBlur::AnimatedTiledImageBlur |
( |
| ) |
|
|
inline |
◆ getISize()
SkISize AnimatedTiledImageBlur::getISize |
( |
| ) |
|
|
inlineoverrideprotectedvirtual |
◆ getName()
SkString AnimatedTiledImageBlur::getName |
( |
| ) |
const |
|
inlineoverrideprotectedvirtual |
◆ onAnimate()
bool AnimatedTiledImageBlur::onAnimate |
( |
double |
nanos | ) |
|
|
inlineoverrideprotectedvirtual |
Reimplemented from skiagm::GM.
Definition at line 184 of file animatedimageblurs.cpp.
184 {
186 0.f, 0.0f, kMaxBlurSigma);
187 return true;
188 }
static float PingPong(double time, float period, float phase, float ends, float mid)
◆ onDraw()
void AnimatedTiledImageBlur::onDraw |
( |
SkCanvas * |
canvas | ) |
|
|
inlineoverrideprotectedvirtual |
Reimplemented from skiagm::GM.
Definition at line 166 of file animatedimageblurs.cpp.
166 {
167 auto drawBlurredImage = [&](
float tx,
float ty,
SkTileMode tileMode) {
176 };
177
182 }
void translate(SkScalar dx, SkScalar dy)
void drawImageRect(const SkImage *, const SkRect &src, const SkRect &dst, const SkSamplingOptions &, const SkPaint *, SrcRectConstraint)
static sk_sp< SkImageFilter > Blur(SkScalar sigmaX, SkScalar sigmaY, SkTileMode tileMode, sk_sp< SkImageFilter > input, const CropRect &cropRect={})
sk_sp< SkBlender > blender SkRect rect
static SkRect MakeIWH(int w, int h)
◆ onOnceBeforeDraw()
void AnimatedTiledImageBlur::onOnceBeforeDraw |
( |
| ) |
|
|
inlineoverrideprotectedvirtual |
◆ runAsBench()
bool AnimatedTiledImageBlur::runAsBench |
( |
| ) |
const |
|
inlineoverrideprotectedvirtual |
The documentation for this class was generated from the following file: