gl2ps.h | gl2ps.h | |||
---|---|---|---|---|
skipping to change at line 79 | skipping to change at line 79 | |||
/* Support for compressed PostScript/PDF/SVG and for embedded PNG | /* Support for compressed PostScript/PDF/SVG and for embedded PNG | |||
images in SVG */ | images in SVG */ | |||
#if defined(HAVE_ZLIB) || defined(HAVE_LIBZ) | #if defined(HAVE_ZLIB) || defined(HAVE_LIBZ) | |||
# 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 | |||
#if defined(HAVE_NO_VSNPRINTF) | ||||
# define GL2PS_HAVE_NO_VSNPRINTF | ||||
#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 7 | #define GL2PS_PATCH_VERSION 8 | |||
#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-2012 C. Geuzaine" | #define GL2PS_COPYRIGHT "(C) 1999-2012 C. Geuzaine" | |||
/* Output file formats (the values and the ordering are important!) */ | /* Output file formats (the values and the ordering are important!) */ | |||
skipping to change at line 178 | skipping to change at line 182 | |||
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 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 gl2psTextOptColor(const char *str, const char *fontname, | ||||
GLshort fontsize, GLint align, GLfloat | ||||
angle, | ||||
GL2PSrgba color); | ||||
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); | |||
GL2PSDLL_API GLint gl2psEnable(GLint mode); | GL2PSDLL_API GLint gl2psEnable(GLint mode); | |||
GL2PSDLL_API GLint gl2psDisable(GLint mode); | GL2PSDLL_API GLint gl2psDisable(GLint mode); | |||
GL2PSDLL_API GLint gl2psPointSize(GLfloat value); | GL2PSDLL_API GLint gl2psPointSize(GLfloat value); | |||
GL2PSDLL_API GLint gl2psLineWidth(GLfloat value); | GL2PSDLL_API GLint gl2psLineWidth(GLfloat value); | |||
GL2PSDLL_API GLint gl2psBlendFunc(GLenum sfactor, GLenum dfactor); | GL2PSDLL_API GLint gl2psBlendFunc(GLenum sfactor, GLenum dfactor); | |||
/* undocumented */ | /* undocumented */ | |||
GL2PSDLL_API GLint gl2psDrawImageMap(GLsizei width, GLsizei height, | GL2PSDLL_API GLint gl2psDrawImageMap(GLsizei width, GLsizei height, | |||
const GLfloat position[3], | const GLfloat position[3], | |||
const unsigned char *imagemap); | const unsigned char *imagemap); | |||
GL2PSDLL_API const char *gl2psGetFileExtension(GLint format); | GL2PSDLL_API const char *gl2psGetFileExtension(GLint format); | |||
GL2PSDLL_API const char *gl2psGetFormatDescription(GLint format); | GL2PSDLL_API const char *gl2psGetFormatDescription(GLint format); | |||
GL2PSDLL_API GLint gl2psGetFileFormat(); | ||||
#if defined(__cplusplus) | #if defined(__cplusplus) | |||
} | } | |||
#endif | #endif | |||
#endif /* __GL2PS_H__ */ | #endif /* __GL2PS_H__ */ | |||
End of changes. 4 change blocks. | ||||
1 lines changed or deleted | 10 lines changed or added | |||