#include <dl_sweep_gradient_color_source.h>
Public Member Functions | |
| const DlSweepGradientColorSource * | asSweepGradient () const override |
| bool | isUIThreadSafe () const override |
| 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. | |
| std::shared_ptr< DlColorSource > | shared () const override |
| DlColorSourceType | type () const override |
| size_t | size () const override |
| DlPoint | center () const |
| DlScalar | start () const |
| DlScalar | end () const |
Public Member Functions inherited from flutter::DlGradientColorSourceBase | |
| bool | is_opaque () const override |
| bool | isGradient () const override |
| If the underlying platform data represents a gradient. | |
| DlTileMode | tile_mode () const |
| int | stop_count () const |
| const DlColor * | colors () const |
| const float * | stops () const |
Public Member Functions inherited from flutter::DlMatrixColorSourceBase | |
| const DlMatrix & | matrix () const |
| const DlMatrix * | matrix_ptr () const |
Public Member Functions inherited from flutter::DlColorSource | |
| virtual const DlImageColorSource * | asImage () const |
| virtual const DlLinearGradientColorSource * | asLinearGradient () const |
| virtual const DlRadialGradientColorSource * | asRadialGradient () const |
| virtual const DlConicalGradientColorSource * | asConicalGradient () const |
| virtual const DlRuntimeEffectColorSource * | asRuntimeEffect () const |
Public Member Functions inherited from flutter::DlAttribute< DlColorSource, DlColorSourceType > | |
| bool | operator== (DlColorSource const &other) const |
| bool | operator!= (DlColorSource const &other) const |
| virtual | ~DlAttribute ()=default |
Protected Member Functions | |
| virtual const void * | pod () const override |
| bool | equals_ (DlColorSource const &other) const override |
Protected Member Functions inherited from flutter::DlGradientColorSourceBase | |
| DlGradientColorSourceBase (uint32_t stop_count, DlTileMode tile_mode, const DlMatrix *matrix=nullptr) | |
| size_t | vector_sizes () const |
| bool | base_equals_ (DlGradientColorSourceBase const *other_base) const |
| void | store_color_stops (void *pod, const DlColor *color_data, const float *stop_data) |
| void | store_color_stops (void *pod, const DlScalar *color_data_argb, const float *stop_data) |
Protected Member Functions inherited from flutter::DlMatrixColorSourceBase | |
| DlMatrixColorSourceBase (const DlMatrix *matrix) | |
Protected Member Functions inherited from flutter::DlColorSource | |
| DlColorSource ()=default | |
Friends | |
| class | DlColorSource |
| class | DisplayListBuilder |
Additional Inherited Members | |
Static Public Member Functions inherited from flutter::DlColorSource | |
| static std::shared_ptr< DlColorSource > | MakeImage (const sk_sp< const DlImage > &image, DlTileMode horizontal_tile_mode, DlTileMode vertical_tile_mode, DlImageSampling sampling=DlImageSampling::kLinear, const DlMatrix *matrix=nullptr) |
| static std::shared_ptr< DlColorSource > | MakeLinear (const DlPoint start_point, const DlPoint end_point, uint32_t stop_count, const DlColor *colors, const float *stops, DlTileMode tile_mode, const DlMatrix *matrix=nullptr) |
| static std::shared_ptr< DlColorSource > | MakeLinear (const DlPoint start_point, const DlPoint end_point, uint32_t stop_count, const DlScalar *colors_argb, const float *stops, DlTileMode tile_mode, const DlMatrix *matrix=nullptr) |
| Make a linear gradient. | |
| static std::shared_ptr< DlColorSource > | MakeRadial (DlPoint center, DlScalar radius, uint32_t stop_count, const DlColor *colors, const float *stops, DlTileMode tile_mode, const DlMatrix *matrix=nullptr) |
| static std::shared_ptr< DlColorSource > | MakeRadial (DlPoint center, DlScalar radius, uint32_t stop_count, const DlScalar *colors_argb, const float *stops, DlTileMode tile_mode, const DlMatrix *matrix=nullptr) |
| Make a radial gradient. | |
| static std::shared_ptr< DlColorSource > | MakeConical (DlPoint start_center, DlScalar start_radius, DlPoint end_center, DlScalar end_radius, uint32_t stop_count, const DlColor *colors, const float *stops, DlTileMode tile_mode, const DlMatrix *matrix=nullptr) |
| static std::shared_ptr< DlColorSource > | MakeConical (DlPoint start_center, DlScalar start_radius, DlPoint end_center, DlScalar end_radius, uint32_t stop_count, const DlScalar *colors_argb, const float *stops, DlTileMode tile_mode, const DlMatrix *matrix=nullptr) |
| Make a conical gradient. | |
| static std::shared_ptr< DlColorSource > | MakeSweep (DlPoint center, DlScalar start, DlScalar end, uint32_t stop_count, const DlColor *colors, const float *stops, DlTileMode tile_mode, const DlMatrix *matrix=nullptr) |
| static std::shared_ptr< DlColorSource > | MakeSweep (DlPoint center, DlScalar start, DlScalar end, uint32_t stop_count, const DlScalar *colors_argb, const float *stops, DlTileMode tile_mode, const DlMatrix *matrix=nullptr) |
| Make a sweep gradient. | |
| static std::shared_ptr< DlColorSource > | 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 12 of file dl_sweep_gradient_color_source.h.
|
inlineoverridevirtual |
Reimplemented from flutter::DlColorSource.
Definition at line 14 of file dl_sweep_gradient_color_source.h.
|
inline |
Definition at line 27 of file dl_sweep_gradient_color_source.h.
Referenced by impeller::Paint::CreateContents(), flutter::testing::DisplayListStreamDispatcher::setColorSource(), and flutter::ToSk().
|
inline |
Definition at line 29 of file dl_sweep_gradient_color_source.h.
Referenced by impeller::Paint::CreateContents(), flutter::testing::DisplayListStreamDispatcher::setColorSource(), and flutter::ToSk().
|
overrideprotectedvirtual |
Implements flutter::DlAttribute< DlColorSource, DlColorSourceType >.
Definition at line 25 of file dl_sweep_gradient_color_source.cc.
References FML_DCHECK, and flutter::DlAttribute< D, T >::type().
|
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.
Implements flutter::DlColorSource.
Definition at line 18 of file dl_sweep_gradient_color_source.h.
|
inlineoverrideprotectedvirtual |
Implements flutter::DlGradientColorSourceBase.
Definition at line 32 of file dl_sweep_gradient_color_source.h.
|
overridevirtual |
Implements flutter::DlAttribute< DlColorSource, DlColorSourceType >.
Definition at line 20 of file dl_sweep_gradient_color_source.cc.
|
inlineoverridevirtual |
Implements flutter::DlAttribute< DlColorSource, DlColorSourceType >.
Definition at line 25 of file dl_sweep_gradient_color_source.h.
References flutter::DlGradientColorSourceBase::vector_sizes().
|
inline |
Definition at line 28 of file dl_sweep_gradient_color_source.h.
Referenced by impeller::Paint::CreateContents(), flutter::testing::DisplayListStreamDispatcher::setColorSource(), and flutter::ToSk().
|
inlineoverridevirtual |
Implements flutter::DlAttribute< DlColorSource, DlColorSourceType >.
Definition at line 22 of file dl_sweep_gradient_color_source.h.
References flutter::kSweepGradient.
|
friend |
Definition at line 60 of file dl_sweep_gradient_color_source.h.
|
friend |
Definition at line 59 of file dl_sweep_gradient_color_source.h.