| Flutter Impeller |

Namespaces | Functions
skia_conversions.h File Reference
`#include "display_list/dl_color.h"`
`#include "display_list/effects/dl_color_source.h"`
`#include "impeller/core/formats.h"`
`#include "impeller/core/sampler_descriptor.h"`
`#include "impeller/geometry/color.h"`
`#include "impeller/geometry/path.h"`
`#include "impeller/geometry/path_builder.h"`
`#include "impeller/geometry/point.h"`
`#include "impeller/geometry/rect.h"`
`#include "third_party/skia/include/core/SkColorType.h"`
`#include "third_party/skia/include/core/SkPath.h"`
`#include "third_party/skia/include/core/SkPoint.h"`
`#include "third_party/skia/include/core/SkRRect.h"`
`#include "third_party/skia/include/core/SkRSXform.h"`
`#include "third_party/skia/include/core/SkTextBlob.h"`

Go to the source code of this file.

## Namespaces
| impeller
| impeller::skia_conversions

## Functions
bool | impeller::skia_conversions::IsNearlySimpleRRect (const SkRRect &rr)
| Like SkRRect.isSimple, but allows the corners to differ by kEhCloseEnough. More...
Rect | impeller::skia_conversions::ToRect (const SkRect &rect)
std::optional< Rect > | impeller::skia_conversions::ToRect (const SkRect *rect)
std::optional< const Rect > | impeller::skia_conversions::ToRect (const flutter::DlRect *rect)
std::vector< Rect > | impeller::skia_conversions::ToRects (const SkRect tex[], int count)
std::vector< Rect > | impeller::skia_conversions::ToRects (const flutter::DlRect tex[], int count)
std::vector< Point > | impeller::skia_conversions::ToPoints (const SkPoint points[], int count)
std::vector< Point > | impeller::skia_conversions::ToPoints (const flutter::DlPoint points[], int count)
Point | impeller::skia_conversions::ToPoint (const SkPoint &point)
Size | impeller::skia_conversions::ToSize (const SkPoint &point)
Color | impeller::skia_conversions::ToColor (const flutter::DlColor &color)
Matrix | impeller::skia_conversions::ToRSXForm (const SkRSXform &form)
PathBuilder::RoundingRadii | impeller::skia_conversions::ToRoundingRadii (const SkRRect &rrect)
Path | impeller::skia_conversions::ToPath (const SkRRect &rrect)
std::optional< impeller::PixelFormat > | impeller::skia_conversions::ToPixelFormat (SkColorType type)
impeller::SamplerDescriptor | impeller::skia_conversions::ToSamplerDescriptor (const flutter::DlImageSampling options)
Matrix | impeller::skia_conversions::ToMatrix (const SkMatrix &m)
BlendMode | impeller::skia_conversions::ToBlendMode (flutter::DlBlendMode mode)
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. More...