Navigation

Main Page
Download
Support
Installation
Tutorial
Examples
Reference Manual
   Version 1.0.6
      Class Index
      File List
   Version 1.0.5new_solver
   Version 1.0.5dev
   Version 1.0.5b
   Version 1.0.4dev
   Version 1.0.4
Publications


Hosted by Get Ion Beam Simulator at SourceForge.net. Fast, secure and Free Open Source software downloads
MultiEntryLegend Class Reference

Legend for presenting plot styles. More...

#include <legend.hpp>

Inheritance diagram for MultiEntryLegend:
Legend

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.

virtual MultiEntryLegend::~MultiEntryLegend ( )
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.

void MultiEntryLegend::get_size ( cairo_t *  cairo,
double &  width,
double &  height 
)
virtual

Get size of legend.

Implements Legend.

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

Plot legend at (x,y).

The point (x,y) is the lower left point of the entry.

Implements Legend.

void MultiEntryLegend::set_font_size ( double  fontsize)

Set font size for legend labels.


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


Reference manual for Ion Beam Simulator 1.0.6
Generated by Doxygen 1.8.5 on Mon Jun 15 2015 09:59:32.