Former-commit-id:7fa9dbd5fb
[formerly4bfbdad17d
] [formerly9f8cb727a5
] [formerly7fa9dbd5fb
[formerly4bfbdad17d
] [formerly9f8cb727a5
] [formerly8485b90ff8
[formerly9f8cb727a5
[formerly bf53d06834caa780226121334ac1bcf0534c3f16]]]] Former-commit-id:8485b90ff8
Former-commit-id:40aa780b3d
[formerly33a67cdd82
] [formerly 73930fb29d0c1e91204e76e6ebfdbe757414f319 [formerlya28d70b5c5
]] Former-commit-id: a16a1b4dd44fc344ee709abbe262aeed58a8339b [formerlye5543a0e86
] Former-commit-id:0c25458510
94 lines
1.8 KiB
C
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;
|