awips2/ncep/gov.noaa.nws.ncep.viz.rsc.ncgrid/dgdriv_c/drwtbl.h
Brad Gonzales 2a3bf4ec32 Issue #628 committing PGEN code received from Plummer on 4-19-2012.
Former-commit-id: fda897d2d0 [formerly 253e8bc948] [formerly 295cbf95e5 [formerly 0816cd253c86acc699cb90866131619c4679f631]]
Former-commit-id: 295cbf95e5
Former-commit-id: ae3d17c698
2012-05-10 16:50:45 -05:00

94 lines
1.8 KiB
C
Executable file

/************************************************************************
* drwtbl.h *
* *
* This file contains structure definitions used by GEMPAK to store *
* drawing settings for different types of elements *
* *
** *
* E. Wehner/EAi 3/97 Created *
* D. Keiser/GSC 4/97 Added new attributes *
* D. Keiser/GSC 7/97 Redesigned setting structure *
* increase MAX_TYPES *
***********************************************************************/
#define MAX_TYPES 40
/*
* Settings info - Settings information - colors, width, height, etc
* for each drawable element
*/
typedef struct frnttyp
{
int size;
int strk;
int dir;
} FrntTyp;
typedef struct mrkrtyp
{
int type;
int mkhw;
float size;
int width;
} MrkrTyp;
typedef struct linetyp
{
int type;
int lthw;
int width;
int lwhw;
} LineTyp;
typedef struct texttyp
{
int txfn;
int txhw;
float size;
int width;
float rotat;
int xoff;
int yoff;
int alin;
} TextTyp;
typedef struct splntyp
{
int type;
int strk;
int dir;
float size;
int width;
} SplnTyp;
typedef struct symbtyp
{
int width;
float size;
} SymbTyp;
typedef struct windtyp
{
int type;
} WindTyp;
typedef struct setting
{
char gemtyp[8];
char vgtyp[10];
int maj_col;
int min_col;
union
{
FrntTyp frnt;
MrkrTyp mrkr;
LineTyp line;
TextTyp text;
SplnTyp spln;
SymbTyp symb;
WindTyp wind;
} atttyp;
} setting_t[MAX_TYPES], sglset_t;