Classes |
struct | _GL2PSbsptree2d |
struct | GL2PSlist |
struct | _GL2PSbsptree |
struct | GL2PSvertex |
struct | GL2PStriangle |
struct | GL2PSstring |
struct | GL2PSimage |
struct | _GL2PSimagemap |
struct | GL2PSprimitive |
struct | GL2PScompress |
struct | GL2PSpdfgroup |
struct | GL2PScontext |
struct | GL2PSbackend |
Defines |
#define | GL2PS_EPSILON 5.0e-3F |
#define | GL2PS_ZSCALE 1000.0F |
#define | GL2PS_ZOFFSET 5.0e-2F |
#define | GL2PS_ZOFFSET_LARGE 20.0F |
#define | GL2PS_ZERO(arg) (fabs(arg) < 1.e-20) |
#define | GL2PS_NO_TYPE -1 |
#define | GL2PS_TEXT 1 |
#define | GL2PS_POINT 2 |
#define | GL2PS_LINE 3 |
#define | GL2PS_QUADRANGLE 4 |
#define | GL2PS_TRIANGLE 5 |
#define | GL2PS_PIXMAP 6 |
#define | GL2PS_IMAGEMAP 7 |
#define | GL2PS_IMAGEMAP_WRITTEN 8 |
#define | GL2PS_IMAGEMAP_VISIBLE 9 |
#define | GL2PS_SPECIAL 10 |
#define | GL2PS_COINCIDENT 1 |
#define | GL2PS_IN_FRONT_OF 2 |
#define | GL2PS_IN_BACK_OF 3 |
#define | GL2PS_SPANNING 4 |
#define | GL2PS_POINT_COINCIDENT 0 |
#define | GL2PS_POINT_INFRONT 1 |
#define | GL2PS_POINT_BACK 2 |
#define | GL2PS_BEGIN_OFFSET_TOKEN 1 |
#define | GL2PS_END_OFFSET_TOKEN 2 |
#define | GL2PS_BEGIN_BOUNDARY_TOKEN 3 |
#define | GL2PS_END_BOUNDARY_TOKEN 4 |
#define | GL2PS_BEGIN_STIPPLE_TOKEN 5 |
#define | GL2PS_END_STIPPLE_TOKEN 6 |
#define | GL2PS_POINT_SIZE_TOKEN 7 |
#define | GL2PS_LINE_WIDTH_TOKEN 8 |
#define | GL2PS_BEGIN_BLEND_TOKEN 9 |
#define | GL2PS_END_BLEND_TOKEN 10 |
#define | GL2PS_SRC_BLEND_TOKEN 11 |
#define | GL2PS_DST_BLEND_TOKEN 12 |
#define | GL2PS_IMAGEMAP_TOKEN 13 |
#define | GL2PS_DRAW_PIXELS_TOKEN 14 |
#define | GL2PS_TEXT_TOKEN 15 |
Typedefs |
typedef GLfloat | GL2PSxyz [3] |
typedef GLfloat | GL2PSplane [4] |
typedef struct _GL2PSbsptree2d | GL2PSbsptree2d |
typedef struct _GL2PSbsptree | GL2PSbsptree |
typedef struct _GL2PSimagemap | GL2PSimagemap |
Enumerations |
enum | GL2PS_TRIANGLE_PROPERTY {
T_UNDEFINED = -1,
T_CONST_COLOR = 1,
T_VAR_COLOR = 1<<1,
T_ALPHA_1 = 1<<2,
T_ALPHA_LESS_1 = 1<<3,
T_VAR_ALPHA = 1<<4
} |
Functions |
GL2PSDLL_API GLint | gl2psBeginPage (const char *title, const char *producer, GLint viewport[4], GLint format, GLint sort, GLint options, GLint colormode, GLint colorsize, GL2PSrgba *colormap, GLint nr, GLint ng, GLint nb, GLint buffersize, FILE *stream, const char *filename) |
GL2PSDLL_API GLint | gl2psEndPage (void) |
GL2PSDLL_API GLint | gl2psBeginViewport (GLint viewport[4]) |
GL2PSDLL_API GLint | gl2psEndViewport (void) |
GL2PSDLL_API GLint | gl2psTextOpt (const char *str, const char *fontname, GLshort fontsize, GLint alignment, GLfloat angle) |
GL2PSDLL_API GLint | gl2psText (const char *str, const char *fontname, GLshort fontsize) |
GL2PSDLL_API GLint | gl2psSpecial (GLint format, const char *str) |
GL2PSDLL_API GLint | gl2psDrawPixels (GLsizei width, GLsizei height, GLint xorig, GLint yorig, GLenum format, GLenum type, const void *pixels) |
GL2PSDLL_API GLint | gl2psDrawImageMap (GLsizei width, GLsizei height, const GLfloat position[3], const unsigned char *imagemap) |
GL2PSDLL_API GLint | gl2psEnable (GLint mode) |
GL2PSDLL_API GLint | gl2psDisable (GLint mode) |
GL2PSDLL_API GLint | gl2psPointSize (GLfloat value) |
GL2PSDLL_API GLint | gl2psLineWidth (GLfloat value) |
GL2PSDLL_API GLint | gl2psBlendFunc (GLenum sfactor, GLenum dfactor) |
GL2PSDLL_API GLint | gl2psSetOptions (GLint options) |
GL2PSDLL_API GLint | gl2psGetOptions (GLint *options) |
GL2PSDLL_API const char * | gl2psGetFileExtension (GLint format) |
GL2PSDLL_API const char * | gl2psGetFormatDescription (GLint format) |