DataMuseum.dk

Presents historical artifacts from the history of:

ICL Comet 32

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about ICL Comet 32

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download

⟦c893adfe9⟧ TextFile

    Length: 4197 (0x1065)
    Types: TextFile
    Notes: UNIX file
    Names: »vdii.h«

Derivation

└─⟦26887b7e0⟧ Bits:30009717 Comet 32 harddisk image
    └─⟦28c352965⟧ »/a« UNIX Filesystem
        └─⟦this⟧ »usr/src/gks/h/vdii.h« 

TextFile

#ifndef	VDIIDEF
#define	VDIIDEF

#ifdef	CROSS	/* unix */
#include "/usr/include/stdio.h"
#else		/* spads */
#include "stdio.h"
#endif
#include "../h/vdi.h"

/* Workstation description table.*/
/* ----------------------------- */
typedef struct {
	Int	wd_type;	/* Workstation type.*/
	Dcunit	wd_dcun;	/* Device coordinate units.*/
	Drect	wd_dlim;	/* Maximum display surface in length units.*/
	Arect	wd_alim;	/* Maximum display surface in device units.*/
	Rasvec	wd_rsvc;	/* Raster or vector display.*/
	Int	wd_nlty;	/* Number of available linetypes.*/
	Ltype	*wd_llty;	/* List of available linetypes.*/
	Int	wd_nmty;	/* Number of available marker types.*/
	Mtype	*wd_lmty;	/* List of available marker types.*/
	Int	wd_ncht;	/* Number of available character heights.*/
	Real	*wd_ldcht;	/* List of available character heights in DC.*/
	Ac	*wd_lacsz;	/* List of available character sizes in AC.*/
	Ac	*wd_lacsp;	/* List of available character spacings in AC.*/
	Int	wd_ncol;	/* Number of colours.*/
	Bool	wd_iscol;	/* Color available.*/
	Int	wd_mxcol;	/* Maximum number of colour indices.*/
	Int	wd_ncolr;	/* Number of predefined colour indices.*/
	Colour	*wd_colr;	/* Table of predefined colour representations.*/
	Bool	wd_imprg;	/* Default implicit regeneration mode.*/
	Bool	wd_dycol;	/* Dynamic colour representation.*/
	Bool	wd_dywst;	/* Dynamic workstation transformation.*/
	struct{
	int (*cht)();		/* Set character height.*/
	int (*cal)();		/* Set character alignment.*/
	int (*tpa)();		/* Set text patch.*/
	int (*ltp)();		/* Set polyline linetype.*/
	int (*lco)();		/* Set polyline colour index.*/
	int (*mco)();		/* Set polymarker colour index.*/
	int (*tco)();		/* Set text colour index.*/
	int (*clp)();		/* Set settable clipping boundary.*/
	int (*cli)();		/* Set clipping indicator.*/
	int *(*ope)();		/* Open workstation (cast type to Wss *).*/
	int (*clo)();		/* Close workstation.*/
	int (*cle)();		/* Clear workstation.*/
	int (*upd)();		/* Update workstation.*/
	int (*pln)();		/* Polyline.*/
	int (*pmk)();		/* Polymarker.*/
	int (*txt)();		/* Text.*/
	int (*win)();		/* Set workstation window.*/
	int (*vie)();		/* Set workstation viewport.*/
	int (*ite)();		/* Inquire text extent.*/
	int (*mtp)();		/* Set polymarker type.*/
	int (*fis)();		/* Set fill area interior style.*/
	int (*fco)();		/* Set fill area colour index.*/
	int (*col)();		/* Set colour representation.*/
	int (*far)();		/* Fill area.*/
	}wd_func;		/* List of pointers to workstation functions.*/
	} Wsd;			/* Workstation description table.*/

/* Workstation state list.*/
/* ---------------------- */
typedef struct {
	Wsd	*ws_wsd;	/* Workstation description table.*/
	Int	ws_ncolr;	/* Number of colour table entries.*/
	Colour	*ws_colr;	/* Table of colour representations.*/
	Bool	ws_imprg;	/* Implicit regeneration mode.*/
	Bool	ws_waitr;	/* Workstation transformation update state.*/
	Bool	ws_emty;	/* Display surface empty.*/
	Nrect	ws_reqw;	/* Requested workstation window.*/
	Nrect	ws_curw;	/* Current workstation window.*/
	Drect	ws_reqv;	/* Requested workstation viewport.*/
	Drect	ws_curv;	/* Current workstation viewport.*/
	Bool	ws_nfup;	/* New frame action necessary at update.*/
	Int	ws_cps;		/* Line speed in characters per second.*/
	Trans	dtr;		/* DC to AC transformation.*/
	Arect	clip;		/* Current clipping boundary in AC.*/
	Nrect	curc;		/* Current settable clipping boundary in NDC.*/
	Trans	wtr;		/* Workstation transformation.*/
	Ac	csp;		/* Current character spacing in AC.*/
	Ac	csz;		/* Current character size in AC.*/
	Real	ncht;		/* Current character height in NDC.*/
	Horal	cha;		/* Current character horizontal alignment.*/
	Veral	cva;		/* Current character vertical alignment.*/
	Int	tpa;		/* Current text path*/
	Mtype	mtyp;		/* Current marker type.*/
	Int	macol;		/* Current marker colour index*/
	Int	fcol;		/* Current fill area colour */
	Int	txcol;		/* Current text colour index*/
	Int	plci;		/* Current polyline colour index */
	Int	fis;		/* Current fill area interior style */
	Ac	cpa;		/* Current position in address units.*/
	Bool	clpin;		/* Clipping indicator.*/
	} Wss;			/* Workstation state list.*/

extern Wss	*ws;		/* Current workstation state table.*/

#endif