home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Usenet 1994 October
/
usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso
/
misc
/
volume6
/
yahp2ps
/
part02
/
mchinery.h
< prev
next >
Wrap
C/C++ Source or Header
|
1989-02-03
|
3KB
|
135 lines
/*
HPGL to PostScript converter
Copyright (C) 1988 (and following) Federico Heinz
yahp2ps is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY. No author or distributor accepts responsibility to anyone
for the consequences of using it or for whether it serves any
particular purpose or works at all, unless he says so in writing.
Refer to the Free Software Foundation's General Public License for full details.
Everyone is granted permission to copy, modify and redistribute yahp2ps,
but only under the conditions described in the GNU General Public
License. A copy of this license is supposed to have been given to you
along with yahp2ps so you can know your rights and responsibilities. It
should be in a file named COPYING. Among other things, the copyright
notice and this notice must be preserved on all copies.
In other words, go ahead and share yahp2ps, but don't try to stop
anyone else from sharing it farther. Help stamp out software hoarding!
yahp2ps is TOTALLY unrelated to GNU or the Free Software Foundation,
it is only released under the same conditions.
For bug reports, wishes, etc. send e-mail to
...!mcvax!unido!tub!actisb!federico (from Europe)
...!uunet!pyramid!actisb!federico (from anywhere else)
For Physical mail:
Federico Heinz
Beusselstr. 21
1000 Berlin 21
Tel. (+49 30) 396 77 92
*/
/**************************************************************************
Definition of the plotter's "hardware" functions.
**************************************************************************/
/* Draws a dot at the curent position */
extern void drawDot();
/* Draws a line to the indicated point in User Space */
extern void drawLine();
/* Positions the physical pen to the indicated point (User Space) */
extern void setCurrentPoint();
/* Draws an arc at maximum resolution */
extern void doHRArc();
/* Draw a horizontal tick */
extern void doYTick();
/* Draw a vertical tick */
extern void doXTick();
/* Set a new plotting window */
extern void setClip();
/* Set the plotting window again */
extern void correctClip();
/* Do the real ink-dropping if needed */
extern void stroke();
/* Set the pen's width */
extern void setPenWidth();
/* Set the pen's color */
extern void setPenColor();
/* Set the line pattern */
extern void setPattern();
/* Shade a rectangle */
extern void doShadeRectangle();
/* Shade a wedge */
extern void doShadeWedge();
/* Do the machinery's startup work */
extern void initializeMachinery();
/* Do anything that might be pending */
extern void shutdownMachinery();
/* Prelude file name */
extern char *PreludeFile;