gl2ps.h   gl2ps.h 
/* $Id: gl2ps.h,v 1.113 2006/11/06 00:48:06 geuzaine Exp $ */
/* /*
* GL2PS, an OpenGL to PostScript Printing Library * GL2PS, an OpenGL to PostScript Printing Library
* Copyright (C) 1999-2006 Christophe Geuzaine <geuz@geuz.org> * Copyright (C) 1999-2009 C. Geuzaine
* *
* 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 81 skipping to change at line 80
# define GL2PS_HAVE_ZLIB # define GL2PS_HAVE_ZLIB
# if defined(HAVE_LIBPNG) || defined(HAVE_PNG) # if defined(HAVE_LIBPNG) || defined(HAVE_PNG)
# define GL2PS_HAVE_LIBPNG # define GL2PS_HAVE_LIBPNG
# endif # endif
#endif #endif
/* Version number */ /* Version number */
#define GL2PS_MAJOR_VERSION 1 #define GL2PS_MAJOR_VERSION 1
#define GL2PS_MINOR_VERSION 3 #define GL2PS_MINOR_VERSION 3
#define GL2PS_PATCH_VERSION 2 #define GL2PS_PATCH_VERSION 3
#define GL2PS_EXTRA_VERSION "" #define GL2PS_EXTRA_VERSION ""
#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)
#define GL2PS_COPYRIGHT "(C) 1999-2006 Christophe Geuzaine (geuz@geuz.org)" #define GL2PS_COPYRIGHT "(C) 1999-2009 C. Geuzaine"
/* Output file formats (the values and the ordering are important!) */ /* Output file formats (the values and the ordering are important!) */
#define GL2PS_PS 0 #define GL2PS_PS 0
#define GL2PS_EPS 1 #define GL2PS_EPS 1
#define GL2PS_TEX 2 #define GL2PS_TEX 2
#define GL2PS_PDF 3 #define GL2PS_PDF 3
#define GL2PS_SVG 4 #define GL2PS_SVG 4
#define GL2PS_PGF 5 #define GL2PS_PGF 5
skipping to change at line 169 skipping to change at line 168
#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 gl2psSetOptions(GLint options);
GL2PSDLL_API GLint gl2psGetOptions(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 gl2psSpecial(GLint format, const char *str); GL2PSDLL_API GLint gl2psSpecial(GLint format, const char *str);
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);
 End of changes. 5 change blocks. 
4 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/