5#ifndef FLUTTER_FLOW_STOPWATCH_DL_H_
6#define FLUTTER_FLOW_STOPWATCH_DL_H_
50 std::vector<SkPoint> vertices_;
51 std::vector<DlColor> colors_;
Developer-facing API for rendering anything within the engine.
void Visualize(DlCanvas *canvas, const SkRect &rect) const override
Renders the stopwatch as a graph.
DlStopwatchVisualizer(const Stopwatch &stopwatch)
Provides canvas-like painting methods that actually build vertices.
void DrawRect(const SkRect &rect, const DlColor &color)
Draws a rectangle with the given color to a buffer.
std::shared_ptr< DlVertices > IntoVertices()
Abstract class for visualizing (i.e. drawing) a stopwatch.
sk_sp< SkBlender > blender SkRect rect