Navigation

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


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

Legend Class Reference

Base class for legend definition. More...

#include <legend.hpp>

List of all members.

Public Member Functions

 Legend ()
 Default constructor for legend.
virtual ~Legend ()
 Virtual destructor.
virtual void plot (cairo_t *cairo, double x, double y) const =0
 Plot legend at (x,y).
virtual void get_size (double &width, double &height) const =0
 Get size of legend.

Detailed Description

Base class for legend definition.

Legend is an object that contains a key to the plot styles used in Graphs. The key contains a sample of the plot style used and a corresponding text label.

The Colormap legend is a special case because in addition to the plot style, the plot z-range is shown in the legend.


Constructor & Destructor Documentation

Legend::Legend (  )  [inline]

Default constructor for legend.

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

Virtual destructor.


Member Function Documentation

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

Get size of legend.

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

Plot legend at (x,y).


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


Reference manual for Ion Beam Simulator 1.0.4dev
Generated by Doxygen 1.7.1 on Wed May 18 2011 23:03:52.