14 #include "msdevstudio/MSconfig.h"
25 using namespace hippodraw;
51 string tex_snippet =
m_text.substr(4);
virtual RepBase * clone()
Returns a copy of the object.
virtual void drawLatex(const std::string &eq, int position=0)
Draws a Latex equation.
size_t ci_find(const string &str1, const string &str2)
Case insensitive find.
A TextRepBase class that draws a user defined string.
A base class for representations that draws a value as text.
The namespace for conversion to string.
BoxTextRep()
The default constructor.
Color m_color
The color of the representation.
float m_size
The size of the representation.
virtual void drawProjectedValues(ProjectorBase &projector, ViewBase &view)
The base class for the Projector hierarchy.
std::string m_text
The text to be displayed before the statistics.
The abstract base class for views.
virtual void drawText(const std::string &s, float x, float y, float fontsize, float angle=0.0, char xp= 'l', char yp= 't', bool resize=false, const FontBase *font=0, const Color *color=0)=0
Draws a text string at a point in the view's coordinate system.
hippodraw::BoxTextRep class interface
hippodraw::ViewBase class interface
hippodraw::NTupleProjector class interface
The base class for the point representation hierarchy.