68 ::tools_gl2psDeleteContext(
fContext);
92 ::tools_gl2psLineWidth(
fContext, width );
97 ::tools_gl2psPointSize(
fContext, size );
104 ::tools_gl2psTextOpt(
fContext,str,fontname,fontsize,alignment,angle);
124 ::tools_gl2psDeleteContext(
fContext);
128 fContext = ::tools_gl2psCreateContext();
135 ::tools_gl2psDeleteContext(
fContext);
141 setvbuf (
fFile , NULL , _IONBF , 2048 );
152 ::tools_gl2psDeleteContext(
fContext);
180 if(!
fFile)
return false;
209 _status = ::tools_gl2psEndPage(
fContext);
217 fExportImageFormat = type;
void setOpenGLFunctions(tools_gl2ps_gl_funcs_t *)
void disableFileWriting()
tools_GL2PScontextPointer fContext
bool fileWritingEnabled() const
void resetBufferSizeParameters()
void setFileName(const char *)
void setExportImageFormat(unsigned int)
void addTextOpt(const char *, const char *, tools_GLshort, tools_GLint, tools_GLfloat)
tools_gl2ps_gl_funcs_t fOpenGLFuncs
void setViewport(int, int, int, int)
#define TOOLS_GL2PS_USE_CURRENT_VIEWPORT
#define TOOLS_GL2PS_ERROR
#define TOOLS_GL2PS_BEST_ROOT
#define TOOLS_GL2PS_BSP_SORT
#define TOOLS_GL2PS_BLEND
#define TOOLS_GL2PS_OVERFLOW
#define TOOLS_GL2PS_DRAW_BACKGROUND