Inherits signalsmith::plot::SvgDrawable.
Inherited by signalsmith::plot::Line2D::LineLabel.
|
| TextLabel (Point2D at, double alignment, std::string text, std::string cssClass="svg-plot-label", bool vertical=false, bool isValue=false) |
|
void | writeLabel (SvgWriter &svg, const PlotStyle &style) override |
|
| SvgDrawable (const SvgDrawable &other)=delete |
|
SvgDrawable & | operator= (const SvgDrawable &other)=delete |
|
Bounds | layoutIfNeeded (const PlotStyle &style) |
|
void | addChild (SvgDrawable *child, bool front=false) |
| Takes ownership of the child. More...
|
|
virtual void | writeData (SvgWriter &svg, const PlotStyle &style) |
|
virtual void | toFrame (double time, bool clear=true) |
| Creates a frame from the current stat, and optionally clears the state ready for the next frame. More...
|
|
virtual void | loopFrame (double loopTime) |
| Sets loop time (or < 0 to disable) More...
|
|
virtual void | clearFrames () |
| Removes all animation frames. Mostly useful if re-using the diagram for multiple animations. More...
|
|
|
Point2D | drawAt |
|
double | alignment = 0 |
|
std::string | text |
|
std::string | cssClass |
|
bool | vertical |
|
bool | isValue |
|
Bounds | bounds |
|