gl2ps.h   gl2ps.h 
/* $Id: gl2ps.h,v 1.94 2004/12/19 01:59:30 geuzaine Exp $ */ /* $Id: gl2ps.h,v 1.97 2005/03/22 07:45:33 geuzaine Exp $ */
/* /*
* GL2PS, an OpenGL to PostScript Printing Library * GL2PS, an OpenGL to PostScript Printing Library
* Copyright (C) 1999-2004 Christophe Geuzaine <geuz@geuz.org> * Copyright (C) 1999-2005 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
* *
* b) the GL2PS License as published by Christophe Geuzaine, either * b) the GL2PS License as published by Christophe Geuzaine, either
* version 2 of the License, or (at your option) any later version. * version 2 of the License, or (at your option) any later version.
skipping to change at line 80 skipping to change at line 80
# include <zlib.h> # include <zlib.h>
# if !defined(GL2PS_HAVE_ZLIB) # if !defined(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 2 #define GL2PS_MINOR_VERSION 2
#define GL2PS_PATCH_VERSION 3 #define GL2PS_PATCH_VERSION 4
#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 161 skipping to change at line 161
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,
GLint nr, GLint ng, GLint nb, GLint buffe rsize, GLint nr, GLint ng, GLint nb, GLint buffe rsize,
FILE *stream, const char *filename); FILE *stream, const char *filename);
GL2PSDLL_API GLint gl2psEndPage(void); GL2PSDLL_API GLint gl2psEndPage(void);
GL2PSDLL_API GLint gl2psSetOptions(GLint options);
GL2PSDLL_API GLint gl2psBeginViewport(GLint viewport[4]); GL2PSDLL_API GLint gl2psBeginViewport(GLint viewport[4]);
GL2PSDLL_API GLint gl2psEndViewport(void); GL2PSDLL_API GLint gl2psEndViewport(void);
GL2PSDLL_API GLint gl2psText(const char *str, const char *fontname, GL2PSDLL_API GLint gl2psText(const char *str, const char *fontname,
GLshort fontsize); GLshort fontsize);
GL2PSDLL_API GLint gl2psTextOpt(const char *str, const char *fontname, GL2PSDLL_API GLint gl2psTextOpt(const char *str, const char *fontname,
GLshort fontsize, GLint align, GLfloat angl e); GLshort fontsize, GLint align, GLfloat angl e);
GL2PSDLL_API GLint gl2psDrawPixels(GLsizei width, GLsizei height, GL2PSDLL_API GLint gl2psDrawPixels(GLsizei width, GLsizei height,
GLint xorig, GLint yorig, GLint xorig, GLint yorig,
GLenum format, GLenum type, const void * pixels); GLenum format, GLenum type, const void * pixels);
GL2PSDLL_API GLint gl2psEnable(GLint mode); GL2PSDLL_API GLint gl2psEnable(GLint mode);
 End of changes. 4 change blocks. 
3 lines changed or deleted 4 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/