Flutter Engine
The Flutter Engine
|
#include <gradient.h>
Public Member Functions | |
~CanvasGradient () override | |
void | initLinear (const tonic::Float32List &end_points, const tonic::Int32List &colors, const tonic::Float32List &color_stops, DlTileMode tile_mode, const tonic::Float64List &matrix4) |
void | initRadial (double center_x, double center_y, double radius, const tonic::Int32List &colors, const tonic::Float32List &color_stops, DlTileMode tile_mode, const tonic::Float64List &matrix4) |
void | initSweep (double center_x, double center_y, const tonic::Int32List &colors, const tonic::Float32List &color_stops, DlTileMode tile_mode, double start_angle, double end_angle, const tonic::Float64List &matrix4) |
void | initTwoPointConical (double start_x, double start_y, double start_radius, double end_x, double end_y, double end_radius, const tonic::Int32List &colors, const tonic::Float32List &color_stops, DlTileMode tile_mode, const tonic::Float64List &matrix4) |
std::shared_ptr< DlColorSource > | shader (DlImageSampling sampling) override |
Public Member Functions inherited from flutter::Shader | |
~Shader () override | |
virtual std::shared_ptr< DlColorSource > | shader (DlImageSampling)=0 |
Public Member Functions inherited from flutter::RefCountedDartWrappable< Shader > | |
virtual void | RetainDartWrappableReference () const override |
virtual void | ReleaseDartWrappableReference () const override |
Public Member Functions inherited from fml::RefCountedThreadSafe< Shader > | |
void | Release () const |
Public Member Functions inherited from fml::internal::RefCountedThreadSafeBase | |
void | AddRef () const |
bool | HasOneRef () const |
void | AssertHasOneRef () const |
Public Member Functions inherited from tonic::DartWrappable | |
DartWrappable () | |
virtual const DartWrapperInfo & | GetDartWrapperInfo () const =0 |
virtual void | RetainDartWrappableReference () const =0 |
virtual void | ReleaseDartWrappableReference () const =0 |
Dart_Handle | CreateDartWrapper (DartState *dart_state) |
void | AssociateWithDartWrapper (Dart_Handle wrappable) |
void | ClearDartWrapper () |
Dart_WeakPersistentHandle | dart_wrapper () const |
Static Public Member Functions | |
static void | Create (Dart_Handle wrapper) |
Additional Inherited Members | |
Public Types inherited from tonic::DartWrappable | |
enum | DartNativeFields { kPeerIndex , kNumberOfNativeFields } |
Protected Member Functions inherited from flutter::Shader | |
Shader () | |
Protected Member Functions inherited from fml::RefCountedThreadSafe< Shader > | |
RefCountedThreadSafe () | |
~RefCountedThreadSafe () | |
Protected Member Functions inherited from fml::internal::RefCountedThreadSafeBase | |
RefCountedThreadSafeBase () | |
~RefCountedThreadSafeBase () | |
bool | Release () const |
void | Adopt () |
Protected Member Functions inherited from tonic::DartWrappable | |
virtual | ~DartWrappable () |
Static Protected Member Functions inherited from tonic::DartWrappable | |
static Dart_PersistentHandle | GetTypeForWrapper (tonic::DartState *dart_state, const tonic::DartWrapperInfo &wrapper_info) |
Definition at line 15 of file gradient.h.
|
overridedefault |
|
static |
Definition at line 20 of file gradient.cc.
void flutter::CanvasGradient::initLinear | ( | const tonic::Float32List & | end_points, |
const tonic::Int32List & | colors, | ||
const tonic::Float32List & | color_stops, | ||
DlTileMode | tile_mode, | ||
const tonic::Float64List & | matrix4 | ||
) |
Definition at line 26 of file gradient.cc.
void flutter::CanvasGradient::initRadial | ( | double | center_x, |
double | center_y, | ||
double | radius, | ||
const tonic::Int32List & | colors, | ||
const tonic::Float32List & | color_stops, | ||
DlTileMode | tile_mode, | ||
const tonic::Float64List & | matrix4 | ||
) |
Definition at line 57 of file gradient.cc.
void flutter::CanvasGradient::initSweep | ( | double | center_x, |
double | center_y, | ||
const tonic::Int32List & | colors, | ||
const tonic::Float32List & | color_stops, | ||
DlTileMode | tile_mode, | ||
double | start_angle, | ||
double | end_angle, | ||
const tonic::Float64List & | matrix4 | ||
) |
Definition at line 86 of file gradient.cc.
void flutter::CanvasGradient::initTwoPointConical | ( | double | start_x, |
double | start_y, | ||
double | start_radius, | ||
double | end_x, | ||
double | end_y, | ||
double | end_radius, | ||
const tonic::Int32List & | colors, | ||
const tonic::Float32List & | color_stops, | ||
DlTileMode | tile_mode, | ||
const tonic::Float64List & | matrix4 | ||
) |
Definition at line 118 of file gradient.cc.
|
inlineoverridevirtual |
Implements flutter::Shader.
Definition at line 57 of file gradient.h.