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

ColormapLegend Class Reference

Legend for presenting colormap key. More...

#include <legend.hpp>

List of all members.

Public Member Functions

 ColormapLegend (Colormap &colormap)
 Default constructor for legend.
virtual ~ColormapLegend ()
 Virtual destructor.
virtual void plot (cairo_t *cairo, double x, double y) const
 Plot legend at (x,y).
virtual void get_size (double &width, double &height) const
 Get size of legend.
void set_height (double height)
 Set height of legend.

Detailed Description

Legend for presenting colormap key.


Constructor & Destructor Documentation

ColormapLegend::ColormapLegend ( Colormap colormap  )  [inline]

Default constructor for legend.

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

Virtual destructor.


Member Function Documentation

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

Get size of legend.

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

Plot legend at (x,y).

void ColormapLegend::set_height ( double  height  ) 

Set height of legend.


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:50.