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

LegendEntry Class Reference

Class for legend entry. More...

#include <legend.hpp>

List of all members.

Public Member Functions

 LegendEntry (Graph &drawable, std::string &label)
 Contructor for legend entry.
 LegendEntry (const LegendEntry &le)
 Copy constructor.
 ~LegendEntry ()
 Destructor.
LegendEntryoperator= (const LegendEntry &le)
 Assignment operator.
void plot (cairo_t *cairo, double x, double y) const
 Plot legend entry.
void get_size (double &width, double &height) const
 Get size of legend entry.

Detailed Description

Class for legend entry.

The legend entries contain a reference to the drawable so that if the style used in the drawable is changed, the sample in legend is automatically changed.


Constructor & Destructor Documentation

LegendEntry::LegendEntry ( Graph drawable,
std::string &  label 
) [inline]

Contructor for legend entry.

LegendEntry::LegendEntry ( const LegendEntry le  )  [inline]

Copy constructor.

LegendEntry::~LegendEntry (  )  [inline]

Destructor.


Member Function Documentation

void LegendEntry::get_size ( double &  width,
double &  height 
) const

Get size of legend entry.

LegendEntry& LegendEntry::operator= ( const LegendEntry le  )  [inline]

Assignment operator.

void LegendEntry::plot ( cairo_t *  cairo,
double  x,
double  y 
) const

Plot legend entry.


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.