31 #ifdef G4VIS_BUILD_OPENGL_DRIVER 32 #define G4VIS_BUILD_OPENGL_GL2PS 34 #ifdef G4VIS_BUILD_OI_DRIVER 35 #define G4VIS_BUILD_OPENGL_GL2PS 38 #ifdef G4VIS_BUILD_OPENGL_GL2PS 110 const char* aFileName
115 fFileName = (strncpy((
char*)malloc((
unsigned)strlen(aFileName) + 1), aFileName, (
unsigned)strlen(aFileName) + 1));
129 setvbuf (
fFile , NULL , _IONBF , 2048 );
174 return (
fFile?
true:
false);
182 if(!
fFile)
return false;
193 GL_RGBA,0, NULL,0,0,0,
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)
#define GL2PS_DRAW_BACKGROUND
bool disableFileWriting()
void setFileName(const char *)
GL2PSDLL_API GLint gl2psEndPage(void)
#define GL2PS_USE_CURRENT_VIEWPORT
GL2PSDLL_API GLint gl2psPointSize(GLfloat value)
unsigned int fExportImageFormat
void setExportImageFormat(unsigned int)
void resetBufferSizeParameters()
void setViewport(int, int, int, int)
bool fileWritingEnabled() const
GL2PSDLL_API GLint gl2psLineWidth(GLfloat value)
GL2PSDLL_API GLint gl2psEnable(GLint mode)