gl2ps.h | gl2ps.h | |||
---|---|---|---|---|
/* $Id: gl2ps.h,v 1.97 2005/03/22 07:45:33 geuzaine Exp $ */ | /* $Id: gl2ps.h,v 1.99 2005/06/18 18:06:20 geuzaine Exp $ */ | |||
/* | /* | |||
* GL2PS, an OpenGL to PostScript Printing Library | * GL2PS, an OpenGL to PostScript Printing Library | |||
* Copyright (C) 1999-2005 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 | |||
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 4 | #define GL2PS_PATCH_VERSION 5 | |||
#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 124 | skipping to change at line 124 | |||
#define GL2PS_SILENT (1<<2) | #define GL2PS_SILENT (1<<2) | |||
#define GL2PS_BEST_ROOT (1<<3) | #define GL2PS_BEST_ROOT (1<<3) | |||
#define GL2PS_OCCLUSION_CULL (1<<4) | #define GL2PS_OCCLUSION_CULL (1<<4) | |||
#define GL2PS_NO_TEXT (1<<5) | #define GL2PS_NO_TEXT (1<<5) | |||
#define GL2PS_LANDSCAPE (1<<6) | #define GL2PS_LANDSCAPE (1<<6) | |||
#define GL2PS_NO_PS3_SHADING (1<<7) | #define GL2PS_NO_PS3_SHADING (1<<7) | |||
#define GL2PS_NO_PIXMAP (1<<8) | #define GL2PS_NO_PIXMAP (1<<8) | |||
#define GL2PS_USE_CURRENT_VIEWPORT (1<<9) | #define GL2PS_USE_CURRENT_VIEWPORT (1<<9) | |||
#define GL2PS_COMPRESS (1<<10) | #define GL2PS_COMPRESS (1<<10) | |||
#define GL2PS_NO_BLENDING (1<<11) | #define GL2PS_NO_BLENDING (1<<11) | |||
#define GL2PS_TIGHT_BOUNDING_BOX (1<<12) | ||||
/* Arguments for gl2psEnable/gl2psDisable */ | /* Arguments for gl2psEnable/gl2psDisable */ | |||
#define GL2PS_POLYGON_OFFSET_FILL 1 | #define GL2PS_POLYGON_OFFSET_FILL 1 | |||
#define GL2PS_POLYGON_BOUNDARY 2 | #define GL2PS_POLYGON_BOUNDARY 2 | |||
#define GL2PS_LINE_STIPPLE 3 | #define GL2PS_LINE_STIPPLE 3 | |||
#define GL2PS_BLEND 4 | #define GL2PS_BLEND 4 | |||
/* Text alignment (o=raster position; default mode is BL): | /* Text alignment (o=raster position; default mode is BL): | |||
+---+ +---+ +---+ +---+ +---+ +---+ +-o-+ o---+ +---o | +---+ +---+ +---+ +---+ +---+ +---+ +-o-+ o---+ +---o | |||
End of changes. 3 change blocks. | ||||
2 lines changed or deleted | 3 lines changed or added | |||