IBSimu  1.0.4
Public Member Functions
MultiEntryLegend Class Reference

Legend for presenting plot styles. More...

#include <legend.hpp>

List of all members.

Public Member Functions

 MultiEntryLegend ()
 Default constructor for legend.
virtual ~MultiEntryLegend ()
 Virtual destructor.
virtual void plot (cairo_t *cairo, double x, double y) const
 Plot legend at (x,y).
virtual void get_size (double &width, double &height) const
 Get size of legend.
void add_entry (const LegendEntry &entry)
 Add entry to legend.

Detailed Description

Legend for presenting plot styles.


Constructor & Destructor Documentation

MultiEntryLegend::MultiEntryLegend ( ) [inline]

Default constructor for legend.

virtual MultiEntryLegend::~MultiEntryLegend ( ) [inline, virtual]

Virtual destructor.


Member Function Documentation

void MultiEntryLegend::add_entry ( const LegendEntry entry)

Add entry to legend.

virtual void MultiEntryLegend::get_size ( double &  width,
double &  height 
) const [virtual]

Get size of legend.

virtual void MultiEntryLegend::plot ( cairo_t *  cairo,
double  x,
double  y 
) const [virtual]

Plot legend at (x,y).


The documentation for this class was generated from the following file: