#include <dl_color_source.h>
|
static std::shared_ptr< DlLinearGradientColorSource > | MakeLinear (const SkPoint start_point, const SkPoint end_point, uint32_t stop_count, const DlColor *colors, const float *stops, DlTileMode tile_mode, const SkMatrix *matrix=nullptr) |
|
static std::shared_ptr< DlRadialGradientColorSource > | MakeRadial (SkPoint center, SkScalar radius, uint32_t stop_count, const DlColor *colors, const float *stops, DlTileMode tile_mode, const SkMatrix *matrix=nullptr) |
|
static std::shared_ptr< DlConicalGradientColorSource > | MakeConical (SkPoint start_center, SkScalar start_radius, SkPoint end_center, SkScalar end_radius, uint32_t stop_count, const DlColor *colors, const float *stops, DlTileMode tile_mode, const SkMatrix *matrix=nullptr) |
|
static std::shared_ptr< DlSweepGradientColorSource > | MakeSweep (SkPoint center, SkScalar start, SkScalar end, uint32_t stop_count, const DlColor *colors, const float *stops, DlTileMode tile_mode, const SkMatrix *matrix=nullptr) |
|
static std::shared_ptr< DlRuntimeEffectColorSource > | MakeRuntimeEffect (sk_sp< DlRuntimeEffect > runtime_effect, std::vector< std::shared_ptr< DlColorSource > > samplers, std::shared_ptr< std::vector< uint8_t > > uniform_data) |
|
Definition at line 363 of file dl_color_source.h.
◆ asLinearGradient()
◆ end_point()
const SkPoint & flutter::DlLinearGradientColorSource::end_point |
( |
| ) |
const |
|
inline |
◆ equals_()
bool flutter::DlLinearGradientColorSource::equals_ |
( |
DlColorSource const & |
other | ) |
const |
|
inlineoverrideprotectedvirtual |
◆ isUIThreadSafe()
bool flutter::DlLinearGradientColorSource::isUIThreadSafe |
( |
| ) |
const |
|
inlineoverridevirtual |
If the underlying platform data held by this object is held in a way that it can be stored and potentially released from the UI thread, this method returns true.
- Returns
- True if the class has no GPU related resources or if any that it holds are held in a thread-safe manner.
Implements flutter::DlColorSource.
Definition at line 369 of file dl_color_source.h.
◆ pod()
virtual const void * flutter::DlLinearGradientColorSource::pod |
( |
| ) |
const |
|
inlineoverrideprotectedvirtual |
◆ shared()
std::shared_ptr< DlColorSource > flutter::DlLinearGradientColorSource::shared |
( |
| ) |
const |
|
inlineoverridevirtual |
Implements flutter::DlAttribute< DlColorSource, DlColorSourceType >.
Definition at line 376 of file dl_color_source.h.
376 {
379 }
static std::shared_ptr< DlLinearGradientColorSource > MakeLinear(const SkPoint start_point, const SkPoint end_point, uint32_t stop_count, const DlColor *colors, const float *stops, DlTileMode tile_mode, const SkMatrix *matrix=nullptr)
DlTileMode tile_mode() const
const DlColor * colors() const
const float * stops() const
const SkMatrix * matrix_ptr() const
◆ size()
size_t flutter::DlLinearGradientColorSource::size |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ start_point()
const SkPoint & flutter::DlLinearGradientColorSource::start_point |
( |
| ) |
const |
|
inline |
◆ type()
◆ DisplayListBuilder
◆ DlColorSource
The documentation for this class was generated from the following file: