Flutter Engine
The Flutter Engine
SkBlender.h
Go to the documentation of this file.
1/*
2 * Copyright 2021 Google LLC
3 *
4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file.
6 */
7
8#ifndef SkBlender_DEFINED
9#define SkBlender_DEFINED
10
13
14/**
15 * SkBlender represents a custom blend function in the Skia pipeline. When an SkBlender is
16 * present in a paint, the SkBlendMode is ignored. A blender combines a source color (the
17 * result of our paint) and destination color (from the canvas) into a final color.
18 */
20public:
21 /**
22 * Create a blender that implements the specified BlendMode.
23 */
25
26private:
27 SkBlender() = default;
28 friend class SkBlenderBase;
29};
30
31#endif
#define SK_API
Definition: SkAPI.h:35
SkBlendMode
Definition: SkBlendMode.h:38
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
Definition: switches.h:228