/* Header for module hpgl_plotter, generated by p2c */
#ifndef HPGL_PLOTTER_H
#define HPGL_PLOTTER_H


#ifndef SYSGLOBALS_H
#include <p2c/sysglobals.h>
#endif

#ifndef IODECLARATIONS_H
#include <p2c/iodecl.h>
#endif

#ifndef GENERAL_1_H
#include <p2c/general_1.h>
#endif

#ifndef GENERAL_2_H
#include <p2c/general_2.h>
#endif

/*homeless orphans*/

#ifndef MISC_H
#include <p2c/misc.h>
#endif

#ifndef WOL_ASM_H
#include "wol_asm.h"
#endif


#ifdef HPGL_PLOTTER_G
# define vextern
#else
# define vextern extern
#endif


typedef tr_matrix pl_matrix;


vextern Char pl_id[11];


extern void pl_init(void);
extern void pl_getsize(long *llx, long *lly, long *urx, long *ury);
extern void pl_setsize(long llx, long lly, long urx, long ury);
extern void pl_setclip(long llx, long lly, long urx, long ury);

extern void pl_ident(void);
extern void pl_scale(long x, long y, long num);
extern void pl_scaleto(long bbllx, long bblly, long bburx, long bbury,
		       boolean samescale);
extern void pl_scaleoff(void);
extern void pl_scaleon(void);
extern void pl_tran(long dx, long dy);
extern void pl_rot(long cos, long sin);
extern void pl_xform(long xf);
extern void pl_transform(long *rx, long *ry);

extern void pl_draw(long x, long y);
extern void pl_move(long x, long y);
extern void pl_box(long lx, long ly, long hx, long hy);
extern void pl_end(void);
extern void pl_color(short pen);
extern void pl_out(Char *s);
extern void pl_in(Char *s);
extern void pl_text(Char *s);
extern void pl_text_in_box(long x1, long y1, long x2, long y2, Char *s);


#undef vextern

#endif /*HPGL_PLOTTER_H*/

/* End. */
