/*** VDI - Opcodedefinitionen ***/
/* von Christian Krger (c)1996 */
/*       fr: GM2CKVDI          */
/********************************/

#ifndef _VDI_OPC
#define _VDI_OPC

#define VDI5			5
#define	VDI6			6
#define	V_PMARKER		7
#define	V_GTEXT			8
#define	VDI9			9
#define	VDI11			11
#define	VST_HEIGHT		12
#define	VST_ROTATION	13
#define	VS_COLOR		14
#define	VSL_TYPE		15
#define	VSL_WIDTH		16
#define	VSL_COLOR		17
#define	VSM_TYPE		18
#define	VSM_HEIGHT		19
#define	VSM_COLOR		20
#define	VST_FONT		21
#define	VST_COLOR		22
#define	VSF_INTERIOR	23
#define	VSF_STYLE		24
#define	VSF_COLOR		25
#define	VSWR_MODE		32
#define	VST_ALIGNMENT	39
#define	V_CONTOURFILL	103
#define	VSF_PERIMETER	104
#define	VST_EFFECTS		106
#define	VST_POINT		107
#define	VSL_ENDS		108
#define	VSF_UDPAT		112
#define	VSL_UDSTY		113
#define	VR_RECFL		114
#define	VST_NAME		230
#define	VST_WIDTH		231
#define	VST_CHARMAP		236
#define	VST_KERN		237
#define	V_FTEXT			241
#define	VST_ARBPT		246
#define	VST_SETSIZE		252
#define	VST_SKEW		253

#define V_POLYLINE		0
#define	V_BEZ			13

#define V_FILLAREA		0
#define	V_BEZ_FILL		13
								
#define	V_BAR			1
#define	V_ARC			2
#define	V_PIESLICE		3
#define	V_CIRCLE		4
#define	V_ELLIPSE		5
#define	V_ELLARC		6
#define	V_ELLPIE		7
#define	V_RBOX			8
#define	V_RFBOX			9
#define	V_JUSTIFIED		10


/* In VDI.H fehlende Attribute */

/* Markerarten */

#define MT_DOT		1
#define MT_PLUS		2
#define	MT_ASTERISK	3
#define MT_SQUARE	4
#define	MT_DCROSS	5
#define MT_DIAMOND	6

/* Texteffekte */

#define TF_NORMAL	 	0x00
#define TF_THICKENED 	0x01
#define TF_LIGHTENED 	0x02
#define TF_SLANTED	 	0x04
#define TF_UNDERLINED	0x08
#define TF_OUTLINED	 	0x10
#define TF_SHADOWED	 	0x20

/* Textausrichtung */

#define TA_LEFT			0
#define TA_CENTER		1
#define TA_RIGHT		2

#define TA_BASELINE		0
#define TA_HALF			1
#define TA_ASCENT		2
#define TA_BOTTOM		3
#define TA_DESCENT		4
#define TA_TOP			5

/* Linientypen (korrekte Bezeichnung) */

#define LT_SOLID		1
#define	LT_LONGDASH		2
#define	LT_DOTTED		3
#define	LT_DASHDOT		4
#define	LT_DASHED		5
#define	LT_DASHDOTDOT	6
#define	LT_USERDEF		7

/* Linienenden (korrekte Bezeichnung) */

#define	LT_SQUARED		0
#define	LT_ARROWED		1
#define	LT_ROUNDED		2

#endif