GRE_LEGEND_COLORSCALE Class Reference

Color-Scale legend subclass. More...

#include <gre/legend.h>

Inheritance diagram for GRE_LEGEND_COLORSCALE:

Inheritance graph
[legend]
List of all members.

Public Member Functions

virtual void GetItemSizePixels (LPOINT2D &size) const
 GRE_LEGEND_COLORSCALE (GRE_LAYER *layer)
void SetValues (const SIMPLE_ARRAY< COLOR > &palette, const CBPARMS &ColorBalance, double MinValue, double MaxValue, bool VerticalMinAtTop)

Detailed Description

Color-Scale legend subclass.

Definition at line 746 of file legend.h.


Constructor & Destructor Documentation

GRE_LEGEND_COLORSCALE::GRE_LEGEND_COLORSCALE GRE_LAYER layer  ) 
 

Construct legend for layer.

Parameters:
layer  Layer legend is for


Member Function Documentation

virtual void GRE_LEGEND_COLORSCALE::GetItemSizePixels LPOINT2D size  )  const [virtual]
 

Get "preferred" item size in pixels.

Parameters:
size  Size in pixels returned, not including labels

Reimplemented from GRE_LEGEND.

void GRE_LEGEND_COLORSCALE::SetValues const SIMPLE_ARRAY< COLOR > &  palette,
const CBPARMS ColorBalance,
double  MinValue,
double  MaxValue,
bool  VerticalMinAtTop
 

Set legend values.

This will create or update the single legend "item".

Parameters:
ColorBalance  For adjusting color


The documentation for this class was generated from the following file:
Generated on Tue Dec 14 13:19:53 2004 for TNTsdk by  doxygen 1.3.8-20040913