55 virtual ~
Line() =
default;
57 TRASE_GEOMETRY_DISPATCH_BACKENDS
68 template <
typename Backend>
void draw(
Backend &backend,
float time);
73 template <
typename AnimatedBackend>
80 template <
typename Backend>
84 template <
typename AnimatedBackend>
86 template <
typename AnimatedBackend>
88 template <
typename Backend>
void draw_plot(
Backend &backend);
89 template <
typename Backend>
void draw_highlights(
Backend &backend);
94 #include "frontend/Line.tcc" a base class for all the backends that support drawing a single frame
Definition: Backend.hpp:50
Line(Axis *parent)
create a new Line, connecting it to the parent
Definition: Line.hpp:54
An 2D axis that can contain zero or more Geometry objects.
Definition: Axis.hpp:85
void draw_legend(AnimatedBackend &backend, const bfloat2_t &box)
draw the full line legend animation
TRASE_GEOMETRY_DISPATCH_BACKENDS void draw(AnimatedBackend &backend)
draw the full line animation using the AnimatedBackend
a base class for all the backends that support animation over time
Definition: Backend.hpp:62
Definition: Geometry.hpp:54
A single line made up of one or more points connected by straight lines.
Definition: Line.hpp:51
Definition: Backend.cpp:39
available geometry types are Points, Line.