38 lines
820 B
C
38 lines
820 B
C
/**********
|
|
Copyright 1990 Regents of the University of California. All rights reserved.
|
|
Author: 1987 Jeffrey M. Hsu
|
|
**********/
|
|
|
|
/*
|
|
$Header$
|
|
|
|
The display device structure.
|
|
*/
|
|
|
|
typedef struct {
|
|
char *name;
|
|
int minx, miny;
|
|
int width, height; /* in screen coordinate system */
|
|
int numlinestyles, numcolors; /* number supported */
|
|
int (*Init)();
|
|
int (*NewViewport)();
|
|
int (*Close)();
|
|
int (*Clear)();
|
|
int (*DrawLine)();
|
|
int (*Arc)();
|
|
int (*Text)();
|
|
int (*DefineColor)();
|
|
int (*DefineLinestyle)();
|
|
int (*SetLinestyle)();
|
|
int (*SetColor)();
|
|
int (*Update)();
|
|
/* int (*NDCtoScreen)(); */
|
|
int (*Track)();
|
|
int (*MakeMenu)();
|
|
int (*MakeDialog)();
|
|
int (*Input)();
|
|
void (*DatatoScreen)();
|
|
} DISPDEVICE;
|
|
|
|
extern DISPDEVICE *dispdev;
|