gl2ps.h   gl2ps.h 
/* $Id: gl2ps.h,v 1.75 2003/11/10 01:29:56 geuzaine Exp $ */ /* $Id: gl2ps.h,v 1.77 2003/11/15 08:35:30 geuzaine Exp $ */
/* /*
* GL2PS, an OpenGL to PostScript Printing Library * GL2PS, an OpenGL to PostScript Printing Library
* Copyright (C) 1999-2003 Christophe Geuzaine <geuz@geuz.org> * Copyright (C) 1999-2003 Christophe Geuzaine <geuz@geuz.org>
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
* modify it under the terms of either: * modify it under the terms of either:
* *
* a) the GNU Library General Public License as published by the Free * a) the GNU Library General Public License as published by the Free
* Software Foundation, either version 2 of the License, or (at your * Software Foundation, either version 2 of the License, or (at your
* option) any later version; or * option) any later version; or
skipping to change at line 78 skipping to change at line 78
# include <zlib.h> # include <zlib.h>
# ifndef GL2PS_HAVE_ZLIB # ifndef GL2PS_HAVE_ZLIB
# define GL2PS_HAVE_ZLIB # define GL2PS_HAVE_ZLIB
# endif # endif
#endif #endif
/* Version number */ /* Version number */
#define GL2PS_MAJOR_VERSION 1 #define GL2PS_MAJOR_VERSION 1
#define GL2PS_MINOR_VERSION 1 #define GL2PS_MINOR_VERSION 1
#define GL2PS_PATCH_VERSION 1 #define GL2PS_PATCH_VERSION 2
#define GL2PS_VERSION (GL2PS_MAJOR_VERSION + \ #define GL2PS_VERSION (GL2PS_MAJOR_VERSION + \
0.01 * GL2PS_MINOR_VERSION + \ 0.01 * GL2PS_MINOR_VERSION + \
0.0001 * GL2PS_PATCH_VERSION) 0.0001 * GL2PS_PATCH_VERSION)
/* Output file format */ /* Output file format */
#define GL2PS_PS 1 #define GL2PS_PS 1
#define GL2PS_EPS 2 #define GL2PS_EPS 2
#define GL2PS_TEX 3 #define GL2PS_TEX 3
skipping to change at line 274 skipping to change at line 274
GL2PSprimitive *primitivetoadd; GL2PSprimitive *primitivetoadd;
/* PDF-specific */ /* PDF-specific */
int cref[GL2PS_FIXED_XREF_ENTRIES]; int cref[GL2PS_FIXED_XREF_ENTRIES];
int streamlength; int streamlength;
GL2PSlist *tlist, *tidxlist, *ilist, *slist; GL2PSlist *tlist, *tidxlist, *ilist, *slist;
int lasttype, consec_cnt, consec_inner_cnt; int lasttype, consec_cnt, consec_inner_cnt;
int line_width_diff, line_rgb_diff, last_line_finished, last_triangle_fin ished; int line_width_diff, line_rgb_diff, last_line_finished, last_triangle_fin ished;
} GL2PScontext; } GL2PScontext;
/* private prototypes */
GLint gl2psPrintPrimitives(void);
/* public functions */ /* public functions */
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
GL2PSDLL_API GLint gl2psBeginPage(const char *title, const char *producer, GL2PSDLL_API GLint gl2psBeginPage(const char *title, const char *producer,
GLint viewport[4], GLint format, GLint so rt, GLint viewport[4], GLint format, GLint so rt,
GLint options, GLint colormode, GLint options, GLint colormode,
GLint colorsize, GL2PSrgba *colormap, GLint colorsize, GL2PSrgba *colormap,
 End of changes. 3 change blocks. 
2 lines changed or deleted 6 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/