awips2/ncep/gov.noaa.nws.ncep.viz.rsc.ncgrid/dgdriv_c/drwtbl.h
Steve Harris 7f90924706 12.4.1-10 baseline
Former-commit-id: 7fa9dbd5fb [formerly 4bfbdad17d] [formerly 9f8cb727a5] [formerly 7fa9dbd5fb [formerly 4bfbdad17d] [formerly 9f8cb727a5] [formerly 8485b90ff8 [formerly 9f8cb727a5 [formerly bf53d06834caa780226121334ac1bcf0534c3f16]]]]
Former-commit-id: 8485b90ff8
Former-commit-id: 40aa780b3d [formerly 33a67cdd82] [formerly 73930fb29d0c1e91204e76e6ebfdbe757414f319 [formerly a28d70b5c5]]
Former-commit-id: a16a1b4dd44fc344ee709abbe262aeed58a8339b [formerly e5543a0e86]
Former-commit-id: 0c25458510
2012-05-01 18:06:13 -05:00

94 lines
1.8 KiB
C

/************************************************************************
* 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;