|
|
DataMuseum.dkPresents historical artifacts from the history of: ICL Comet 32 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about ICL Comet 32 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - download
Length: 2399 (0x95f)
Types: TextFile
Notes: UNIX file
Names: »vdi.h«
└─⟦26887b7e0⟧ Bits:30009717 Comet 32 harddisk image
└─⟦28c352965⟧ »/a« UNIX Filesystem
└─⟦this⟧ »usr/src/gks/h/vdi.h«
#ifndef VDIDEF
#define VDIDEF
#ifdef CROSS /* unix */
#include "/usr/include/stdio.h"
#else /* spads */
#include "stdio.h"
#endif
/* VDI Type Definitions.*/
/* -------------------- */
typedef int Int; /* Integer.*/
typedef double Real; /* Real number.*/
typedef char *String; /* Character string.*/
typedef FILE File; /* Type FILE defined by "stdio".*/
typedef struct {
Int a_x, a_y;
} Ac; /* Address coordinates.*/
typedef struct {
Ac a_ll, a_ur; /* Lower left corner, upper right corner.*/
} Arect; /* Address coordinate rectangle.*/
typedef Int Bool; /* Boolean value.*/
#define FALSE 0
#define TRUE 1
#define DBG 0
typedef Real Charhtn; /* Character height in NDC.*/
typedef Int Cindex; /* Colour index.*/
typedef Int Clearf; /* Control flag for CLEAR WORKSTATION.*/
#define CONDITIONALLY 0
#define ALWAYS 1
typedef struct {
Real c_red, c_green, c_blue;
} Colour;
typedef struct {
Real d_x,d_y;
} Dc; /* Device coordinates.*/
typedef struct {
Dc d_ll, d_ur; /* Lower left corner, upper right corner.*/
} Drect; /* Device coordinate rectangle.*/
typedef Int Dcunit; /* Device coordinate units.*/
#define METRES 0
#define OTHERUNIT 1
typedef Int Es_func; /* Escape function.*/
#define WAITUSER 101
#define HARDCOPY 102
#define SETCPS 103
typedef Int Es_data; /* Escape data.*/
typedef Int Horal; /* Horizontal alignment for SET CHARACTER ALIGNMENT.*/
#define LEFT 0
#define CENTRE 1
#define RIGHT 2
#define LLEFT 3 /* Text path */
#define UP 2
#define DOWN 1
#define RRIGHT 0
typedef Int Istyle; /* Fill area interior style.*/
#define HOLLOW 0
#define SOLID 1
typedef Int Ltype; /* Polyline linetype.*/
typedef Int Mtype; /* Polymarker marker type.*/
typedef struct {
Real n_x, n_y;
} Nc; /* Normalized device coordinates.*/
typedef struct {
Nc n_ll, n_ur; /* Lower left corner, upper right corner.*/
} Nrect; /* Normalized device coordinate rectangle.*/
typedef Int Rasvec; /* Raster or vector flag.*/
#define VECTOR 0
#define RASTER 1
#define OTHERTYPE 2
typedef Int Regenf; /* Regeneration flag for UPDATE WORKSTATION.*/
#define PERFORM 0
#define SUPPRESS 1
typedef Int Size;
typedef struct {
Real xm, xa, ym, ya;
}Trans; /* Transformation multipliers and add terms.*/
typedef Int Veral; /* Vertical alignment for SET CHARACTER ALIGNMENT.*/
#define TOP 0
#define CAP 1
#define HALF 2
#define BASE 3
#define BOTTOM 4
#endif