diff --git a/Graphics/gl2ps.cpp b/Graphics/gl2ps.cpp index a059e139290d38792f6ea2e6064f973bd8b3e5e0..77aaf954ba4f91667bcd6c8dd5c2af34d8cf3f98 100644 --- a/Graphics/gl2ps.cpp +++ b/Graphics/gl2ps.cpp @@ -2,7 +2,7 @@ * GL2PS, an OpenGL to Postscript Printing Library * Copyright (C) 1999-2001 Christophe Geuzaine * - * $Id: gl2ps.cpp,v 1.17 2001-06-12 07:27:32 geuzaine Exp $ + * $Id: gl2ps.cpp,v 1.18 2001-06-12 07:32:23 geuzaine Exp $ * * E-mail: Christophe.Geuzaine@AdValvas.be * URL: http://www.geuz.org/gl2ps/ @@ -1245,7 +1245,7 @@ GLvoid gl2psBeginPage(char *title, char *producer, GLint sort, GLint options, GLint colormode, GLint colorsize, GL2PSrgba *colormap, GLint buffersize, FILE *stream){ - gl2ps.format = GL2PS_EPS; + gl2ps.format = GL2PS_EPS; /* a new arg should be introduced to select the format */ gl2ps.title = title; gl2ps.producer = producer; gl2ps.sort = sort; @@ -1298,6 +1298,7 @@ GLint gl2psEndPage(GLvoid){ if(res == GL2PS_SUCCESS){ switch(gl2ps.format){ + /* other vector formats should go here */ case GL2PS_EPS : default : phead = gl2psPrintPostscriptHeader; diff --git a/Graphics/gl2ps.h b/Graphics/gl2ps.h index e97d9562903da412af8794e5de7481dc53f14f38..d780413624e979e7f2e66c7bf635566eab0b7776 100644 --- a/Graphics/gl2ps.h +++ b/Graphics/gl2ps.h @@ -2,7 +2,7 @@ * GL2PS, an OpenGL to Postscript Printing Library * Copyright (C) 1999-2001 Christophe Geuzaine * - * $Id: gl2ps.h,v 1.9 2001-06-11 11:22:04 geuzaine Exp $ + * $Id: gl2ps.h,v 1.10 2001-06-12 07:27:32 geuzaine Exp $ * * E-mail: Christophe.Geuzaine@AdValvas.be * URL: http://www.geuz.org/gl2ps/ @@ -136,9 +136,8 @@ typedef struct { } GL2PSstring; typedef struct { - GLshort type, numverts, boundary; + GLshort type, numverts, boundary, dash, width; GLfloat depth; - GLint dash, width; GL2PSvertex *verts; GL2PSstring *text; } GL2PSprimitive;