174 {
175 if (!fInitialized) {
179 if (img) {
182 }
186 if (img) {
191 }
193 fInitialized = true;
194 }
195
197
199
201
203
205 };
206 if (fUseLocalMatrix) {
209 }
210 }
211
214
216
219 for (int alpha = 0xFF; alpha > 0; alpha -= 0x28) {
220 paint.setAlpha(alpha);
221 paint.setShader(shaders[
y]);
223
225 }
228 }
229 }
@ kDstOver
r = d + (1-da)*s
constexpr SkColor SK_ColorYELLOW
sk_sp< SkShader > makeShader(SkTileMode tmx, SkTileMode tmy, const SkSamplingOptions &, const SkMatrix *localMatrix=nullptr) const
void drawRect(const SkRect &rect, const SkPaint &paint)
void translate(SkScalar dx, SkScalar dy)
sk_sp< SkShader > makeShader(SkTileMode tmx, SkTileMode tmy, const SkSamplingOptions &, const SkMatrix *localMatrix=nullptr) const
static SkMatrix Translate(SkScalar dx, SkScalar dy)
static const SkMatrix & I()
sk_sp< SkShader > makeWithLocalMatrix(const SkMatrix &) const
static sk_sp< SkShader > make_linear_gradient_shader(int length)
static void draw_color_bm(SkBitmap *bm, int length)
static void draw_alpha8_bm(SkBitmap *bm, int length)
SK_API sk_sp< SkImage > RasterFromBitmap(const SkBitmap &bitmap)
SK_API sk_sp< SkShader > Blend(SkBlendMode mode, sk_sp< SkShader > dst, sk_sp< SkShader > src)
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 mode
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
SkSamplingOptions(SkFilterMode::kLinear))
static SkRect MakeIWH(int w, int h)
constexpr float height() const
constexpr float width() const