UF_SF_LEGEND_index_color_attr_s (view source)
 
Defined in: uf_sf_legend.h
 
Also known as:
 


Data Members

attr_mask
unsigned int
This field is set to one or more of the following
symbols OR'd together to indicate which of the
remaining fields of the structure are set.
UF_LEGEND_INDEX_COLOR_WIDTH_ATTR
UF_LEGEND_INDEX_COLOR_SMOOTH_ATTR

width_percent
int
The percentage of the legend area which the color
index fills. The index is always on the right side
default value: 30%

smooth_sw
logical
Switch indicating whether or not the color index
represents smooth continuous colors or
discrete color bands as follows:
= TRUE -> smooth color index (default)
= FALSE -> discrete color index.

num_values
int
Number of colors in index. Must be >= 2.
Mandatory if color index is specified

values
double *
Array[num_values] in size. Scalar value associated
as the starting value of each color in the index.
Memory should not be freed until legend is deleted.
Mandatory if color index is specified.