Definition at line 106 of file highcontrastfilter.cpp.
◆ getISize()
SkISize HighContrastFilterGM::getISize |
( |
| ) |
|
|
inlineoverrideprotectedvirtual |
◆ getName()
SkString HighContrastFilterGM::getName |
( |
| ) |
const |
|
inlineoverrideprotectedvirtual |
◆ onDraw()
void HighContrastFilterGM::onDraw |
( |
SkCanvas * |
canvas | ) |
|
|
inlineoverrideprotectedvirtual |
Reimplemented from skiagm::GM.
Definition at line 129 of file highcontrastfilter.cpp.
129 {
139 };
140
150 }
151 }
void translate(SkScalar dx, SkScalar dy)
void scale(SkScalar sx, SkScalar sy)
static void draw_label(SkCanvas *canvas, const SkHighContrastConfig &config)
static void draw_scene(SkCanvas *canvas, const SkHighContrastConfig &config)
it will be possible to load the file into Perfetto s trace viewer disable asset Prevents usage of any non test fonts unless they were explicitly Loaded via prefetched default font Indicates whether the embedding started a prefetch of the default font manager before creating the engine run In non interactive keep the shell running after the Dart script has completed enable serial On low power devices with low core running concurrent GC tasks on threads can cause them to contend with the UI thread which could potentially lead to jank This option turns off all concurrent GC activities domain network JSON encoded network policy per domain This overrides the DisallowInsecureConnections switch Embedder can specify whether to allow or disallow insecure connections at a domain level old gen heap size
◆ onOnceBeforeDraw()
void HighContrastFilterGM::onOnceBeforeDraw |
( |
| ) |
|
|
inlineoverrideprotectedvirtual |
Reimplemented from skiagm::GM.
Definition at line 108 of file highcontrastfilter.cpp.
108 {
111 SkPoint g1Points[] = { { 0, 0 }, { 0, 100 } };
114
123 }
static constexpr SkColor SkColorSetA(SkColor c, U8CPU a)
static sk_sp< SkShader > MakeLinear(const SkPoint pts[2], const SkColor colors[], const SkScalar pos[], int count, SkTileMode mode, uint32_t flags=0, const SkMatrix *localMatrix=nullptr)
static sk_sp< SkColorFilter > Make(const SkHighContrastConfig &config)
The documentation for this class was generated from the following file: