45 string text (
"Underflow_entries = " );
46 if ( underflow < 0 ) {
47 text +=
"meaningless";
hippodraw::NTupleProjector class interface
virtual int getUnderflow() const =0
Returns the number of underflow.
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.
UnderflowTextRep()
The default constructor.
hippodraw::ViewBase class interface
virtual RepBase * clone()
Returns a copy of the object.
The namespace for conversion to string.
The base class for the point representation hierarchy.
Color m_color
The color of the representation.
A TextRepBase class that draws the number of underflow entries.
The base class for the Projector hierarchy.
The abstract base class for views.
UnderflowTextRep class interface.
A base class for representations that draws a value as text.
virtual void drawProjectedValues(ProjectorBase &projector, ViewBase &view)
Draws the values from the projector to the view.
float m_size
The size of the representation.
string convert(int i)
Converts an integer to a string.