#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 568 of file dl_color_source.h.
◆ asSweepGradient()
◆ center()
SkPoint flutter::DlSweepGradientColorSource::center |
( |
| ) |
const |
|
inline |
◆ end()
SkScalar flutter::DlSweepGradientColorSource::end |
( |
| ) |
const |
|
inline |
◆ equals_()
bool flutter::DlSweepGradientColorSource::equals_ |
( |
DlColorSource const & |
other | ) |
const |
|
inlineoverrideprotectedvirtual |
◆ isUIThreadSafe()
bool flutter::DlSweepGradientColorSource::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 574 of file dl_color_source.h.
◆ pod()
virtual const void * flutter::DlSweepGradientColorSource::pod |
( |
| ) |
const |
|
inlineoverrideprotectedvirtual |
◆ shared()
std::shared_ptr< DlColorSource > flutter::DlSweepGradientColorSource::shared |
( |
| ) |
const |
|
inlineoverridevirtual |
Implements flutter::DlAttribute< DlColorSource, DlColorSourceType >.
Definition at line 576 of file dl_color_source.h.
576 {
579 }
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)
DlTileMode tile_mode() const
const DlColor * colors() const
const float * stops() const
const SkMatrix * matrix_ptr() const
◆ size()
size_t flutter::DlSweepGradientColorSource::size |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ start()
SkScalar flutter::DlSweepGradientColorSource::start |
( |
| ) |
const |
|
inline |
◆ type()
◆ DisplayListBuilder
◆ DlColorSource
The documentation for this class was generated from the following file: