summaryrefslogtreecommitdiff
path: root/dviware/umddvi/dev/dmdcodes.h
blob: 78b134e37a817fd4df40f41f8c4d7c3f6b9264e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/* DMD command codes */

#define DMD_FORW	131	/* one pixel forward */
#define DMD_BACK	132	/* one pixel backward */
#define DMD_HABS	135	/* + short, set absolute H pos */
#define DMD_HREL	136	/* + schar, set relative H pos */
#define DMD_VABS	137	/* + short, set absolute V pos */
#define DMD_VREL	138	/* + schar, set relative V pos */

#define	DMD_EXIT	140
#define	DMD_ASCII	141
#define	DMD_TERM	142
#define	DMD_CLEAR	143
#define	DMD_TYPESET	144
#define	DMD_ACK		145
#define	DMD_NAK		146
#define	DMD_WIND	147
#define	DMD_NEXT	149

#define DMD_RULE	193	/* print a rule */

#define DMD_SGLYPH	198	/* define a small glyph */
#define DMD_BGLYPH	199	/* define a big glyph */

#define DMD_MKFONT	205	/* create a downloaded font */
#define DMD_SETFONT	206	/* specify font number */

#define	DMD_PAGE	218	/* start a new page */
#define DMD_ENDPAGE	219	/* request next action */

#define	DMD_SEGMENT	221	/* define path with lines */
#define	DMD_SPLINE	222	/* define path with spline */
#define	DMD_CIRCLE	223	/* define circular path */
#define	DMD_ELLIPSE	224	/* define elliptical path */
#define	DMD_DRAWPATH	225	/* draw a path */
#define	DMD_FILLPATH	226	/* fill a path */
#define	DMD_PENSIZE	227	/* set pen size */

#define imP_ForceDel	240	/* force glyph deletion */