File: io.h

package info (click to toggle)
kali 3.1-17
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 2,204 kB
  • ctags: 1,263
  • sloc: ansic: 3,478; makefile: 61
file content (52 lines) | stat: -rw-r--r-- 1,170 bytes parent folder | download | duplicates (7)
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
40
41
42
43
44
45
46
47
48
49
50
51
52
/*
  io.h
  by Ed H. Chi (chi@geom.umn.edu)  summer 1994

$Id: io.h,v 1.3 1996/10/01 01:29:52 slevy Exp $
$Log: io.h,v $
Revision 1.3  1996/10/01 01:29:52  slevy
Declare new GL-like routines.

Revision 1.2  1996/06/04 17:07:18  slevy
Toss obsolete routines.

 * Revision 1.1  1994/08/26  16:29:02  chi
 * Initial revision
 *
 * Revision 1.1  1994/08/15  20:05:38  chi
 * Initial revision
 *

*/

#ifndef IO_H
#define IO_H

#include "main.h"

extern int iomode;
extern RECTANGLE clip_rect;

void PrintOut(FILE *outfile,SYMMETRY *sym, RECTANGLE win_rect, LINE *Lines);

/*
 * GX (minimal GL-like thing under X) declarations.
 */
void ortho2(float left, float right, float bottom, float top);
void prefposition(int x0, int x1, int y0, int y1);
int  winopen(char *title);

#ifdef _XLIB_H_
void GXinit(DRAWER *drawer, Display *dpy, Window win);
#endif

/************************************************************************
 * PostScript specific stuff
 ***********************************************************************/

void DrawClippingRectangle(RECTANGLE *rec);
void init_postscript(RECTANGLE *rec);
void close_postscript();
LINE *SpewObject(LINE *obj);

#endif