comparison src/gl2ps.h @ 11586:12df7854fa7c

strip trailing whitespace from source files
author John W. Eaton <jwe@octave.org>
date Thu, 20 Jan 2011 17:24:59 -0500
parents 7dedfd70dd9f
children 7b4ec6f841a2
comparison
equal deleted inserted replaced
11585:1473d0cf86d2 11586:12df7854fa7c
137 #define GL2PS_POLYGON_BOUNDARY 2 137 #define GL2PS_POLYGON_BOUNDARY 2
138 #define GL2PS_LINE_STIPPLE 3 138 #define GL2PS_LINE_STIPPLE 3
139 #define GL2PS_BLEND 4 139 #define GL2PS_BLEND 4
140 140
141 /* Text alignment (o=raster position; default mode is BL): 141 /* Text alignment (o=raster position; default mode is BL):
142 +---+ +---+ +---+ +---+ +---+ +---+ +-o-+ o---+ +---o 142 +---+ +---+ +---+ +---+ +---+ +---+ +-o-+ o---+ +---o
143 | o | o | | o | | | | | | | | | | | | 143 | o | o | | o | | | | | | | | | | | |
144 +---+ +---+ +---+ +-o-+ o---+ +---o +---+ +---+ +---+ 144 +---+ +---+ +---+ +-o-+ o---+ +---o +---+ +---+ +---+
145 C CL CR B BL BR T TL TR */ 145 C CL CR B BL BR T TL TR */
146 146
147 #define GL2PS_TEXT_C 1 147 #define GL2PS_TEXT_C 1
148 #define GL2PS_TEXT_CL 2 148 #define GL2PS_TEXT_CL 2
149 #define GL2PS_TEXT_CR 3 149 #define GL2PS_TEXT_CR 3
158 158
159 #if defined(__cplusplus) 159 #if defined(__cplusplus)
160 extern "C" { 160 extern "C" {
161 #endif 161 #endif
162 162
163 GL2PSDLL_API GLint gl2psBeginPage(const char *title, const char *producer, 163 GL2PSDLL_API GLint gl2psBeginPage(const char *title, const char *producer,
164 GLint viewport[4], GLint format, GLint sort, 164 GLint viewport[4], GLint format, GLint sort,
165 GLint options, GLint colormode, 165 GLint options, GLint colormode,
166 GLint colorsize, GL2PSrgba *colormap, 166 GLint colorsize, GL2PSrgba *colormap,
167 GLint nr, GLint ng, GLint nb, GLint buffersize, 167 GLint nr, GLint ng, GLint nb, GLint buffersize,
168 FILE *stream, const char *filename); 168 FILE *stream, const char *filename);
169 GL2PSDLL_API GLint gl2psEndPage(void); 169 GL2PSDLL_API GLint gl2psEndPage(void);
170 GL2PSDLL_API GLint gl2psSetOptions(GLint options); 170 GL2PSDLL_API GLint gl2psSetOptions(GLint options);
171 GL2PSDLL_API GLint gl2psGetOptions(GLint *options); 171 GL2PSDLL_API GLint gl2psGetOptions(GLint *options);
172 GL2PSDLL_API GLint gl2psBeginViewport(GLint viewport[4]); 172 GL2PSDLL_API GLint gl2psBeginViewport(GLint viewport[4]);
173 GL2PSDLL_API GLint gl2psEndViewport(void); 173 GL2PSDLL_API GLint gl2psEndViewport(void);
174 GL2PSDLL_API GLint gl2psText(const char *str, const char *fontname, 174 GL2PSDLL_API GLint gl2psText(const char *str, const char *fontname,
175 GLshort fontsize); 175 GLshort fontsize);
176 GL2PSDLL_API GLint gl2psTextOpt(const char *str, const char *fontname, 176 GL2PSDLL_API GLint gl2psTextOpt(const char *str, const char *fontname,
177 GLshort fontsize, GLint align, GLfloat angle); 177 GLshort fontsize, GLint align, GLfloat angle);
178 GL2PSDLL_API GLint gl2psSpecial(GLint format, const char *str); 178 GL2PSDLL_API GLint gl2psSpecial(GLint format, const char *str);
179 GL2PSDLL_API GLint gl2psDrawPixels(GLsizei width, GLsizei height, 179 GL2PSDLL_API GLint gl2psDrawPixels(GLsizei width, GLsizei height,
180 GLint xorig, GLint yorig, 180 GLint xorig, GLint yorig,
181 GLenum format, GLenum type, const void *pixels); 181 GLenum format, GLenum type, const void *pixels);