MultiEntryLegend Class Reference
Legend for presenting plot styles. More...
#include <legend.hpp>
Inheritance diagram for MultiEntryLegend:
Public Member Functions | |
| MultiEntryLegend () | |
| Default constructor for legend. More... | |
| virtual | ~MultiEntryLegend () |
| Virtual destructor. More... | |
| virtual void | plot (cairo_t *cairo, double x, double y) |
| Plot legend at (x,y). More... | |
| virtual void | get_size (cairo_t *cairo, double &width, double &height) |
| Get size of legend. More... | |
| void | set_font_size (double fontsize) |
| Set font size for legend labels. More... | |
| double | get_font_size (void) |
| Get font size. More... | |
| void | add_entry (LegendEntry *entry) |
| Add entry to legend. More... | |
| void | clear_entries (void) |
| Clear legend entries. More... | |
Public Member Functions inherited from Legend | |
| Legend () | |
| Default constructor for legend. More... | |
| virtual | ~Legend () |
| Virtual destructor. More... | |
Detailed Description
Legend for presenting plot styles.
Constructor & Destructor Documentation
| MultiEntryLegend::MultiEntryLegend | ( | ) |
Default constructor for legend.
|
inlinevirtual |
Virtual destructor.
Member Function Documentation
| void MultiEntryLegend::add_entry | ( | LegendEntry * | entry | ) |
Add entry to legend.
| void MultiEntryLegend::clear_entries | ( | void | ) |
Clear legend entries.
| double MultiEntryLegend::get_font_size | ( | void | ) |
Get font size.
|
virtual |
Get size of legend.
Implements Legend.
|
virtual |
| void MultiEntryLegend::set_font_size | ( | double | fontsize | ) |
Set font size for legend labels.
The documentation for this class was generated from the following files:
Public Member Functions inherited from