TPCCLIB
Loading...
Searching...
No Matches
SVG_LEGEND Struct Reference

#include <libtpcsvg.h>

Data Fields

int plot_type
svgSymbolType symbol_type
svgSymbolFill symbol_fill
svgColor color
char text [MAX_SVG_LEGEND_LEN+1]

Detailed Description

Struct for storing data for one legend item

Definition at line 124 of file libtpcsvg.h.

Field Documentation

◆ color

svgColor SVG_LEGEND::color

SVG color index

Definition at line 132 of file libtpcsvg.h.

Referenced by svg_create_legends(), and svg_legend_add().

◆ plot_type

int SVG_LEGEND::plot_type

Plot type: 1=line, 2=symbols, 0=both line and symbols

Definition at line 126 of file libtpcsvg.h.

Referenced by svg_create_legends(), and svg_legend_add().

◆ symbol_fill

svgSymbolFill SVG_LEGEND::symbol_fill

Symbol filling: SYMBOLOPEN, SYMBOLFILLED

Definition at line 130 of file libtpcsvg.h.

Referenced by svg_create_legends(), and svg_legend_add().

◆ symbol_type

svgSymbolType SVG_LEGEND::symbol_type

Symbol type: RECTANGLE, CIRCLE, UPTRIANGLE, DOWNTRIANGLE, DIAMOND, LEFTTRIANGLE, RIGHTTRIANGLE

Definition at line 128 of file libtpcsvg.h.

Referenced by svg_create_legends(), and svg_legend_add().

◆ text

char SVG_LEGEND::text[MAX_SVG_LEGEND_LEN+1]

Legend text

Definition at line 134 of file libtpcsvg.h.

Referenced by svg_create_legends(), and svg_legend_add().


The documentation for this struct was generated from the following file: