Inherits signalsmith::plot::TextLabel.
Methods | |
| LineLabel (Axis &axisX, Axis &axisY, Point2D at, std::string name, double degrees, double distance, PlotStyle::Counter &styleIndex) | |
| void | writeLabel (SvgWriter &svg, const PlotStyle &style) override |
Methods inherited from signalsmith::plot::TextLabel | |
| TextLabel (Point2D at, double alignment, std::string text, std::string cssClass="svg-plot-label", bool vertical=false, int typeIndex=0) | |
| void | writeLabel (SvgWriter &svg, const PlotStyle &) override |
Methods inherited from signalsmith::plot::SvgDrawable | |
| 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. | |
| 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. | |
| virtual void | loopFrame (double loopTime) |
| Sets loop time (or < 0 to disable) for this element and all children. | |
| virtual void | clearFrames () |
| Removes all animation frames. Mostly useful if re-using the diagram for multiple animations. | |
Protected Member Functions | |
| void | layout (const PlotStyle &style) override |
Protected Member Functions inherited from signalsmith::plot::TextLabel | |
| void | layout (const PlotStyle &style) override |
Protected Member Functions inherited from signalsmith::plot::SvgDrawable | |
| void | invalidateLayout () |
| void | addLayoutChild (SvgDrawable *child) |
| These children are removed when the layout is invalidated. | |
Additional Inherited Members | |
Protected Attributes inherited from signalsmith::plot::TextLabel | |
| Point2D | drawAt |
| double | alignment = 0 |
| std::string | text |
| std::string | cssClass |
| bool | vertical |
| double | fontSize = 0 |
| int | typeIndex = 0 |
Protected Attributes inherited from signalsmith::plot::SvgDrawable | |
| Bounds | bounds |
|
inlineoverrideprotectedvirtual |
Reimplemented from signalsmith::plot::SvgDrawable.
|
inlineoverridevirtual |
Reimplemented from signalsmith::plot::SvgDrawable.