5#ifndef FLUTTER_DISPLAY_LIST_EFFECTS_COLOR_SOURCES_DL_SWEEP_GRADIENT_COLOR_SOURCE_H_
6#define FLUTTER_DISPLAY_LIST_EFFECTS_COLOR_SOURCES_DL_SWEEP_GRADIENT_COLOR_SOURCE_H_
20 std::shared_ptr<DlColorSource>
shared()
const override;
32 virtual const void*
pod()
const override {
return this + 1; }
37 template <
typename Colors>
53 explicit DlSweepGradientColorSource(
const DlSweepGradientColorSource* 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
virtual const void * pod() const override
DlColorSourceType type() const override
bool equals_(DlColorSource const &other) 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...
size_t size() const override
std::shared_ptr< DlColorSource > shared() const override
const DlSweepGradientColorSource * asSweepGradient() const override
#define FML_DISALLOW_COPY_ASSIGN_AND_MOVE(TypeName)
impeller::Scalar DlScalar
A 4x4 matrix using column-major storage.