1 /* SCCS-info %W% %E% */ 2 3 /*--------------------------------------------------------------------*/ 4 /* */ 5 /* VCG : Visualization of Compiler Graphs */ 6 /* -------------------------------------- */ 7 /* */ 8 /* file: grprint.h */ 9 /* version: 1.00.00 */ 10 /* creation: 30.11.93 */ 11 /* author: G. Sander (Version 1.00.00-...) */ 12 /* Universitaet des Saarlandes, 66041 Saarbruecken */ 13 /* ESPRIT Project #5399 Compare */ 14 /* description: Print layout into a file */ 15 /* status: in work */ 16 /* */ 17 /*--------------------------------------------------------------------*/ 18 19 20 /* $Id: grprint.h,v 3.4 1995/02/08 11:11:14 sander Exp $ */ 21 22 /* 23 * Copyright (C) 1993-2005 Saarland University 24 * 25 * This program and documentation is free software; you can redistribute 26 * it under the terms of the GNU General Public License as published by 27 * the Free Software Foundation; either version 2 of the License, or 28 * (at your option) any later version. 29 * 30 * This program is distributed in the hope that it will be useful, 31 * but WITHOUT ANY WARRANTY; without even the implied warranty of 32 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 33 * GNU General Public License for more details. 34 * 35 * You should have received a copy of the GNU General Public License 36 * along with this program; if not, write to the Free Software 37 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 38 * 39 * The software is available per anonymous ftp at ftp.cs.uni-sb.de. 40 * Contact sander@cs.uni-sb.de for additional information. 41 */ 42 43 44 /* 45 * $Log: grprint.h,v $ 46 * Revision 3.4 1995/02/08 11:11:14 sander 47 * Distribution version 1.3. 48 * 49 * Revision 3.3 1994/05/16 08:56:03 sander 50 * shape attribute (boxes, rhombs, ellipses, triangles) added. 51 * 52 * Revision 3.2 1994/04/27 16:05:19 sander 53 * Revert of page and margins added. Messages while waiting 54 * added. Adaption to the new print-dialog box. 55 * 56 * Revision 3.1 1994/03/01 10:59:55 sander 57 * Copyright and Gnu Licence message added. 58 * Problem with "nearedges: no" and "selfloops" solved. 59 * 60 * Revision 2.2 1994/01/21 19:33:46 sander 61 * VCG Version tested on Silicon Graphics IRIX, IBM R6000 AIX and Sun 3/60. 62 * Option handling improved. Option -grabinputfocus installed. 63 * X11 Font selection scheme implemented. The user can now select a font 64 * during installation. 65 * Sun K&R C (a nonansi compiler) tested. Some portabitility problems solved. 66 * 67 * Revision 2.1 1993/12/08 21:21:34 sander 68 * Reasonable fast and stable version 69 * 70 */ 71 72 #ifndef GRPRINT_H 73 #define GRPRINT_H 74 75 /*--------------------------------------------------------------------*/ 76 77 /* See grprint.c and grprin2.c for explanation 78 * ------------------------------------------- 79 */ 80 81 int print_graph _PP(( char *fname)); 82 char *color_text _PP(( int c)); 83 char *textmode_text _PP(( int t)); 84 char *shape_text _PP(( int t)); 85 char *linestyle_text _PP(( int t)); 86 87 int print_pbm_or_ppm 88 _PP((char *fname,int a,int b,int c,int d)); 89 int print_pbm 90 _PP((char *fn,int a,int b,int c,int d,int l,int t,int r,int st,int sh)); 91 int print_ppm 92 _PP((char *fn,int a,int b,int c,int d,int l,int t,int r,int st,int sh)); 93 94 95 /*--------------------------------------------------------------------*/ 96 97 #endif /* GRPRINT_H */ 98 99 100