Legend for presenting colormap key.
More...
#include <legend.hpp>
|
| | ColormapLegend (Colormap &colormap) |
| | Default constructor for legend.
|
| |
| virtual | ~ColormapLegend () |
| | 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_height (double height) |
| | Set height of legend.
|
| |
Legend for presenting colormap key.
| ColormapLegend::ColormapLegend |
( |
Colormap & |
colormap | ) |
|
|
inline |
Default constructor for legend.
| virtual ColormapLegend::~ColormapLegend |
( |
| ) |
|
|
inlinevirtual |
| virtual void ColormapLegend::get_size |
( |
cairo_t * |
cairo, |
|
|
double & |
width, |
|
|
double & |
height |
|
) |
| const |
|
virtual |
| virtual void ColormapLegend::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 ColormapLegend::set_height |
( |
double |
height | ) |
|
The documentation for this class was generated from the following file: