Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Namespaces | Functions
gradient.cc File Reference
#include <algorithm>
#include "flutter/fml/logging.h"
#include "impeller/geometry/gradient.h"

Go to the source code of this file.

Namespaces

namespace  impeller
 

Functions

static void impeller::AppendColor (const Color &color, GradientData *data)
 
GradientData impeller::CreateGradientBuffer (const std::vector< Color > &colors, const std::vector< Scalar > &stops)
 Populate a vector with the interpolated color bytes for the linear gradient described by colors and stops.