5#ifndef FLUTTER_DISPLAY_LIST_EFFECTS_COLOR_SOURCES_DL_LINEAR_GRADIENT_COLOR_SOURCE_H_
6#define FLUTTER_DISPLAY_LIST_EFFECTS_COLOR_SOURCES_DL_LINEAR_GRADIENT_COLOR_SOURCE_H_
25 std::shared_ptr<DlColorSource>
shared()
const override;
31 virtual const void*
pod()
const override {
return this + 1; }
36 template <
typename Colors>
50 explicit DlLinearGradientColorSource(
51 const DlLinearGradientColorSource* 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
size_t size() const override
const DlPoint & end_point() const
virtual const void * pod() const override
const DlPoint & start_point() const
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...
const DlLinearGradientColorSource * asLinearGradient() const override
DlColorSourceType type() const override
std::shared_ptr< DlColorSource > shared() const override
bool equals_(DlColorSource const &other) const override
const DlMatrix & matrix() const
#define FML_DISALLOW_COPY_ASSIGN_AND_MOVE(TypeName)
A 4x4 matrix using column-major storage.