Skip to content
Snippets Groups Projects
Commit be20b69a authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

*** empty log message ***

parent d40f1317
Branches
Tags
No related merge requests found
......@@ -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;
......
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment