Definition at line 89 of file runtimecolorfilter.cpp.
◆ RuntimeColorFilterGM()
RuntimeColorFilterGM::RuntimeColorFilterGM |
( |
| ) |
|
|
default |
◆ getISize()
SkISize RuntimeColorFilterGM::getISize |
( |
| ) |
|
|
inlineoverrideprotectedvirtual |
◆ getName()
SkString RuntimeColorFilterGM::getName |
( |
| ) |
const |
|
inlineoverrideprotectedvirtual |
◆ onDraw()
void RuntimeColorFilterGM::onDraw |
( |
SkCanvas * |
canvas | ) |
|
|
inlineoverrideprotectedvirtual |
Reimplemented from skiagm::GM.
Definition at line 102 of file runtimecolorfilter.cpp.
102 {
103 auto draw_filter = [&](
const char*
src) {
105 if (!effect) {
107 }
110 p.setColorFilter(effect->makeColorFilter(
nullptr));
113 };
114
117 }
121 }
122 }
void SK_SPI SkDebugf(const char format[],...) SK_PRINTF_LIKE(1
void translate(SkScalar dx, SkScalar dy)
void drawImage(const SkImage *image, SkScalar left, SkScalar top)
static Result MakeForColorFilter(SkString sksl, const Options &)
SkSamplingOptions(SkFilterMode::kLinear))
const char * gEarlyReturn
◆ onOnceBeforeDraw()
void RuntimeColorFilterGM::onOnceBeforeDraw |
( |
| ) |
|
|
inlineoverrideprotectedvirtual |
◆ fImg
The documentation for this class was generated from the following file: