Navigation

Main Page
Download
Support
Installation
Tutorial
Examples
Reference Manual
   Version 1.0.5new_solver
   Version 1.0.5dev
      Class Index
      File List
   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>

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)
 Plot legend at (x,y).
virtual void get_size (cairo_t *cairo, double &width, double &height) const
 Get size of legend.
void set_font_size (double fontsize)
 Set font size for legend labels.
void add_entry (LegendEntry *entry)
 Add entry to legend.
void clear_entries (void)
 Clear legend entries.

Detailed Description

Legend for presenting plot styles.


Constructor & Destructor Documentation

MultiEntryLegend::MultiEntryLegend (  ) 

Default constructor for legend.

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

Virtual destructor.


Member Function Documentation

void MultiEntryLegend::add_entry ( LegendEntry entry  ) 

Add entry to legend.

void MultiEntryLegend::clear_entries ( void   ) 

Clear legend entries.

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

Get size of legend.

virtual 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.

void MultiEntryLegend::set_font_size ( double  fontsize  ) 

Set font size for legend labels.


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


Reference manual for Ion Beam Simulator 1.0.5dev
Generated by Doxygen 1.7.1 on Mon Feb 6 2012 15:07:16.