Definition at line 95 of file gradients_no_texture.cpp.
◆ GradientsNoTextureGM()
GradientsNoTextureGM::GradientsNoTextureGM |
( |
bool |
dither | ) |
|
|
inline |
◆ getISize()
SkISize GradientsNoTextureGM::getISize |
( |
| ) |
|
|
inlineoverrideprotectedvirtual |
◆ getName()
SkString GradientsNoTextureGM::getName |
( |
| ) |
const |
|
inlineoverrideprotectedvirtual |
◆ onDraw()
void GradientsNoTextureGM::onDraw |
( |
SkCanvas * |
canvas | ) |
|
|
inlineoverrideprotectedvirtual |
Reimplemented from skiagm::GM.
Definition at line 108 of file gradients_no_texture.cpp.
108 {
114 paint.setAntiAlias(
true);
115 paint.setDither(fDither);
116
118 constexpr uint8_t kAlphas[] = { 0xff, 0x40 };
124 paint.setAlpha(kAlphas[
a]);
127 }
130 }
131 }
132 }
void drawRect(const SkRect &rect, const SkPaint &paint)
void translate(SkScalar dx, SkScalar dy)
constexpr GradData gGradData[]
constexpr GradMaker gGradMakers[]
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
static constexpr SkPoint kPts[kPtsCount]
The documentation for this class was generated from the following file: