blob: 94640b0678eba0b3dc05bc89622ad97dc6a2e088 (
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
|
/*
* Copyright (c) 1987 University of Maryland Department of Computer Science.
* All rights reserved. Permission to copy for any purpose is hereby granted
* so long as this copyright notice remains intact.
*/
/* DVI file info */
/*
* Units of distance are stored in scaled points, but we can convert to
* units of 10^-7 meters by multiplying by the numbers in the preamble.
*/
/* the structure of the stack used to hold the values (h,v,w,x,y,z) */
struct dvi_stack {
i32 h; /* the saved h */
i32 v; /* the saved v */
i32 w; /* etc */
i32 x;
i32 y;
i32 z;
};
struct dvi_stack dvi_current; /* the current values of h, v, etc */
int dvi_f; /* the current font */
#define dvi_h dvi_current.h
#define dvi_v dvi_current.v
#define dvi_w dvi_current.w
#define dvi_x dvi_current.x
#define dvi_y dvi_current.y
#define dvi_z dvi_current.z
|