Flutter Engine
The Flutter Engine
|
Functions | |
Rect | ToRect (const SkRect &rect) |
std::optional< Rect > | ToRect (const SkRect *rect) |
std::vector< Rect > | ToRects (const SkRect tex[], int count) |
std::vector< Point > | ToPoints (const SkPoint points[], int count) |
PathBuilder::RoundingRadii | ToRoundingRadii (const SkRRect &rrect) |
Path | ToPath (const SkPath &path, Point shift) |
Path | ToPath (const SkRRect &rrect) |
Point | ToPoint (const SkPoint &point) |
Size | ToSize (const SkPoint &point) |
Color | ToColor (const flutter::DlColor &color) |
std::vector< Matrix > | ToRSXForms (const SkRSXform xform[], int count) |
Path | PathDataFromTextBlob (const sk_sp< SkTextBlob > &blob, Point shift) |
std::optional< impeller::PixelFormat > | ToPixelFormat (SkColorType type) |
void | ConvertStops (const flutter::DlGradientColorSourceBase *gradient, std::vector< Color > &colors, std::vector< float > &stops) |
Convert display list colors + stops into impeller colors and stops, taking care to ensure that the stops monotonically increase from 0.0 to 1.0. | |
void impeller::skia_conversions::ConvertStops | ( | const flutter::DlGradientColorSourceBase * | gradient, |
std::vector< Color > & | colors, | ||
std::vector< float > & | stops | ||
) |
Convert display list colors + stops into impeller colors and stops, taking care to ensure that the stops monotonically increase from 0.0 to 1.0.
The general process is:
Definition at line 198 of file skia_conversions.cc.
Path impeller::skia_conversions::PathDataFromTextBlob | ( | const sk_sp< SkTextBlob > & | blob, |
Point | shift | ||
) |
Definition at line 174 of file skia_conversions.cc.
Color impeller::skia_conversions::ToColor | ( | const flutter::DlColor & | color | ) |
Definition at line 148 of file skia_conversions.cc.
Definition at line 49 of file skia_conversions.cc.
Definition at line 132 of file skia_conversions.cc.
std::optional< impeller::PixelFormat > impeller::skia_conversions::ToPixelFormat | ( | SkColorType | type | ) |
Definition at line 182 of file skia_conversions.cc.
Definition at line 140 of file skia_conversions.cc.
Definition at line 31 of file skia_conversions.cc.
Definition at line 12 of file skia_conversions.cc.
Definition at line 16 of file skia_conversions.cc.
PathBuilder::RoundingRadii impeller::skia_conversions::ToRoundingRadii | ( | const SkRRect & | rrect | ) |
Definition at line 39 of file skia_conversions.cc.
Definition at line 157 of file skia_conversions.cc.
Definition at line 144 of file skia_conversions.cc.