5#ifndef FLUTTER_DISPLAY_LIST_EFFECTS_COLOR_SOURCES_DL_CONICAL_GRADIENT_COLOR_SOURCE_H_
6#define FLUTTER_DISPLAY_LIST_EFFECTS_COLOR_SOURCES_DL_CONICAL_GRADIENT_COLOR_SOURCE_H_
20 std::shared_ptr<DlColorSource>
shared()
const override;
33 virtual const void*
pod()
const override {
return this + 1; }
38 template <
typename Colors>
56 explicit DlConicalGradientColorSource(
57 const DlConicalGradientColorSource* source);
std::shared_ptr< DlColorSource > shared() const override
DlScalar start_radius() const
bool equals_(DlColorSource const &other) const override
DlPoint start_center() const
DlScalar end_radius() 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 DlConicalGradientColorSource * asConicalGradient() const override
DlPoint end_center() const
virtual const void * pod() const override
size_t size() const override
DlColorSourceType type() const override
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
#define FML_DISALLOW_COPY_ASSIGN_AND_MOVE(TypeName)
impeller::Scalar DlScalar
A 4x4 matrix using column-major storage.