5#ifndef FLUTTER_DISPLAY_LIST_EFFECTS_COLOR_SOURCES_DL_RADIAL_GRADIENT_COLOR_SOURCE_H_
6#define FLUTTER_DISPLAY_LIST_EFFECTS_COLOR_SOURCES_DL_RADIAL_GRADIENT_COLOR_SOURCE_H_
20 std::shared_ptr<DlColorSource>
shared()
const override;
31 virtual const void*
pod()
const override {
return this + 1; }
36 template <
typename Colors>
50 explicit DlRadialGradientColorSource(
51 const DlRadialGradientColorSource* source);
void store_color_stops(void *pod, const DlColor *color_data, const float *stop_data)
DlTileMode tile_mode() const
const DlColor * colors() const
const float * stops() const
size_t vector_sizes() const
const DlMatrix & matrix() const
DlColorSourceType type() const override
std::shared_ptr< DlColorSource > shared() const override
bool equals_(DlColorSource const &other) const override
size_t size() 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 potent...
virtual const void * pod() const override
const DlRadialGradientColorSource * asRadialGradient() const override
#define FML_DISALLOW_COPY_ASSIGN_AND_MOVE(TypeName)
impeller::Scalar DlScalar
A 4x4 matrix using column-major storage.