Geant4-11
|
#include "Geant4_gl2ps.h"
#include <cmath>
#include <string.h>
#include <sys/types.h>
#include <stdarg.h>
#include <time.h>
#include <float.h>
#include <limits.h>
Go to the source code of this file.
Data Structures | |
struct | GL2PSbackend |
struct | GL2PSbsptree2d_ |
struct | GL2PSbsptree_ |
struct | GL2PScompress |
struct | GL2PScontext |
struct | GL2PSimage |
struct | GL2PSimagemap_ |
struct | GL2PSlist |
struct | GL2PSpdfgroup |
struct | GL2PSprimitive |
struct | GL2PSstring |
struct | GL2PStriangle |
Macros | |
#define | GL2PS_BEGIN_BLEND_TOKEN 11 |
#define | GL2PS_BEGIN_BOUNDARY_TOKEN 3 |
#define | GL2PS_BEGIN_OFFSET_TOKEN 1 |
#define | GL2PS_BEGIN_STIPPLE_TOKEN 5 |
#define | GL2PS_COINCIDENT 1 |
#define | GL2PS_DRAW_PIXELS_TOKEN 16 |
#define | GL2PS_DST_BLEND_TOKEN 14 |
#define | GL2PS_END_BLEND_TOKEN 12 |
#define | GL2PS_END_BOUNDARY_TOKEN 4 |
#define | GL2PS_END_OFFSET_TOKEN 2 |
#define | GL2PS_END_STIPPLE_TOKEN 6 |
#define | GL2PS_EPSILON 5.0e-3F |
#define | GL2PS_IMAGEMAP_TOKEN 15 |
#define | GL2PS_IN_BACK_OF 3 |
#define | GL2PS_IN_FRONT_OF 2 |
#define | GL2PS_LINE_CAP_TOKEN 8 |
#define | GL2PS_LINE_JOIN_TOKEN 9 |
#define | GL2PS_LINE_WIDTH_TOKEN 10 |
#define | GL2PS_POINT_BACK 2 |
#define | GL2PS_POINT_COINCIDENT 0 |
#define | GL2PS_POINT_INFRONT 1 |
#define | GL2PS_POINT_SIZE_TOKEN 7 |
#define | GL2PS_SPANNING 4 |
#define | GL2PS_SRC_BLEND_TOKEN 13 |
#define | GL2PS_TEXT_TOKEN 17 |
#define | GL2PS_ZERO(arg) (std::fabs(arg) < 1.e-20) |
#define | GL2PS_ZOFFSET 5.0e-2F |
#define | GL2PS_ZOFFSET_LARGE 20.0F |
#define | GL2PS_ZSCALE 1000.0F |
Typedefs | |
typedef struct GL2PSbsptree_ | GL2PSbsptree |
typedef struct GL2PSbsptree2d_ | GL2PSbsptree2d |
typedef struct GL2PSimagemap_ | GL2PSimagemap |
typedef GLfloat | GL2PSplane[4] |
Enumerations | |
enum | GL2PS_TRIANGLE_PROPERTY { T_UNDEFINED = -1 , T_CONST_COLOR = 1 , T_VAR_COLOR = 1<<1 , T_ALPHA_1 = 1<<2 , T_ALPHA_LESS_1 = 1<<3 , T_VAR_ALPHA = 1<<4 } |
Functions | |
static void | gl2psAdaptVertexForBlending (GL2PSvertex *v) |
static void | gl2psAddBoundaryInList (GL2PSprimitive *prim, GL2PSlist *list) |
static GLint | gl2psAddInBspImageTree (GL2PSprimitive *prim, GL2PSbsptree2d **tree) |
static void | gl2psAddIndex (GLshort *index0, GLshort *index1, GLshort *nb, GLshort i, GLshort j) |
static void | gl2psAddInImageTree (void *data) |
static void | gl2psAddPlanesInBspTreeImage (GL2PSprimitive *prim, GL2PSbsptree2d **tree) |
GL2PSDLL_API void | gl2psAddPolyPrimitive (GLshort type, GLshort numverts, GL2PSvertex *verts, GLint offset, GLfloat ofactor, GLfloat ounits, GLushort pattern, GLint factor, GLfloat width, GLint linecap, GLint linejoin, char boundary) |
static void | gl2psAddPrimitiveInList (GL2PSprimitive *prim, GL2PSlist *list) |
static GLint | gl2psAddText (GLint type, const char *str, const char *fontname, GLshort fontsize, GLint alignment, GLfloat angle, GL2PSrgba color, GLboolean setblpos, GLfloat blx, GLfloat bly) |
static void | gl2psAssignTriangleProperties (GL2PStriangle *t) |
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) |
GL2PSDLL_API GLint | gl2psBeginViewport (GLint viewport[4]) |
GL2PSDLL_API GLint | gl2psBlendFunc (GLenum sfactor, GLenum dfactor) |
static void | gl2psBuildBspTree (GL2PSbsptree *tree, GL2PSlist *primitives) |
static void | gl2psBuildPolygonBoundary (GL2PSbsptree *tree) |
static GLboolean | gl2psCheckOptions (GLint options, GLint colormode) |
static GLint | gl2psCheckPoint (GL2PSxyz point, GL2PSplane plane) |
static GLint | gl2psCheckPrimitive (GL2PSprimitive *prim, GL2PSplane plane) |
static int | gl2psClosePDFDataStream (void) |
static int | gl2psCompareDepth (const void *a, const void *b) |
static GLfloat | gl2psComparePointPlane (GL2PSxyz point, GL2PSplane plane) |
static void | gl2psComputeTightBoundingBox (void *data) |
static GL2PSimage * | gl2psCopyPixmap (GL2PSimage *im) |
static GL2PSprimitive * | gl2psCopyPrimitive (GL2PSprimitive *p) |
static GL2PSstring * | gl2psCopyText (GL2PSstring *t) |
static void | gl2psCreateSplitPrimitive (GL2PSprimitive *parent, GL2PSplane plane, GL2PSprimitive *child, GLshort numverts, GLshort *index0, GLshort *index1) |
static GL2PSprimitive * | gl2psCreateSplitPrimitive2D (GL2PSprimitive *parent, GLshort numverts, GL2PSvertex *vertx) |
static void | gl2psCutEdge (GL2PSvertex *a, GL2PSvertex *b, GL2PSplane plane, GL2PSvertex *c) |
GL2PSDLL_API GLint | gl2psDisable (GLint mode) |
static void | gl2psDivideQuad (GL2PSprimitive *quad, GL2PSprimitive **t1, GL2PSprimitive **t2) |
GL2PSDLL_API GLint | gl2psDrawImageMap (GLsizei width, GLsizei height, const GLfloat position[3], const unsigned char *imagemap) |
GL2PSDLL_API GLint | gl2psDrawPixels (GLsizei width, GLsizei height, GLint xorig, GLint yorig, GLenum format, GLenum type, const void *pixels) |
GL2PSDLL_API GLint | gl2psEnable (GLint mode) |
GL2PSDLL_API GLint | gl2psEndPage (void) |
static void | gl2psEndPostScriptLine (void) |
static void | gl2psEndSVGLine (void) |
GL2PSDLL_API GLint | gl2psEndViewport (void) |
static void | gl2psFillTriangleFromPrimitive (GL2PStriangle *t, GL2PSprimitive *p, GLboolean assignprops) |
static GLint | gl2psFindRoot (GL2PSlist *primitives, GL2PSprimitive **root) |
GL2PSDLL_API GLint | gl2psForceRasterPos (GL2PSvertex *vert) |
static void | gl2psFree (void *ptr) |
static void | gl2psFreeBspImageTree (GL2PSbsptree2d **tree) |
static void | gl2psFreeBspTree (GL2PSbsptree **tree) |
static void | gl2psFreeImagemap (GL2PSimagemap *list) |
static void | gl2psFreePixmap (GL2PSimage *im) |
static void | gl2psFreePrimitive (void *data) |
static void | gl2psFreeText (GL2PSstring *text) |
GL2PSDLL_API const char * | gl2psGetFileExtension (GLint format) |
GL2PSDLL_API GLint | gl2psGetFileFormat () |
GL2PSDLL_API const char * | gl2psGetFormatDescription (GLint format) |
static GLshort | gl2psGetIndex (GLshort i, GLshort num) |
static void | gl2psGetNormal (GLfloat *a, GLfloat *b, GLfloat *c) |
GL2PSDLL_API GLint | gl2psGetOptions (GLint *options) |
static void | gl2psGetPlane (GL2PSprimitive *prim, GL2PSplane plane) |
static GLint | gl2psGetPlaneFromPoints (GL2PSxyz a, GL2PSxyz b, GL2PSplane plane) |
static GLfloat | gl2psGetRGB (GL2PSimage *im, GLuint x, GLuint y, GLfloat *red, GLfloat *green, GLfloat *blue) |
static GLint | gl2psGetVertex (GL2PSvertex *v, GLfloat *p) |
static GLboolean | gl2psGreater (GLfloat f1, GLfloat f2) |
static void | gl2psInitTriangle (GL2PStriangle *t) |
static GLboolean | gl2psLess (GLfloat f1, GLfloat f2) |
GL2PSDLL_API GLint | gl2psLineCap (GLint value) |
GL2PSDLL_API GLint | gl2psLineJoin (GLint value) |
GL2PSDLL_API GLint | gl2psLineWidth (GLfloat value) |
static void | gl2psListAction (GL2PSlist *list, void(*action)(void *data)) |
static void | gl2psListActionInverse (GL2PSlist *list, void(*action)(void *data)) |
static void | gl2psListAdd (GL2PSlist *list, void *data) |
static void | gl2psListAssignSortIds (GL2PSlist *list) |
static GL2PSlist * | gl2psListCreate (GLint n, GLint incr, GLint size) |
static void | gl2psListDelete (GL2PSlist *list) |
static int | gl2psListNbr (GL2PSlist *list) |
static void * | gl2psListPointer (GL2PSlist *list, GLint idx) |
static void | gl2psListRealloc (GL2PSlist *list, GLint n) |
static void | gl2psListReset (GL2PSlist *list) |
static void | gl2psListSort (GL2PSlist *list, int(*fcmp)(const void *a, const void *b)) |
static void * | gl2psMalloc (size_t size) |
static void | gl2psMsg (GLint level, const char *fmt,...) |
static GLfloat | gl2psNorm (GLfloat *a) |
static int | gl2psOpenPDFDataStream (void) |
static int | gl2psOpenPDFDataStreamWritePreface (void) |
static void | gl2psParseFeedbackBuffer (GLint used) |
static void | gl2psParseStipplePattern (GLushort pattern, GLint factor, int *nb, int array[10]) |
static void | gl2psPDFgroupListDelete (void) |
static void | gl2psPDFgroupListInit (void) |
static int | gl2psPDFgroupListWriteFontResources (void) |
static int | gl2psPDFgroupListWriteGStateResources (void) |
static void | gl2psPDFgroupListWriteMainStream (void) |
static int | gl2psPDFgroupListWriteObjects (int entryoffs) |
static int | gl2psPDFgroupListWriteShaderResources (void) |
static int | gl2psPDFgroupListWriteVariableResources (void) |
static int | gl2psPDFgroupListWriteXObjectResources (void) |
static void | gl2psPDFgroupObjectInit (GL2PSpdfgroup *gro) |
static void | gl2psPDFRectHull (GLfloat *xmin, GLfloat *xmax, GLfloat *ymin, GLfloat *ymax, GL2PStriangle *triangles, int cnt) |
static void | gl2psPDFstacksInit (void) |
static const char * | gl2psPGFTextAlignment (int align) |
GL2PSDLL_API GLint | gl2psPointSize (GLfloat value) |
static int | gl2psPrintf (const char *fmt,...) |
static void | gl2psPrintGzipFooter (void) |
static void | gl2psPrintGzipHeader (void) |
static void | gl2psPrintPDFBeginViewport (GLint viewport[4]) |
static int | gl2psPrintPDFCatalog (void) |
static int | gl2psPrintPDFCompressorType (void) |
static int | gl2psPrintPDFDataStreamLength (int val) |
static GLint | gl2psPrintPDFEndViewport (void) |
static int | gl2psPrintPDFFillColor (GL2PSrgba rgba) |
static void | gl2psPrintPDFFinalPrimitive (void) |
static void | gl2psPrintPDFFooter (void) |
static int | gl2psPrintPDFGSObject (void) |
static void | gl2psPrintPDFHeader (void) |
static int | gl2psPrintPDFInfo (void) |
static int | gl2psPrintPDFLineCap (GLint lc) |
static int | gl2psPrintPDFLineJoin (GLint lj) |
static int | gl2psPrintPDFLineWidth (GLfloat lw) |
static int | gl2psPrintPDFOpenPage (void) |
static int | gl2psPrintPDFPages (void) |
static int | gl2psPrintPDFPixmap (int obj, int childobj, GL2PSimage *im, int gray) |
static int | gl2psPrintPDFPixmapStreamData (GL2PSimage *im, int(*action)(unsigned long data, int size), int gray) |
static void | gl2psPrintPDFPrimitive (void *data) |
static int | gl2psPrintPDFShader (int obj, GL2PStriangle *triangles, int size, int gray) |
static int | gl2psPrintPDFShaderExtGS (int obj, int childobj) |
static int | gl2psPrintPDFShaderMask (int obj, int childobj) |
static int | gl2psPrintPDFShaderSimpleExtGS (int obj, GLfloat alpha) |
static int | gl2psPrintPDFShaderStreamData (GL2PStriangle *triangle, GLfloat dx, GLfloat dy, GLfloat xmin, GLfloat ymin, int(*action)(unsigned long data, int size), int gray) |
static int | gl2psPrintPDFShaderStreamDataAlpha (GL2PSvertex *vertex, int(*action)(unsigned long data, int size), int sigbyte) |
static int | gl2psPrintPDFShaderStreamDataCoord (GL2PSvertex *vertex, int(*action)(unsigned long data, int size), GLfloat dx, GLfloat dy, GLfloat xmin, GLfloat ymin) |
static int | gl2psPrintPDFShaderStreamDataRGB (GL2PSvertex *vertex, int(*action)(unsigned long data, int size)) |
static int | gl2psPrintPDFStrokeColor (GL2PSrgba rgba) |
static int | gl2psPrintPDFText (int obj, GL2PSstring *s, int fontnumber) |
static void | gl2psPrintPGFBeginViewport (GLint viewport[4]) |
static void | gl2psPrintPGFColor (GL2PSrgba rgba) |
static void | gl2psPrintPGFDash (GLushort pattern, GLint factor) |
static GLint | gl2psPrintPGFEndViewport (void) |
static void | gl2psPrintPGFFinalPrimitive (void) |
static void | gl2psPrintPGFFooter (void) |
static void | gl2psPrintPGFHeader (void) |
static void | gl2psPrintPGFPrimitive (void *data) |
static void | gl2psPrintPostScriptBeginViewport (GLint viewport[4]) |
static void | gl2psPrintPostScriptColor (GL2PSrgba rgba) |
static int | gl2psPrintPostScriptDash (GLushort pattern, GLint factor, const char *str) |
static GLint | gl2psPrintPostScriptEndViewport (void) |
static void | gl2psPrintPostScriptFinalPrimitive (void) |
static void | gl2psPrintPostScriptFooter (void) |
static void | gl2psPrintPostScriptHeader (void) |
static void | gl2psPrintPostScriptImagemap (GLfloat x, GLfloat y, GLsizei width, GLsizei height, const unsigned char *imagemap) |
static void | gl2psPrintPostScriptPixmap (GLfloat x, GLfloat y, GL2PSimage *im) |
static void | gl2psPrintPostScriptPrimitive (void *data) |
static GLint | gl2psPrintPrimitives (void) |
static void | gl2psPrintSVGBeginViewport (GLint viewport[4]) |
static void | gl2psPrintSVGDash (GLushort pattern, GLint factor) |
static GLint | gl2psPrintSVGEndViewport (void) |
static void | gl2psPrintSVGFinalPrimitive (void) |
static void | gl2psPrintSVGFooter (void) |
static void | gl2psPrintSVGHeader (void) |
static void | gl2psPrintSVGPixmap (GLfloat x, GLfloat y, GL2PSimage *pixmap) |
static void | gl2psPrintSVGPrimitive (void *data) |
static void | gl2psPrintSVGSmoothTriangle (GL2PSxyz xyz[3], GL2PSrgba rgba[3]) |
static void | gl2psPrintTeXBeginViewport (GLint viewport[4]) |
static GLint | gl2psPrintTeXEndViewport (void) |
static void | gl2psPrintTeXFinalPrimitive (void) |
static void | gl2psPrintTeXFooter (void) |
static void | gl2psPrintTeXHeader (void) |
static void | gl2psPrintTeXPrimitive (void *data) |
static GLfloat | gl2psPsca (GLfloat *a, GLfloat *b) |
static void | gl2psPutPDFImage (GL2PSimage *image, int cnt, GLfloat x, GLfloat y) |
static void | gl2psPutPDFSpecial (int prim, int sec, GL2PSstring *text) |
static void | gl2psPutPDFText (GL2PSstring *text, int cnt, GLfloat x, GLfloat y) |
static void | gl2psPutPDFTextBL (GL2PSstring *text, int cnt, GLfloat x, GLfloat y, GLfloat xbl, GLfloat ybl) |
static void | gl2psPvec (GLfloat *a, GLfloat *b, GLfloat *c) |
static void * | gl2psRealloc (void *ptr, size_t size) |
static void | gl2psRescaleAndOffset (void) |
static void | gl2psResetLineProperties (void) |
static void | gl2psResetPostScriptColor (void) |
static GLboolean | gl2psSameColor (GL2PSrgba rgba1, GL2PSrgba rgba2) |
static GLboolean | gl2psSameColorThreshold (int n, GL2PSrgba rgba[], GL2PSrgba threshold) |
static GLboolean | gl2psSamePosition (GL2PSxyz p1, GL2PSxyz p2) |
static void | gl2psSetLastColor (GL2PSrgba rgba) |
GL2PSDLL_API GLint | gl2psSetOptions (GLint options) |
GL2PSDLL_API GLint | gl2psSetTexScaling (GLfloat scaling) |
GL2PSDLL_API GLint | gl2psSorting (GLint mode) |
static void | gl2psSortOutTrianglePDFgroup (GL2PSpdfgroup *gro) |
GL2PSDLL_API GLint | gl2psSpecial (GLint format, const char *str) |
GL2PSDLL_API GLint | gl2psSpecialColor (GLint format, const char *str, GL2PSrgba rgba) |
static GLint | gl2psSplitPrimitive (GL2PSprimitive *prim, GL2PSplane plane, GL2PSprimitive **front, GL2PSprimitive **back) |
static void | gl2psSplitPrimitive2D (GL2PSprimitive *prim, GL2PSplane plane, GL2PSprimitive **front, GL2PSprimitive **back) |
static GLboolean | gl2psSupportedBlendMode (GLenum sfactor, GLenum dfactor) |
static void | gl2psSVGGetColorString (GL2PSrgba rgba, char str[32]) |
static void | gl2psSVGGetCoordsAndColors (int n, GL2PSvertex *verts, GL2PSxyz *xyz, GL2PSrgba *rgba) |
static GLint | gl2psTestSplitPrimitive (GL2PSprimitive *prim, GL2PSplane plane) |
GL2PSDLL_API GLint | gl2psText (const char *str, const char *fontname, GLshort fontsize) |
GL2PSDLL_API GLint | gl2psTextOpt (const char *str, const char *fontname, GLshort fontsize, GLint alignment, GLfloat angle) |
GL2PSDLL_API GLint | gl2psTextOptColor (const char *str, const char *fontname, GLshort fontsize, GLint alignment, GLfloat angle, GL2PSrgba color) |
GL2PSDLL_API GLint | gl2psTextOptColorBL (const char *str, const char *fontname, GLshort fontsize, GLint alignment, GLfloat angle, GL2PSrgba color, GLfloat blx, GLfloat bly) |
static void | gl2psTraverseBspTree (GL2PSbsptree *tree, GL2PSxyz eye, GLfloat epsilon, GLboolean(*compare)(GLfloat f1, GLfloat f2), void(*action)(void *data), int inverse) |
static int | gl2psTrianglesFirst (const void *a, const void *b) |
static GLboolean | gl2psVertsSameColor (const GL2PSprimitive *prim) |
static int | gl2psWriteBigEndian (unsigned long data, int bytes) |
static void | gl2psWriteByte (unsigned char byte) |
Variables | |
static GL2PScontext * | gl2ps = NULL |
static GL2PSbackend * | gl2psbackends [] |
static GL2PSbackend | gl2psEPS |
static GL2PSbackend | gl2psPDF |
static GL2PSbackend | gl2psPGF |
static GL2PSbackend | gl2psPS |
static GL2PSbackend | gl2psSVG |
static GL2PSbackend | gl2psTEX |
typedef struct GL2PSbsptree_ GL2PSbsptree |
typedef struct GL2PSbsptree2d_ GL2PSbsptree2d |
typedef struct GL2PSimagemap_ GL2PSimagemap |
Enumerator | |
---|---|
T_UNDEFINED | |
T_CONST_COLOR | |
T_VAR_COLOR | |
T_ALPHA_1 | |
T_ALPHA_LESS_1 | |
T_VAR_ALPHA |
Definition at line 128 of file gl2ps.cc.
|
static |
Definition at line 1014 of file gl2ps.cc.
References GL2PScontext::blendfunc, GL2PScontext::blending, gl2ps, GL2PS_NO_BLENDING, GL2PScontext::options, and GL2PSvertex::rgba.
Referenced by gl2psParseFeedbackBuffer().
|
static |
Definition at line 2171 of file gl2ps.cc.
References GL2PSprimitive::boundary, GL2PSprimitive::culled, GL2PSprimitive::factor, GL2PS_LINE, gl2psGetIndex(), gl2psListAdd(), gl2psMalloc(), gl2psNorm(), GL2PSprimitive::linecap, GL2PSprimitive::linejoin, GL2PSprimitive::numverts, GL2PSprimitive::ofactor, GL2PSprimitive::offset, GL2PSprimitive::ounits, GL2PSprimitive::pattern, GL2PSvertex::rgba, GL2PSprimitive::type, GL2PSprimitive::verts, GL2PSprimitive::width, and GL2PSvertex::xyz.
Referenced by gl2psBuildPolygonBoundary().
|
static |
Definition at line 2095 of file gl2ps.cc.
References gl2ps, GL2PS_COINCIDENT, GL2PS_IMAGEMAP, GL2PS_IN_BACK_OF, GL2PS_IN_FRONT_OF, GL2PS_LINE, GL2PS_PIXMAP, GL2PS_SPANNING, GL2PS_SPECIAL, GL2PS_TEXT, gl2psAddInBspImageTree(), gl2psAddPlanesInBspTreeImage(), gl2psCheckPrimitive(), gl2psFree(), gl2psSplitPrimitive2D(), GL2PScontext::primitivetoadd, GL2PSprimitive::type, GL2PSprimitive::verts, and GL2PScontext::zerosurfacearea.
Referenced by gl2psAddInBspImageTree(), and gl2psAddInImageTree().
|
static |
Definition at line 1335 of file gl2ps.cc.
Referenced by gl2psSplitPrimitive().
|
static |
Definition at line 2154 of file gl2ps.cc.
References GL2PSprimitive::culled, GL2PSprimitive::data, GL2PSimage::format, gl2ps, GL2PS_IMAGEMAP, GL2PS_IMAGEMAP_VISIBLE, gl2psAddInBspImageTree(), GL2PSprimitive::image, GL2PScontext::imagetree, GL2PScontext::primitivetoadd, and GL2PSprimitive::type.
Referenced by gl2psPrintPrimitives().
|
static |
Definition at line 1856 of file gl2ps.cc.
References GL2PSbsptree2d_::back, GL2PSbsptree2d_::front, GL2PS_POINT_BACK, GL2PS_POINT_COINCIDENT, GL2PS_POINT_INFRONT, gl2psCheckPoint(), gl2psFree(), gl2psGetPlaneFromPoints(), gl2psMalloc(), GL2PSprimitive::numverts, GL2PSbsptree2d_::plane, GL2PSprimitive::verts, and GL2PSvertex::xyz.
Referenced by gl2psAddInBspImageTree().
GL2PSDLL_API void gl2psAddPolyPrimitive | ( | GLshort | type, |
GLshort | numverts, | ||
GL2PSvertex * | verts, | ||
GLint | offset, | ||
GLfloat | ofactor, | ||
GLfloat | ounits, | ||
GLushort | pattern, | ||
GLint | factor, | ||
GLfloat | width, | ||
GLint | linecap, | ||
GLint | linejoin, | ||
char | boundary | ||
) |
Definition at line 2263 of file gl2ps.cc.
References GL2PSprimitive::boundary, GL2PSprimitive::culled, GL2PSprimitive::factor, gl2ps, gl2psListAdd(), gl2psMalloc(), GL2PSprimitive::linecap, GL2PSprimitive::linejoin, GL2PSprimitive::numverts, GL2PSprimitive::ofactor, GL2PSprimitive::offset, GL2PSprimitive::ounits, GL2PSprimitive::pattern, GL2PScontext::primitives, GL2PSprimitive::type, GL2PSprimitive::verts, and GL2PSprimitive::width.
Referenced by gl2psParseFeedbackBuffer().
|
static |
Definition at line 1586 of file gl2ps.cc.
References GL2PS_QUADRANGLE, gl2psDivideQuad(), gl2psFreePrimitive(), gl2psListAdd(), and GL2PSprimitive::type.
Referenced by gl2psBuildBspTree().
|
static |
Definition at line 893 of file gl2ps.cc.
References GL2PSstring::alignment, angle, GL2PSstring::angle, GL2PScontext::auxprimitives, GL2PSprimitive::boundary, GL2PSprimitive::culled, GL2PSprimitive::data, GL2PSprimitive::factor, GL2PSstring::fontname, GL2PSstring::fontsize, GL2PScontext::forcerasterpos, gl2ps, GL2PS_NO_OPENGL_CONTEXT, GL2PS_NO_TEXT, GL2PS_SUCCESS, GL2PS_TEXT_TOKEN, GL2PS_UNINITIALIZED, gl2psListAdd(), gl2psMalloc(), GL2PSprimitive::linecap, GL2PSprimitive::linejoin, GL2PSprimitive::numverts, GL2PSprimitive::ofactor, GL2PSprimitive::offset, GL2PScontext::options, GL2PSprimitive::ounits, GL2PSprimitive::pattern, pos, GL2PScontext::primitives, GL2PScontext::rasterpos, GL2PSvertex::rgba, GL2PSstring::str, GL2PSprimitive::text, GL2PSprimitive::type, GL2PSprimitive::verts, GL2PSprimitive::width, and GL2PSvertex::xyz.
Referenced by gl2psSpecial(), gl2psSpecialColor(), gl2psText(), gl2psTextOpt(), gl2psTextOptColor(), and gl2psTextOptColorBL().
|
static |
Definition at line 1038 of file gl2ps.cc.
References GL2PS_ZERO, GL2PStriangle::prop, GL2PSvertex::rgba, T_ALPHA_1, T_ALPHA_LESS_1, T_VAR_ALPHA, T_VAR_COLOR, and GL2PStriangle::vertex.
Referenced by gl2psFillTriangleFromPrimitive().
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 | ||
) |
Definition at line 6002 of file gl2ps.cc.
References GL2PScontext::auxprimitives, GL2PScontext::bgcolor, GL2PScontext::blendfunc, GL2PScontext::blending, GL2PScontext::buffersize, GL2PScontext::colormap, GL2PScontext::colormode, GL2PScontext::colorsize, GL2PScontext::compress, GL2PScontext::feedback, GL2PScontext::filename, GL2PScontext::forcerasterpos, GL2PScontext::format, gl2ps, GL2PS_BSP_SORT, GL2PS_ERROR, GL2PS_NO_BLENDING, GL2PS_NO_OPENGL_CONTEXT, GL2PS_NO_SORT, GL2PS_NONE, GL2PS_SIMPLE_SORT, GL2PS_SUCCESS, GL2PS_SVG, GL2PS_USE_CURRENT_VIEWPORT, gl2psbackends, gl2psCheckOptions(), gl2psFree(), gl2psListCreate(), gl2psMalloc(), gl2psMsg(), GL2PScontext::header, GL2PScontext::imagemap_head, GL2PScontext::imagemap_tail, GL2PScontext::imagetree, GL2PScontext::lastfactor, GL2PScontext::lastlinecap, GL2PScontext::lastlinejoin, GL2PScontext::lastlinewidth, GL2PScontext::lastpattern, GL2PScontext::lastrgba, GL2PScontext::lastvertex, GL2PScontext::maxbestroot, GL2PScontext::options, GL2PScontext::pdfgrouplist, GL2PScontext::pdfprimlist, GL2PScontext::primitives, GL2PScontext::primitivetoadd, GL2PScontext::producer, GL2PSvertex::rgba, GL2PScontext::sort, GL2PScontext::stream, GL2PScontext::tex_scaling, GL2PScontext::threshold, GL2PScontext::title, GL2PScontext::viewport, GL2PScontext::xreflist, GL2PSvertex::xyz, and GL2PScontext::zerosurfacearea.
GL2PSDLL_API GLint gl2psBeginViewport | ( | GLint | viewport[4] | ) |
Definition at line 6223 of file gl2ps.cc.
References GL2PSbackend::beginViewport, GL2PScontext::format, gl2ps, GL2PS_SUCCESS, GL2PS_UNINITIALIZED, and gl2psbackends.
GL2PSDLL_API GLint gl2psBlendFunc | ( | GLenum | sfactor, |
GLenum | dfactor | ||
) |
Definition at line 6552 of file gl2ps.cc.
References gl2ps, GL2PS_DST_BLEND_TOKEN, GL2PS_SRC_BLEND_TOKEN, GL2PS_SUCCESS, GL2PS_UNINITIALIZED, GL2PS_WARNING, and gl2psSupportedBlendMode().
|
static |
Definition at line 1628 of file gl2ps.cc.
References GL2PSbsptree_::back, GL2PSbsptree_::front, GL2PS_COINCIDENT, GL2PS_IN_BACK_OF, GL2PS_IN_FRONT_OF, GL2PS_SPANNING, gl2psAddPrimitiveInList(), gl2psBuildBspTree(), gl2psFindRoot(), gl2psFreePrimitive(), gl2psGetPlane(), gl2psListCreate(), gl2psListDelete(), gl2psListNbr(), gl2psListPointer(), gl2psListSort(), gl2psMalloc(), gl2psSplitPrimitive(), gl2psTrianglesFirst(), GL2PSbsptree_::plane, and GL2PSbsptree_::primitives.
Referenced by gl2psBuildBspTree(), and gl2psPrintPrimitives().
|
static |
Definition at line 2243 of file gl2ps.cc.
References GL2PSbsptree_::back, GL2PSprimitive::boundary, GL2PSbsptree_::front, gl2psAddBoundaryInList(), gl2psBuildPolygonBoundary(), gl2psListNbr(), gl2psListPointer(), and GL2PSbsptree_::primitives.
Referenced by gl2psBuildPolygonBoundary(), and gl2psPrintPrimitives().
|
static |
Definition at line 5968 of file gl2ps.cc.
References GL2PS_DRAW_BACKGROUND, GL2PS_ERROR, GL2PS_NO_BLENDING, GL2PS_NO_OPENGL_CONTEXT, GL2PS_NONE, GL2PS_USE_CURRENT_VIEWPORT, and gl2psMsg().
Referenced by gl2psBeginPage(), and gl2psSetOptions().
|
static |
Definition at line 1846 of file gl2ps.cc.
References GL2PS_EPSILON, GL2PS_POINT_BACK, GL2PS_POINT_COINCIDENT, GL2PS_POINT_INFRONT, and gl2psComparePointPlane().
Referenced by gl2psAddPlanesInBspTreeImage(), gl2psCheckPrimitive(), and gl2psSplitPrimitive2D().
|
static |
Definition at line 1960 of file gl2ps.cc.
References GL2PS_COINCIDENT, GL2PS_IN_BACK_OF, GL2PS_IN_FRONT_OF, GL2PS_POINT_BACK, GL2PS_POINT_INFRONT, GL2PS_SPANNING, gl2psCheckPoint(), GL2PSprimitive::numverts, pos, GL2PSprimitive::verts, and GL2PSvertex::xyz.
Referenced by gl2psAddInBspImageTree().
|
static |
Definition at line 4327 of file gl2ps.cc.
References GL2PScontext::compress, gl2ps, GL2PS_COMPRESS, GL2PS_ERROR, gl2psDeflate, gl2psFreeCompress, gl2psMsg(), GL2PScontext::options, GL2PScontext::stream, GL2PScontext::streamlength, and Z_OK.
Referenced by gl2psPrintPDFFooter().
|
static |
Definition at line 1473 of file gl2ps.cc.
References GL2PSprimitive::numverts, GL2PSprimitive::sortid, GL2PSprimitive::verts, and GL2PSvertex::xyz.
Referenced by gl2psPrintPrimitives().
|
static |
Definition at line 1154 of file gl2ps.cc.
Referenced by gl2psCheckPoint(), gl2psCutEdge(), gl2psSplitPrimitive(), gl2psTestSplitPrimitive(), and gl2psTraverseBspTree().
|
static |
Definition at line 5872 of file gl2ps.cc.
References gl2ps, GL2PSprimitive::numverts, GL2PSprimitive::verts, GL2PScontext::viewport, and GL2PSvertex::xyz.
Referenced by gl2psPrintPrimitives().
|
static |
Definition at line 790 of file gl2ps.cc.
References GL2PSimage::format, gl2psMalloc(), GL2PSimage::height, GL2PSimage::pixels, GL2PSimage::type, GL2PSimage::width, GL2PSimage::zoom_x, and GL2PSimage::zoom_y.
Referenced by gl2psCopyPrimitive().
|
static |
Definition at line 1098 of file gl2ps.cc.
References GL2PSprimitive::boundary, GL2PSprimitive::culled, GL2PSprimitive::data, GL2PSprimitive::factor, GL2PS_ERROR, GL2PS_PIXMAP, GL2PS_SPECIAL, GL2PS_TEXT, gl2psCopyPixmap(), gl2psCopyText(), gl2psMalloc(), gl2psMsg(), GL2PSprimitive::image, GL2PSprimitive::linecap, GL2PSprimitive::linejoin, GL2PSprimitive::numverts, GL2PSprimitive::ofactor, GL2PSprimitive::offset, GL2PSprimitive::ounits, GL2PSprimitive::pattern, GL2PSprimitive::text, GL2PSprimitive::type, GL2PSprimitive::verts, and GL2PSprimitive::width.
Referenced by gl2psPrintPDFPrimitive().
|
static |
Definition at line 978 of file gl2ps.cc.
References GL2PSstring::alignment, GL2PSstring::angle, GL2PSstring::fontname, GL2PSstring::fontsize, gl2psMalloc(), and GL2PSstring::str.
Referenced by gl2psCopyPrimitive().
|
static |
Definition at line 1287 of file gl2ps.cc.
References GL2PSprimitive::boundary, GL2PSprimitive::culled, GL2PSprimitive::data, GL2PSprimitive::factor, GL2PS_IMAGEMAP, GL2PS_LINE, GL2PS_NO_TYPE, GL2PS_POINT, GL2PS_QUADRANGLE, GL2PS_TRIANGLE, GL2PS_WARNING, gl2psCutEdge(), gl2psMalloc(), gl2psMsg(), GL2PSprimitive::image, GL2PSprimitive::linecap, GL2PSprimitive::linejoin, GL2PSprimitive::numverts, GL2PSprimitive::ofactor, GL2PSprimitive::offset, GL2PSprimitive::ounits, GL2PSprimitive::pattern, GL2PSprimitive::type, GL2PSprimitive::verts, and GL2PSprimitive::width.
Referenced by gl2psSplitPrimitive().
|
static |
Definition at line 1975 of file gl2ps.cc.
References GL2PSprimitive::boundary, GL2PSprimitive::culled, GL2PSprimitive::data, GL2PSprimitive::factor, GL2PS_IMAGEMAP, GL2PS_LINE, GL2PS_NO_TYPE, GL2PS_POINT, GL2PS_QUADRANGLE, GL2PS_TRIANGLE, gl2psMalloc(), GL2PSprimitive::image, GL2PSprimitive::linecap, GL2PSprimitive::linejoin, GL2PSprimitive::numverts, GL2PSprimitive::ofactor, GL2PSprimitive::offset, GL2PSprimitive::ounits, GL2PSprimitive::pattern, GL2PSprimitive::type, GL2PSprimitive::verts, and GL2PSprimitive::width.
Referenced by gl2psSplitPrimitive2D().
|
static |
Definition at line 1262 of file gl2ps.cc.
References GL2PS_ZERO, gl2psComparePointPlane(), gl2psPsca(), GL2PSvertex::rgba, and GL2PSvertex::xyz.
Referenced by gl2psCreateSplitPrimitive(), and gl2psSplitPrimitive2D().
GL2PSDLL_API GLint gl2psDisable | ( | GLint | mode | ) |
Definition at line 6487 of file gl2ps.cc.
References gl2ps, GL2PS_BLEND, GL2PS_END_BLEND_TOKEN, GL2PS_END_BOUNDARY_TOKEN, GL2PS_END_OFFSET_TOKEN, GL2PS_END_STIPPLE_TOKEN, GL2PS_LINE_STIPPLE, GL2PS_POLYGON_BOUNDARY, GL2PS_POLYGON_OFFSET_FILL, GL2PS_SUCCESS, GL2PS_UNINITIALIZED, GL2PS_WARNING, and gl2psMsg().
|
static |
Definition at line 1445 of file gl2ps.cc.
References GL2PSprimitive::boundary, GL2PSprimitive::culled, GL2PSprimitive::factor, GL2PS_TRIANGLE, gl2psMalloc(), GL2PSprimitive::linecap, GL2PSprimitive::linejoin, GL2PSprimitive::ofactor, GL2PSprimitive::offset, GL2PSprimitive::ounits, GL2PSprimitive::pattern, GL2PSprimitive::verts, and GL2PSprimitive::width.
Referenced by gl2psAddPrimitiveInList().
GL2PSDLL_API GLint gl2psDrawImageMap | ( | GLsizei | width, |
GLsizei | height, | ||
const GLfloat | position[3], | ||
const unsigned char * | imagemap | ||
) |
Definition at line 6426 of file gl2ps.cc.
References gl2ps, GL2PS_ERROR, GL2PS_IMAGEMAP_TOKEN, GL2PS_SUCCESS, and GL2PS_UNINITIALIZED.
GL2PSDLL_API GLint gl2psDrawPixels | ( | GLsizei | width, |
GLsizei | height, | ||
GLint | xorig, | ||
GLint | yorig, | ||
GLenum | format, | ||
GLenum | type, | ||
const void * | pixels | ||
) |
Definition at line 6312 of file gl2ps.cc.
References GL2PScontext::auxprimitives, GL2PScontext::blending, GL2PSprimitive::boundary, GL2PSprimitive::culled, GL2PSprimitive::data, GL2PSprimitive::factor, GL2PScontext::forcerasterpos, GL2PSimage::format, gl2ps, GL2PS_DRAW_PIXELS_TOKEN, GL2PS_ERROR, GL2PS_NO_BLENDING, GL2PS_NO_OPENGL_CONTEXT, GL2PS_NO_PIXMAP, GL2PS_NONE, GL2PS_PIXMAP, GL2PS_SUCCESS, GL2PS_UNINITIALIZED, gl2psListAdd(), gl2psMalloc(), gl2psMsg(), GL2PSimage::height, GL2PSprimitive::image, GL2PSprimitive::numverts, GL2PSprimitive::ofactor, GL2PSprimitive::offset, GL2PScontext::options, GL2PSprimitive::ounits, GL2PSprimitive::pattern, GL2PSimage::pixels, pos, GL2PScontext::primitives, GL2PScontext::rasterpos, GL2PSvertex::rgba, GL2PSimage::type, GL2PSprimitive::type, GL2PSprimitive::verts, GL2PSimage::width, GL2PSprimitive::width, GL2PSvertex::xyz, GL2PSimage::zoom_x, and GL2PSimage::zoom_y.
GL2PSDLL_API GLint gl2psEnable | ( | GLint | mode | ) |
Definition at line 6451 of file gl2ps.cc.
References gl2ps, GL2PS_BEGIN_BLEND_TOKEN, GL2PS_BEGIN_BOUNDARY_TOKEN, GL2PS_BEGIN_OFFSET_TOKEN, GL2PS_BEGIN_STIPPLE_TOKEN, GL2PS_BLEND, GL2PS_LINE_STIPPLE, GL2PS_POLYGON_BOUNDARY, GL2PS_POLYGON_OFFSET_FILL, GL2PS_SUCCESS, GL2PS_UNINITIALIZED, GL2PS_WARNING, and gl2psMsg().
GL2PSDLL_API GLint gl2psEndPage | ( | void | ) |
Definition at line 6196 of file gl2ps.cc.
References GL2PScontext::auxprimitives, GL2PScontext::colormap, GL2PScontext::feedback, GL2PScontext::filename, GL2PScontext::format, gl2ps, GL2PS_OVERFLOW, GL2PS_UNINITIALIZED, gl2psbackends, gl2psFree(), gl2psFreeImagemap(), gl2psListDelete(), gl2psPrintPrimitives(), GL2PScontext::imagemap_head, GL2PScontext::primitives, GL2PSbackend::printFooter, GL2PScontext::producer, GL2PScontext::stream, and GL2PScontext::title.
|
static |
Definition at line 3038 of file gl2ps.cc.
References gl2ps, gl2psPrintf(), GL2PScontext::lastvertex, GL2PSvertex::rgba, and GL2PSvertex::xyz.
Referenced by gl2psPrintPostScriptFinalPrimitive(), and gl2psPrintPostScriptPrimitive().
|
static |
Definition at line 5257 of file gl2ps.cc.
References gl2ps, gl2psPrintf(), GL2PScontext::lastvertex, GL2PSvertex::rgba, GL2PScontext::viewport, and GL2PSvertex::xyz.
Referenced by gl2psPrintSVGFinalPrimitive(), and gl2psPrintSVGPrimitive().
GL2PSDLL_API GLint gl2psEndViewport | ( | void | ) |
Definition at line 6232 of file gl2ps.cc.
References GL2PSbackend::endViewport, GL2PScontext::format, gl2ps, GL2PS_UNINITIALIZED, gl2psbackends, and gl2psResetLineProperties().
|
static |
Definition at line 1071 of file gl2ps.cc.
References gl2psAssignTriangleProperties(), GL2PStriangle::vertex, and GL2PSprimitive::verts.
Referenced by gl2psPDFgroupListInit(), gl2psPDFgroupListWriteMainStream(), gl2psPDFgroupListWriteObjects(), and gl2psSortOutTrianglePDFgroup().
|
static |
Definition at line 1514 of file gl2ps.cc.
References gl2ps, GL2PS_BEST_ROOT, GL2PS_ERROR, gl2psGetPlane(), gl2psListNbr(), gl2psListPointer(), gl2psMsg(), gl2psTestSplitPrimitive(), GL2PScontext::maxbestroot, and GL2PScontext::options.
Referenced by gl2psBuildBspTree().
GL2PSDLL_API GLint gl2psForceRasterPos | ( | GL2PSvertex * | vert | ) |
Definition at line 6617 of file gl2ps.cc.
References GL2PScontext::forcerasterpos, gl2ps, GL2PS_SUCCESS, GL2PS_UNINITIALIZED, GL2PScontext::rasterpos, GL2PSvertex::rgba, and GL2PSvertex::xyz.
|
static |
Definition at line 334 of file gl2ps.cc.
References free.
Referenced by gl2psAddInBspImageTree(), gl2psAddPlanesInBspTreeImage(), gl2psBeginPage(), gl2psEndPage(), gl2psFreeBspImageTree(), gl2psFreeBspTree(), gl2psFreeImagemap(), gl2psFreePixmap(), gl2psFreePrimitive(), gl2psFreeText(), gl2psListDelete(), gl2psPDFgroupListWriteObjects(), gl2psPrintf(), gl2psPrintGzipFooter(), gl2psPrintPDFFooter(), gl2psSorting(), and gl2psSplitPrimitive2D().
|
static |
Definition at line 1836 of file gl2ps.cc.
References gl2psFree(), and gl2psFreeBspImageTree().
Referenced by gl2psFreeBspImageTree(), and gl2psPrintPrimitives().
|
static |
Definition at line 1602 of file gl2ps.cc.
References gl2psFree(), gl2psFreeBspTree(), gl2psFreePrimitive(), gl2psListAction(), and gl2psListDelete().
Referenced by gl2psFreeBspTree(), and gl2psPrintPrimitives().
|
static |
Definition at line 1559 of file gl2ps.cc.
References gl2psFree(), GL2PSimagemap_::image, GL2PSimagemap_::next, and GL2PSimage::pixels.
Referenced by gl2psEndPage().
|
static |
Definition at line 818 of file gl2ps.cc.
References gl2psFree(), and GL2PSimage::pixels.
Referenced by gl2psFreePrimitive().
|
static |
Definition at line 1571 of file gl2ps.cc.
References GL2PSprimitive::data, GL2PS_PIXMAP, GL2PS_SPECIAL, GL2PS_TEXT, gl2psFree(), gl2psFreePixmap(), gl2psFreeText(), GL2PSprimitive::image, GL2PSprimitive::text, GL2PSprimitive::type, and GL2PSprimitive::verts.
Referenced by gl2psAddPrimitiveInList(), gl2psBuildBspTree(), gl2psFreeBspTree(), gl2psPrintPDFFooter(), and gl2psPrintPrimitives().
|
static |
Definition at line 992 of file gl2ps.cc.
References GL2PSstring::fontname, gl2psFree(), and GL2PSstring::str.
Referenced by gl2psFreePrimitive().
GL2PSDLL_API const char * gl2psGetFileExtension | ( | GLint | format | ) |
Definition at line 6592 of file gl2ps.cc.
References GL2PSbackend::file_extension, and gl2psbackends.
GL2PSDLL_API GLint gl2psGetFileFormat | ( | ) |
Definition at line 6608 of file gl2ps.cc.
References GL2PScontext::format, gl2ps, and GL2PS_UNINITIALIZED.
GL2PSDLL_API const char * gl2psGetFormatDescription | ( | GLint | format | ) |
Definition at line 6600 of file gl2ps.cc.
References GL2PSbackend::description, and gl2psbackends.
|
static |
Definition at line 1349 of file gl2ps.cc.
Referenced by gl2psAddBoundaryInList(), gl2psSplitPrimitive(), and gl2psTestSplitPrimitive().
|
static |
Definition at line 1179 of file gl2ps.cc.
References GL2PS_ZERO, gl2psNorm(), and gl2psPvec().
Referenced by gl2psGetPlane().
GL2PSDLL_API GLint gl2psGetOptions | ( | GLint * | options | ) |
Definition at line 6580 of file gl2ps.cc.
References gl2ps, GL2PS_SUCCESS, GL2PS_UNINITIALIZED, and GL2PScontext::options.
|
static |
Definition at line 1198 of file gl2ps.cc.
References GL2PS_ERROR, GL2PS_IMAGEMAP, GL2PS_LINE, GL2PS_PIXMAP, GL2PS_POINT, GL2PS_QUADRANGLE, GL2PS_SPECIAL, GL2PS_TEXT, GL2PS_TRIANGLE, GL2PS_ZERO, gl2psGetNormal(), gl2psMsg(), GL2PSprimitive::type, GL2PSprimitive::verts, and GL2PSvertex::xyz.
Referenced by gl2psBuildBspTree(), and gl2psFindRoot().
|
static |
Definition at line 1814 of file gl2ps.cc.
References GL2PS_ZERO, and CLHEP::detail::n.
Referenced by gl2psAddPlanesInBspTreeImage().
|
static |
Definition at line 762 of file gl2ps.cc.
References GL2PSimage::format, GL2PSimage::height, GL2PSimage::pixels, and GL2PSimage::width.
Referenced by gl2psPrintPDFPixmapStreamData(), and gl2psPrintPostScriptPixmap().
|
static |
Definition at line 2294 of file gl2ps.cc.
References GL2PScontext::colormap, GL2PScontext::colormode, GL2PScontext::colorsize, gl2ps, GL2PSvertex::rgba, and GL2PSvertex::xyz.
Referenced by gl2psParseFeedbackBuffer().
|
static |
Definition at line 1616 of file gl2ps.cc.
Referenced by gl2psPrintPrimitives().
|
static |
Definition at line 1081 of file gl2ps.cc.
References GL2PStriangle::prop, T_UNDEFINED, and GL2PStriangle::vertex.
Referenced by gl2psPDFgroupListInit().
|
static |
Definition at line 1622 of file gl2ps.cc.
Referenced by gl2psPrintPrimitives().
GL2PSDLL_API GLint gl2psLineCap | ( | GLint | value | ) |
Definition at line 6522 of file gl2ps.cc.
References gl2ps, GL2PS_LINE_CAP_TOKEN, GL2PS_SUCCESS, and GL2PS_UNINITIALIZED.
GL2PSDLL_API GLint gl2psLineJoin | ( | GLint | value | ) |
Definition at line 6532 of file gl2ps.cc.
References gl2ps, GL2PS_LINE_JOIN_TOKEN, GL2PS_SUCCESS, and GL2PS_UNINITIALIZED.
GL2PSDLL_API GLint gl2psLineWidth | ( | GLfloat | value | ) |
Definition at line 6542 of file gl2ps.cc.
References gl2ps, GL2PS_LINE_WIDTH_TOKEN, GL2PS_SUCCESS, and GL2PS_UNINITIALIZED.
|
static |
Definition at line 642 of file gl2ps.cc.
References gl2psListNbr(), and gl2psListPointer().
Referenced by gl2psFreeBspTree(), gl2psPrintPDFFooter(), gl2psPrintPrimitives(), and gl2psTraverseBspTree().
|
static |
Definition at line 651 of file gl2ps.cc.
References gl2psListNbr(), and gl2psListPointer().
Referenced by gl2psPrintPrimitives(), and gl2psTraverseBspTree().
|
static |
Definition at line 594 of file gl2ps.cc.
References GL2PSlist::array, GL2PS_ERROR, gl2psListRealloc(), gl2psMsg(), GL2PSlist::n, and GL2PSlist::size.
Referenced by gl2psAddBoundaryInList(), gl2psAddPolyPrimitive(), gl2psAddPrimitiveInList(), gl2psAddText(), gl2psDrawPixels(), gl2psParseFeedbackBuffer(), gl2psPDFgroupListInit(), and gl2psPrintPDFPrimitive().
|
static |
Definition at line 634 of file gl2ps.cc.
References gl2psListNbr(), and gl2psListPointer().
Referenced by gl2psPrintPrimitives().
|
static |
Definition at line 565 of file gl2ps.cc.
References GL2PSlist::array, gl2psListRealloc(), gl2psMalloc(), GL2PSlist::incr, CLHEP::detail::n, GL2PSlist::n, GL2PSlist::nmax, and GL2PSlist::size.
Referenced by gl2psBeginPage(), gl2psBuildBspTree(), gl2psPDFgroupListInit(), gl2psPrintPDFHeader(), gl2psPrintPrimitives(), and gl2psPrintSVGPixmap().
|
static |
Definition at line 587 of file gl2ps.cc.
References GL2PSlist::array, and gl2psFree().
Referenced by gl2psBuildBspTree(), gl2psEndPage(), gl2psFreeBspTree(), gl2psPDFgroupListDelete(), gl2psPrintPDFFooter(), and gl2psPrintSVGPixmap().
|
static |
Definition at line 605 of file gl2ps.cc.
References GL2PSlist::n.
Referenced by gl2psBuildBspTree(), gl2psBuildPolygonBoundary(), gl2psFindRoot(), gl2psListAction(), gl2psListActionInverse(), gl2psListAssignSortIds(), gl2psParseFeedbackBuffer(), gl2psPDFgroupListDelete(), gl2psPDFgroupListInit(), gl2psPDFgroupListWriteFontResources(), gl2psPDFgroupListWriteGStateResources(), gl2psPDFgroupListWriteMainStream(), gl2psPDFgroupListWriteObjects(), gl2psPDFgroupListWriteShaderResources(), gl2psPDFgroupListWriteXObjectResources(), gl2psPrintPrimitives(), gl2psPrintSVGPixmap(), gl2psRescaleAndOffset(), and gl2psSortOutTrianglePDFgroup().
|
static |
Definition at line 612 of file gl2ps.cc.
References GL2PSlist::array, GL2PS_ERROR, gl2psMsg(), GL2PSlist::n, and GL2PSlist::size.
Referenced by gl2psBuildBspTree(), gl2psBuildPolygonBoundary(), gl2psFindRoot(), gl2psListAction(), gl2psListActionInverse(), gl2psListAssignSortIds(), gl2psParseFeedbackBuffer(), gl2psPDFgroupListDelete(), gl2psPDFgroupListInit(), gl2psPDFgroupListWriteFontResources(), gl2psPDFgroupListWriteGStateResources(), gl2psPDFgroupListWriteMainStream(), gl2psPDFgroupListWriteObjects(), gl2psPDFgroupListWriteShaderResources(), gl2psPDFgroupListWriteXObjectResources(), gl2psRescaleAndOffset(), and gl2psSortOutTrianglePDFgroup().
|
static |
Definition at line 545 of file gl2ps.cc.
References GL2PSlist::array, GL2PS_ERROR, gl2psMalloc(), gl2psMsg(), gl2psRealloc(), GL2PSlist::incr, CLHEP::detail::n, GL2PSlist::nmax, and GL2PSlist::size.
Referenced by gl2psListAdd(), and gl2psListCreate().
|
static |
Definition at line 581 of file gl2ps.cc.
References GL2PSlist::n.
Referenced by gl2psParseFeedbackBuffer(), and gl2psPrintPrimitives().
|
static |
Definition at line 625 of file gl2ps.cc.
References GL2PSlist::array, GL2PSlist::n, and GL2PSlist::size.
Referenced by gl2psBuildBspTree(), and gl2psPrintPrimitives().
|
static |
Definition at line 308 of file gl2ps.cc.
References GL2PS_ERROR, and gl2psMsg().
Referenced by gl2psAddBoundaryInList(), gl2psAddPlanesInBspTreeImage(), gl2psAddPolyPrimitive(), gl2psAddText(), gl2psBeginPage(), gl2psBuildBspTree(), gl2psCopyPixmap(), gl2psCopyPrimitive(), gl2psCopyText(), gl2psCreateSplitPrimitive(), gl2psCreateSplitPrimitive2D(), gl2psDivideQuad(), gl2psDrawPixels(), gl2psListCreate(), gl2psListRealloc(), gl2psParseFeedbackBuffer(), gl2psPDFgroupListWriteObjects(), gl2psPrintf(), gl2psPrintPDFHeader(), gl2psPrintPrimitives(), and gl2psSplitPrimitive().
|
static |
Definition at line 290 of file gl2ps.cc.
References args, gl2ps, GL2PS_ERROR, GL2PS_INFO, GL2PS_SILENT, GL2PS_WARNING, and GL2PScontext::options.
Referenced by gl2psBeginPage(), gl2psCheckOptions(), gl2psClosePDFDataStream(), gl2psCopyPrimitive(), gl2psCreateSplitPrimitive(), gl2psDisable(), gl2psDrawPixels(), gl2psEnable(), gl2psFindRoot(), gl2psGetPlane(), gl2psListAdd(), gl2psListPointer(), gl2psListRealloc(), gl2psMalloc(), gl2psParseFeedbackBuffer(), gl2psPrintGzipFooter(), gl2psPrintPostScriptPrimitive(), gl2psPrintPrimitives(), gl2psPrintSVGPixmap(), gl2psPrintSVGPrimitive(), gl2psRealloc(), and gl2psSorting().
|
static |
Definition at line 1174 of file gl2ps.cc.
Referenced by gl2psAddBoundaryInList(), and gl2psGetNormal().
|
static |
Definition at line 4246 of file gl2ps.cc.
References gl2ps, gl2psPrintPDFCompressorType(), and GL2PScontext::stream.
Referenced by gl2psPrintPDFHeader().
|
static |
Definition at line 4263 of file gl2ps.cc.
References GL2PScontext::bgcolor, gl2ps, GL2PS_DRAW_BACKGROUND, gl2psPrintf(), gl2psPrintPDFFillColor(), GL2PScontext::options, and GL2PScontext::viewport.
Referenced by gl2psPrintPDFHeader().
|
static |
Definition at line 2319 of file gl2ps.cc.
References GL2PScontext::auxprimitives, GL2PScontext::blendfunc, GL2PScontext::blending, GL2PSprimitive::boundary, GL2PScontext::boundary, GL2PSprimitive::culled, GL2PSprimitive::data, GL2PSprimitive::factor, GL2PScontext::feedback, GL2PSimage::format, gl2ps, GL2PS_BEGIN_BLEND_TOKEN, GL2PS_BEGIN_BOUNDARY_TOKEN, GL2PS_BEGIN_OFFSET_TOKEN, GL2PS_BEGIN_STIPPLE_TOKEN, GL2PS_DRAW_PIXELS_TOKEN, GL2PS_DST_BLEND_TOKEN, GL2PS_END_BLEND_TOKEN, GL2PS_END_BOUNDARY_TOKEN, GL2PS_END_OFFSET_TOKEN, GL2PS_END_STIPPLE_TOKEN, GL2PS_ERROR, GL2PS_IMAGEMAP, GL2PS_IMAGEMAP_TOKEN, GL2PS_LINE, GL2PS_LINE_CAP_TOKEN, GL2PS_LINE_JOIN_TOKEN, GL2PS_LINE_WIDTH_TOKEN, GL2PS_POINT, GL2PS_POINT_SIZE_TOKEN, GL2PS_SRC_BLEND_TOKEN, GL2PS_TEXT_TOKEN, GL2PS_TRIANGLE, GL2PS_WARNING, gl2psAdaptVertexForBlending(), gl2psAddPolyPrimitive(), gl2psGetVertex(), gl2psListAdd(), gl2psListNbr(), gl2psListPointer(), gl2psListReset(), gl2psMalloc(), gl2psMsg(), GL2PSimage::height, GL2PSimagemap_::image, GL2PSprimitive::image, GL2PScontext::imagemap_head, GL2PScontext::imagemap_tail, GL2PSimagemap_::next, GL2PSprimitive::numverts, GL2PSprimitive::ofactor, GL2PSprimitive::offset, GL2PSprimitive::ounits, GL2PSprimitive::pattern, GL2PSimage::pixels, GL2PScontext::primitives, GL2PSvertex::rgba, GL2PSimage::type, GL2PSprimitive::type, GL2PSprimitive::verts, GL2PSimage::width, GL2PSprimitive::width, GL2PSvertex::xyz, GL2PSimage::zoom_x, and GL2PSimage::zoom_y.
Referenced by gl2psPrintPrimitives().
|
static |
Definition at line 3050 of file gl2ps.cc.
References CLHEP::detail::n.
Referenced by gl2psPrintPGFDash(), gl2psPrintPostScriptDash(), and gl2psPrintSVGDash().
|
static |
Definition at line 4161 of file gl2ps.cc.
References gl2ps, gl2psListDelete(), gl2psListNbr(), gl2psListPointer(), GL2PScontext::pdfgrouplist, and GL2PSpdfgroup::ptrlist.
Referenced by gl2psPrintPDFFooter().
|
static |
Definition at line 3692 of file gl2ps.cc.
References GL2PSprimitive::factor, GL2PScontext::font_stack, GL2PSpdfgroup::fontno, gl2ps, GL2PS_LINE, GL2PS_NO_TYPE, GL2PS_PIXMAP, GL2PS_POINT, GL2PS_SPECIAL, GL2PS_TEXT, GL2PS_TRIANGLE, gl2psFillTriangleFromPrimitive(), gl2psInitTriangle(), gl2psListAdd(), gl2psListCreate(), gl2psListNbr(), gl2psListPointer(), gl2psPDFgroupObjectInit(), gl2psSameColor(), GL2PScontext::im_stack, GL2PSpdfgroup::imno, GL2PSprimitive::linecap, GL2PSprimitive::linejoin, GL2PSprimitive::pattern, GL2PScontext::pdfgrouplist, GL2PScontext::pdfprimlist, GL2PStriangle::prop, GL2PSpdfgroup::ptrlist, GL2PSvertex::rgba, T_ALPHA_1, T_CONST_COLOR, GL2PSprimitive::type, GL2PStriangle::vertex, GL2PSprimitive::verts, and GL2PSprimitive::width.
Referenced by gl2psPrintPDFFooter().
|
static |
Definition at line 4141 of file gl2ps.cc.
References GL2PSpdfgroup::fontno, GL2PSpdfgroup::fontobjno, gl2ps, gl2psListNbr(), gl2psListPointer(), GL2PScontext::objects_stack, GL2PScontext::pdfgrouplist, and GL2PScontext::stream.
Referenced by gl2psPDFgroupListWriteVariableResources().
|
static |
Definition at line 4062 of file gl2ps.cc.
References gl2ps, gl2psListNbr(), gl2psListPointer(), GL2PSpdfgroup::gsno, GL2PSpdfgroup::gsobjno, GL2PScontext::pdfgrouplist, and GL2PScontext::stream.
Referenced by gl2psPDFgroupListWriteVariableResources().
|
static |
Definition at line 3853 of file gl2ps.cc.
References GL2PSprimitive::data, GL2PSprimitive::factor, GL2PSpdfgroup::fontno, gl2ps, GL2PS_LINE, GL2PS_PIXMAP, GL2PS_POINT, GL2PS_SPECIAL, GL2PS_TEXT, GL2PS_TRIANGLE, gl2psFillTriangleFromPrimitive(), gl2psListNbr(), gl2psListPointer(), gl2psPrintf(), gl2psPrintPDFFillColor(), gl2psPrintPDFLineCap(), gl2psPrintPDFLineJoin(), gl2psPrintPDFLineWidth(), gl2psPrintPDFStrokeColor(), gl2psPrintPostScriptDash(), gl2psPutPDFImage(), gl2psPutPDFSpecial(), gl2psPutPDFText(), gl2psPutPDFTextBL(), gl2psSamePosition(), gl2psSortOutTrianglePDFgroup(), GL2PSpdfgroup::gsno, GL2PSprimitive::image, GL2PSpdfgroup::imno, GL2PSprimitive::linecap, GL2PSprimitive::linejoin, GL2PSprimitive::numverts, GL2PSprimitive::pattern, GL2PScontext::pdfgrouplist, GL2PStriangle::prop, GL2PSpdfgroup::ptrlist, GL2PSvertex::rgba, GL2PSpdfgroup::shno, GL2PScontext::streamlength, T_ALPHA_1, T_ALPHA_LESS_1, T_CONST_COLOR, T_VAR_ALPHA, T_VAR_COLOR, GL2PSprimitive::text, GL2PSpdfgroup::trgroupno, GL2PSprimitive::type, GL2PStriangle::vertex, GL2PSprimitive::verts, GL2PSprimitive::width, and GL2PSvertex::xyz.
Referenced by gl2psPrintPDFFooter().
|
static |
Definition at line 4878 of file gl2ps.cc.
References GL2PSstring::alignment, GL2PSprimitive::data, GL2PSpdfgroup::fontno, GL2PSpdfgroup::fontobjno, GL2PSimage::format, gl2ps, GL2PS_LINE, GL2PS_PDF, GL2PS_PIXMAP, GL2PS_POINT, GL2PS_SPECIAL, GL2PS_TEXT, GL2PS_TRIANGLE, gl2psFillTriangleFromPrimitive(), gl2psFree(), gl2psListNbr(), gl2psListPointer(), gl2psMalloc(), gl2psPrintPDFPixmap(), gl2psPrintPDFShader(), gl2psPrintPDFShaderExtGS(), gl2psPrintPDFShaderMask(), gl2psPrintPDFShaderSimpleExtGS(), gl2psPrintPDFText(), GL2PSpdfgroup::gsobjno, GL2PSprimitive::image, GL2PSpdfgroup::imobjno, GL2PSpdfgroup::maskshno, GL2PSpdfgroup::maskshobjno, GL2PScontext::pdfgrouplist, GL2PSpdfgroup::ptrlist, GL2PSvertex::rgba, GL2PSpdfgroup::shobjno, GL2PSstring::str, GL2PScontext::stream, T_ALPHA_LESS_1, T_VAR_ALPHA, T_VAR_COLOR, GL2PSprimitive::text, GL2PSpdfgroup::trgroupobjno, GL2PSprimitive::type, GL2PStriangle::vertex, and GL2PScontext::xreflist.
Referenced by gl2psPrintPDFFooter().
|
static |
Definition at line 4083 of file gl2ps.cc.
References gl2ps, gl2psListNbr(), gl2psListPointer(), GL2PSpdfgroup::maskshno, GL2PSpdfgroup::maskshobjno, GL2PScontext::pdfgrouplist, GL2PSpdfgroup::shno, GL2PSpdfgroup::shobjno, and GL2PScontext::stream.
Referenced by gl2psPDFgroupListWriteVariableResources().
|
static |
Definition at line 4391 of file gl2ps.cc.
References gl2ps, gl2psPDFgroupListWriteFontResources(), gl2psPDFgroupListWriteGStateResources(), gl2psPDFgroupListWriteShaderResources(), gl2psPDFgroupListWriteXObjectResources(), and GL2PScontext::stream.
Referenced by gl2psPrintPDFFooter().
|
static |
Definition at line 4104 of file gl2ps.cc.
References GL2PSprimitive::data, GL2PSimage::format, gl2ps, GL2PS_PIXMAP, GL2PS_TRIANGLE, gl2psListNbr(), gl2psListPointer(), GL2PSprimitive::image, GL2PSpdfgroup::imno, GL2PSpdfgroup::imobjno, GL2PScontext::objects_stack, GL2PScontext::pdfgrouplist, GL2PSpdfgroup::ptrlist, GL2PScontext::stream, GL2PSpdfgroup::trgroupno, GL2PSpdfgroup::trgroupobjno, and GL2PSprimitive::type.
Referenced by gl2psPDFgroupListWriteVariableResources().
|
static |
Definition at line 3679 of file gl2ps.cc.
References GL2PSpdfgroup::fontno, GL2PSpdfgroup::fontobjno, GL2PSpdfgroup::gsno, GL2PSpdfgroup::gsobjno, GL2PSpdfgroup::imno, GL2PSpdfgroup::imobjno, GL2PSpdfgroup::maskshno, GL2PSpdfgroup::maskshobjno, GL2PSpdfgroup::ptrlist, GL2PSpdfgroup::shno, GL2PSpdfgroup::shobjno, GL2PSpdfgroup::trgroupno, and GL2PSpdfgroup::trgroupobjno.
Referenced by gl2psPDFgroupListInit().
|
static |
Definition at line 4559 of file gl2ps.cc.
References GL2PStriangle::vertex, and GL2PSvertex::xyz.
Referenced by gl2psPrintPDFShader().
|
static |
Definition at line 3668 of file gl2ps.cc.
References GL2PScontext::extgs_stack, GL2PScontext::font_stack, gl2ps, GL2PScontext::im_stack, GL2PScontext::mshader_stack, GL2PScontext::objects_stack, GL2PScontext::shader_stack, and GL2PScontext::trgroupobjects_stack.
Referenced by gl2psPrintPDFHeader().
|
static |
Definition at line 5630 of file gl2ps.cc.
References GL2PS_TEXT_B, GL2PS_TEXT_BL, GL2PS_TEXT_BR, GL2PS_TEXT_C, GL2PS_TEXT_CL, GL2PS_TEXT_CR, GL2PS_TEXT_T, GL2PS_TEXT_TL, and GL2PS_TEXT_TR.
Referenced by gl2psPrintPGFPrimitive().
GL2PSDLL_API GLint gl2psPointSize | ( | GLfloat | value | ) |
Definition at line 6512 of file gl2ps.cc.
References gl2ps, GL2PS_POINT_SIZE_TOKEN, GL2PS_SUCCESS, and GL2PS_UNINITIALIZED.
|
static |
Definition at line 433 of file gl2ps.cc.
References args, GL2PScontext::compress, gl2ps, GL2PS_COMPRESS, gl2psFree(), gl2psMalloc(), gl2psReallocCompress, GL2PScontext::options, and GL2PScontext::stream.
Referenced by gl2psEndPostScriptLine(), gl2psEndSVGLine(), gl2psOpenPDFDataStreamWritePreface(), gl2psPDFgroupListWriteMainStream(), gl2psPrintPDFBeginViewport(), gl2psPrintPDFEndViewport(), gl2psPrintPDFFillColor(), gl2psPrintPDFLineCap(), gl2psPrintPDFLineJoin(), gl2psPrintPDFLineWidth(), gl2psPrintPDFStrokeColor(), gl2psPrintPostScriptBeginViewport(), gl2psPrintPostScriptColor(), gl2psPrintPostScriptDash(), gl2psPrintPostScriptEndViewport(), gl2psPrintPostScriptFooter(), gl2psPrintPostScriptHeader(), gl2psPrintPostScriptImagemap(), gl2psPrintPostScriptPixmap(), gl2psPrintPostScriptPrimitive(), gl2psPrintSVGBeginViewport(), gl2psPrintSVGDash(), gl2psPrintSVGEndViewport(), gl2psPrintSVGFooter(), gl2psPrintSVGHeader(), gl2psPrintSVGPixmap(), gl2psPrintSVGPrimitive(), gl2psPrintSVGSmoothTriangle(), gl2psPutPDFImage(), gl2psPutPDFSpecial(), gl2psPutPDFText(), gl2psPutPDFTextBL(), and gl2psWriteByte().
|
static |
Definition at line 503 of file gl2ps.cc.
References GL2PScontext::compress, crc32(), gl2ps, GL2PS_COMPRESS, GL2PS_ERROR, gl2psDeflate, gl2psFree(), gl2psFreeCompress, gl2psMsg(), L, CLHEP::detail::n, GL2PScontext::options, GL2PScontext::stream, and Z_OK.
Referenced by gl2psPrintPostScriptFooter(), and gl2psPrintSVGFooter().
|
static |
Definition at line 485 of file gl2ps.cc.
References gl2ps, GL2PS_COMPRESS, gl2psSetupCompress, GL2PScontext::options, and GL2PScontext::stream.
Referenced by gl2psPrintPostScriptHeader(), and gl2psPrintSVGHeader().
|
static |
Definition at line 5019 of file gl2ps.cc.
References GL2PScontext::colormap, GL2PScontext::colormode, GL2PScontext::colorsize, gl2ps, GL2PS_DRAW_BACKGROUND, gl2psPrintf(), gl2psPrintPDFFillColor(), gl2psPrintPDFHeader(), gl2psResetLineProperties(), GL2PScontext::header, GL2PScontext::options, and GL2PScontext::streamlength.
|
static |
Definition at line 4221 of file gl2ps.cc.
References gl2ps, and GL2PScontext::stream.
Referenced by gl2psPrintPDFHeader().
|
static |
Definition at line 3518 of file gl2ps.cc.
References gl2ps, GL2PS_COMPRESS, GL2PScontext::options, and GL2PScontext::stream.
Referenced by gl2psOpenPDFDataStream(), gl2psPrintPDFPixmap(), and gl2psPrintPDFShader().
|
static |
Definition at line 4352 of file gl2ps.cc.
References gl2ps, and GL2PScontext::stream.
Referenced by gl2psPrintPDFFooter().
|
static |
Definition at line 5064 of file gl2ps.cc.
References gl2ps, gl2psPrintf(), gl2psPrintPrimitives(), and GL2PScontext::streamlength.
|
static |
Definition at line 3545 of file gl2ps.cc.
References e6, GL2PS_ZERO, and gl2psPrintf().
Referenced by gl2psOpenPDFDataStreamWritePreface(), gl2psPDFgroupListWriteMainStream(), and gl2psPrintPDFBeginViewport().
|
static |
|
static |
Definition at line 4954 of file gl2ps.cc.
References GL2PScontext::compress, gl2ps, GL2PS_COMPRESS, gl2psClosePDFDataStream(), gl2psFree(), gl2psFreeCompress, gl2psFreePrimitive(), gl2psListAction(), gl2psListDelete(), gl2psPDFgroupListDelete(), gl2psPDFgroupListInit(), gl2psPDFgroupListWriteMainStream(), gl2psPDFgroupListWriteObjects(), gl2psPDFgroupListWriteVariableResources(), gl2psPrintPDFDataStreamLength(), gl2psPrintPDFGSObject(), gl2psPrintPDFOpenPage(), gl2psRealloc(), GL2PScontext::objects_stack, GL2PScontext::options, GL2PScontext::pdfprimlist, GL2PScontext::stream, GL2PScontext::streamlength, and GL2PScontext::xreflist.
|
static |
Definition at line 4417 of file gl2ps.cc.
References gl2ps, and GL2PScontext::stream.
Referenced by gl2psPrintPDFFooter().
|
static |
Definition at line 4281 of file gl2ps.cc.
References gl2ps, GL2PS_COMPRESS, gl2psListCreate(), gl2psMalloc(), gl2psOpenPDFDataStream(), gl2psOpenPDFDataStreamWritePreface(), gl2psPDFstacksInit(), gl2psPrintPDFCatalog(), gl2psPrintPDFInfo(), gl2psPrintPDFPages(), gl2psSetupCompress, GL2PScontext::objects_stack, GL2PScontext::options, GL2PScontext::pdfprimlist, GL2PScontext::stream, GL2PScontext::streamlength, and GL2PScontext::xreflist.
Referenced by gl2psPrintPDFBeginViewport().
|
static |
Definition at line 4180 of file gl2ps.cc.
References gl2ps, GL2PS_COPYRIGHT, GL2PS_EXTRA_VERSION, GL2PS_MAJOR_VERSION, GL2PS_MINOR_VERSION, GL2PS_PATCH_VERSION, GL2PScontext::producer, GL2PScontext::stream, GL2PScontext::title, and G4InuclParticleNames::tm.
Referenced by gl2psPrintPDFHeader().
|
static |
Definition at line 3571 of file gl2ps.cc.
References gl2ps, gl2psPrintf(), GL2PScontext::lastlinecap, and g4zmq::lc().
Referenced by gl2psPDFgroupListWriteMainStream().
|
static |
Definition at line 3579 of file gl2ps.cc.
References gl2ps, gl2psPrintf(), and GL2PScontext::lastlinejoin.
Referenced by gl2psPDFgroupListWriteMainStream().
|
static |
Definition at line 3561 of file gl2ps.cc.
References e6, GL2PS_ZERO, and gl2psPrintf().
Referenced by gl2psPDFgroupListWriteMainStream().
|
static |
Definition at line 4362 of file gl2ps.cc.
References gl2ps, GL2PS_LANDSCAPE, GL2PScontext::options, GL2PScontext::stream, and GL2PScontext::viewport.
Referenced by gl2psPrintPDFFooter().
|
static |
Definition at line 4232 of file gl2ps.cc.
References gl2ps, and GL2PScontext::stream.
Referenced by gl2psPrintPDFHeader().
|
static |
Definition at line 4791 of file gl2ps.cc.
References GL2PScontext::compress, GL2PSimage::format, gl2ps, GL2PS_COMPRESS, gl2psAllocCompress, gl2psDeflate, gl2psFreeCompress, gl2psPrintPDFCompressorType(), gl2psPrintPDFPixmapStreamData(), gl2psWriteBigEndian(), gl2psWriteBigEndianCompress, gray, GL2PSimage::height, GL2PScontext::options, GL2PScontext::stream, GL2PSimage::width, and Z_OK.
Referenced by gl2psPDFgroupListWriteObjects().
|
static |
Definition at line 4752 of file gl2ps.cc.
References GL2PSimage::format, g, gl2psGetRGB(), gray, GL2PSimage::height, and GL2PSimage::width.
Referenced by gl2psPrintPDFPixmap().
|
static |
Definition at line 4314 of file gl2ps.cc.
References GL2PSprimitive::culled, gl2ps, GL2PS_OCCLUSION_CULL, gl2psCopyPrimitive(), gl2psListAdd(), GL2PScontext::options, and GL2PScontext::pdfprimlist.
|
static |
Definition at line 4589 of file gl2ps.cc.
References GL2PScontext::compress, gl2ps, GL2PS_COMPRESS, gl2psAllocCompress, gl2psDeflate, gl2psFreeCompress, gl2psPDFRectHull(), gl2psPrintPDFCompressorType(), gl2psPrintPDFShaderStreamData(), gl2psWriteBigEndian(), gl2psWriteBigEndianCompress, gray, GL2PScontext::options, GL2PScontext::stream, and Z_OK.
Referenced by gl2psPDFgroupListWriteObjects().
|
static |
Definition at line 4715 of file gl2ps.cc.
References gl2ps, and GL2PScontext::stream.
Referenced by gl2psPDFgroupListWriteObjects().
|
static |
Definition at line 4676 of file gl2ps.cc.
References gl2ps, GL2PScontext::stream, and GL2PScontext::viewport.
Referenced by gl2psPDFgroupListWriteObjects().
|
static |
Definition at line 4736 of file gl2ps.cc.
References alpha, gl2ps, and GL2PScontext::stream.
Referenced by gl2psPDFgroupListWriteObjects().
|
static |
Definition at line 4532 of file gl2ps.cc.
References geant4_check_module_cycles::action, gl2psPrintPDFShaderStreamDataAlpha(), gl2psPrintPDFShaderStreamDataCoord(), gl2psPrintPDFShaderStreamDataRGB(), gray, and GL2PStriangle::vertex.
Referenced by gl2psPrintPDFShader().
|
static |
Definition at line 4507 of file gl2ps.cc.
References GL2PSvertex::rgba.
Referenced by gl2psPrintPDFShaderStreamData().
|
static |
Definition at line 4437 of file gl2ps.cc.
References GL2PS_ZERO, and GL2PSvertex::xyz.
Referenced by gl2psPrintPDFShaderStreamData().
|
static |
Definition at line 4483 of file gl2ps.cc.
References GL2PSvertex::rgba.
Referenced by gl2psPrintPDFShaderStreamData().
|
static |
Definition at line 3528 of file gl2ps.cc.
References e6, GL2PS_ZERO, gl2psPrintf(), and gl2psSetLastColor().
Referenced by gl2psPDFgroupListWriteMainStream().
|
static |
Definition at line 4858 of file gl2ps.cc.
References gl2ps, s, and GL2PScontext::stream.
Referenced by gl2psPDFgroupListWriteObjects().
|
static |
Definition at line 5787 of file gl2ps.cc.
References GL2PScontext::colormap, GL2PScontext::colormode, GL2PScontext::colorsize, gl2ps, GL2PS_DRAW_BACKGROUND, gl2psPrintPGFColor(), gl2psPrintPGFHeader(), gl2psResetLineProperties(), GL2PScontext::header, GL2PScontext::options, and GL2PScontext::stream.
|
static |
Definition at line 5573 of file gl2ps.cc.
References gl2ps, gl2psSameColor(), gl2psSetLastColor(), GL2PScontext::lastrgba, and GL2PScontext::stream.
Referenced by gl2psPrintPGFBeginViewport(), gl2psPrintPGFHeader(), and gl2psPrintPGFPrimitive().
|
static |
Definition at line 5608 of file gl2ps.cc.
References gl2ps, gl2psParseStipplePattern(), GL2PScontext::lastfactor, GL2PScontext::lastpattern, CLHEP::detail::n, and GL2PScontext::stream.
Referenced by gl2psPrintPGFPrimitive().
|
static |
Definition at line 5829 of file gl2ps.cc.
References gl2ps, gl2psPrintPrimitives(), and GL2PScontext::stream.
|
static |
|
static |
|
static |
Definition at line 5581 of file gl2ps.cc.
References GL2PScontext::bgcolor, gl2ps, GL2PS_COPYRIGHT, GL2PS_DRAW_BACKGROUND, GL2PS_EXTRA_VERSION, GL2PS_MAJOR_VERSION, GL2PS_MINOR_VERSION, GL2PS_PATCH_VERSION, gl2psPrintPGFColor(), GL2PScontext::options, GL2PScontext::producer, GL2PScontext::stream, GL2PScontext::title, and GL2PScontext::viewport.
Referenced by gl2psPrintPGFBeginViewport().
|
static |
Definition at line 5646 of file gl2ps.cc.
References GL2PSstring::alignment, GL2PSstring::angle, GL2PSprimitive::data, GL2PSprimitive::factor, GL2PSstring::fontsize, gl2ps, GL2PS_LINE, GL2PS_LINE_CAP_BUTT, GL2PS_LINE_CAP_ROUND, GL2PS_LINE_CAP_SQUARE, GL2PS_LINE_JOIN_BEVEL, GL2PS_LINE_JOIN_MITER, GL2PS_LINE_JOIN_ROUND, GL2PS_PGF, GL2PS_POINT, GL2PS_SPECIAL, GL2PS_TEXT, GL2PS_TRIANGLE, gl2psPGFTextAlignment(), gl2psPrintPGFColor(), gl2psPrintPGFDash(), GL2PScontext::lastlinecap, GL2PScontext::lastlinejoin, GL2PScontext::lastlinewidth, GL2PSprimitive::linecap, GL2PSprimitive::linejoin, GL2PSprimitive::pattern, GL2PSvertex::rgba, GL2PSstring::str, GL2PScontext::stream, GL2PSprimitive::text, GL2PSprimitive::type, GL2PSprimitive::verts, GL2PSprimitive::width, and GL2PSvertex::xyz.
|
static |
Definition at line 3273 of file gl2ps.cc.
References GL2PScontext::colormap, GL2PScontext::colormode, GL2PScontext::colorsize, gl2ps, GL2PS_DRAW_BACKGROUND, gl2psPrintf(), gl2psPrintPostScriptHeader(), gl2psResetLineProperties(), gl2psResetPostScriptColor(), GL2PScontext::header, and GL2PScontext::options.
|
static |
Definition at line 3025 of file gl2ps.cc.
References gl2ps, gl2psPrintf(), gl2psSameColor(), gl2psSetLastColor(), and GL2PScontext::lastrgba.
Referenced by gl2psPrintPostScriptPrimitive().
|
static |
Definition at line 3084 of file gl2ps.cc.
References gl2ps, gl2psParseStipplePattern(), gl2psPrintf(), GL2PScontext::lastfactor, GL2PScontext::lastpattern, and CLHEP::detail::n.
Referenced by gl2psPDFgroupListWriteMainStream(), and gl2psPrintPostScriptPrimitive().
|
static |
Definition at line 3316 of file gl2ps.cc.
References gl2psPrintf(), and gl2psPrintPrimitives().
|
static |
Definition at line 3325 of file gl2ps.cc.
References gl2psEndPostScriptLine().
|
static |
Definition at line 3260 of file gl2ps.cc.
References gl2psPrintf(), and gl2psPrintGzipFooter().
|
static |
Definition at line 2785 of file gl2ps.cc.
References GL2PScontext::bgcolor, GL2PScontext::format, gl2ps, GL2PS_COPYRIGHT, GL2PS_DRAW_BACKGROUND, GL2PS_EXTRA_VERSION, GL2PS_LANDSCAPE, GL2PS_MAJOR_VERSION, GL2PS_MINOR_VERSION, GL2PS_NO_PS3_SHADING, GL2PS_PATCH_VERSION, GL2PS_PS, gl2psPrintf(), gl2psPrintGzipHeader(), GL2PScontext::options, GL2PScontext::producer, GL2PScontext::threshold, GL2PScontext::title, and GL2PScontext::viewport.
Referenced by gl2psPrintPostScriptBeginViewport().
|
static |
Definition at line 2765 of file gl2ps.cc.
References gl2psPrintf(), and gl2psWriteByte().
Referenced by gl2psPrintPostScriptPrimitive().
|
static |
Definition at line 2564 of file gl2ps.cc.
References gl2psGetRGB(), gl2psPrintf(), gl2psWriteByte(), GL2PSimage::height, GL2PSimage::width, GL2PSimage::zoom_x, and GL2PSimage::zoom_y.
Referenced by gl2psPrintPostScriptPrimitive().
|
static |
Definition at line 3111 of file gl2ps.cc.
References GL2PSstring::alignment, GL2PSstring::angle, GL2PSprimitive::culled, GL2PSprimitive::data, GL2PSprimitive::factor, GL2PSstring::fontname, GL2PSstring::fontsize, gl2ps, GL2PS_EPS, GL2PS_IMAGEMAP, GL2PS_IMAGEMAP_WRITTEN, GL2PS_LINE, GL2PS_OCCLUSION_CULL, GL2PS_PIXMAP, GL2PS_POINT, GL2PS_PS, GL2PS_QUADRANGLE, GL2PS_SPECIAL, GL2PS_TEXT, GL2PS_TEXT_B, GL2PS_TEXT_BL, GL2PS_TEXT_BR, GL2PS_TEXT_C, GL2PS_TEXT_CL, GL2PS_TEXT_CR, GL2PS_TEXT_T, GL2PS_TEXT_TL, GL2PS_TEXT_TR, GL2PS_TRIANGLE, GL2PS_WARNING, gl2psEndPostScriptLine(), gl2psMsg(), gl2psPrintf(), gl2psPrintPostScriptColor(), gl2psPrintPostScriptDash(), gl2psPrintPostScriptImagemap(), gl2psPrintPostScriptPixmap(), gl2psResetPostScriptColor(), gl2psSameColor(), gl2psSamePosition(), gl2psVertsSameColor(), GL2PSimage::height, GL2PSprimitive::image, GL2PScontext::lastfactor, GL2PScontext::lastlinecap, GL2PScontext::lastlinejoin, GL2PScontext::lastlinewidth, GL2PScontext::lastpattern, GL2PScontext::lastrgba, GL2PScontext::lastvertex, GL2PSprimitive::linecap, GL2PSprimitive::linejoin, GL2PScontext::options, GL2PSprimitive::pattern, GL2PSimage::pixels, GL2PSvertex::rgba, GL2PSstring::str, GL2PSprimitive::text, GL2PSimage::type, GL2PSprimitive::type, GL2PSprimitive::verts, GL2PSimage::width, GL2PSprimitive::width, and GL2PSvertex::xyz.
|
static |
Definition at line 5891 of file gl2ps.cc.
References GL2PScontext::boundary, GL2PScontext::format, gl2ps, GL2PS_BSP_SORT, GL2PS_EPSILON, GL2PS_INFO, GL2PS_NO_FEEDBACK, GL2PS_NO_OPENGL_CONTEXT, GL2PS_NO_SORT, GL2PS_NONE, GL2PS_OCCLUSION_CULL, GL2PS_OVERFLOW, GL2PS_SIMPLE_SORT, GL2PS_SUCCESS, GL2PS_TIGHT_BOUNDING_BOX, GL2PS_ZSCALE, gl2psAddInImageTree(), gl2psbackends, gl2psBuildBspTree(), gl2psBuildPolygonBoundary(), gl2psCompareDepth(), gl2psComputeTightBoundingBox(), gl2psFreeBspImageTree(), gl2psFreeBspTree(), gl2psFreePrimitive(), gl2psGreater(), gl2psLess(), gl2psListAction(), gl2psListActionInverse(), gl2psListAssignSortIds(), gl2psListCreate(), gl2psListNbr(), gl2psListReset(), gl2psListSort(), gl2psMalloc(), gl2psMsg(), gl2psParseFeedbackBuffer(), gl2psRescaleAndOffset(), gl2psTraverseBspTree(), GL2PScontext::header, GL2PScontext::imagetree, GL2PScontext::options, GL2PScontext::primitives, GL2PSbackend::printFinalPrimitive, GL2PSbackend::printHeader, GL2PSbackend::printPrimitive, GL2PScontext::sort, and GL2PScontext::viewport.
Referenced by gl2psEndPage(), gl2psPrintPDFEndViewport(), gl2psPrintPGFEndViewport(), gl2psPrintPostScriptEndViewport(), gl2psPrintSVGEndViewport(), and gl2psPrintTeXEndViewport().
|
static |
Definition at line 5493 of file gl2ps.cc.
References GL2PScontext::colormap, GL2PScontext::colormode, GL2PScontext::colorsize, gl2ps, GL2PS_DRAW_BACKGROUND, gl2psPrintf(), gl2psPrintSVGHeader(), gl2psResetLineProperties(), gl2psSVGGetColorString(), GL2PScontext::header, GL2PScontext::options, and GL2PScontext::viewport.
|
static |
Definition at line 5242 of file gl2ps.cc.
References gl2psParseStipplePattern(), gl2psPrintf(), and CLHEP::detail::n.
Referenced by gl2psPrintSVGPrimitive().
|
static |
Definition at line 5539 of file gl2ps.cc.
References gl2psPrintf(), and gl2psPrintPrimitives().
|
static |
Definition at line 5548 of file gl2ps.cc.
References gl2psEndSVGLine().
|
static |
Definition at line 5485 of file gl2ps.cc.
References gl2psPrintf(), and gl2psPrintGzipFooter().
|
static |
Definition at line 5121 of file gl2ps.cc.
References GL2PScontext::bgcolor, gl2ps, GL2PS_COPYRIGHT, GL2PS_DRAW_BACKGROUND, GL2PS_EXTRA_VERSION, GL2PS_LANDSCAPE, GL2PS_MAJOR_VERSION, GL2PS_MINOR_VERSION, GL2PS_PATCH_VERSION, gl2psPrintf(), gl2psPrintGzipHeader(), gl2psSVGGetColorString(), GL2PScontext::options, GL2PScontext::producer, GL2PScontext::title, and GL2PScontext::viewport.
Referenced by gl2psPrintSVGBeginViewport().
|
static |
Definition at line 5270 of file gl2ps.cc.
References GL2PS_WARNING, gl2psConvertPixmapToPNG, gl2psListCreate(), gl2psListDelete(), gl2psListEncodeBase64, gl2psListNbr(), gl2psListRead, gl2psMsg(), gl2psPrintf(), GL2PSimage::height, GL2PSimage::width, GL2PSimage::zoom_x, and GL2PSimage::zoom_y.
Referenced by gl2psPrintSVGPrimitive().
|
static |
Definition at line 5309 of file gl2ps.cc.
References GL2PSstring::alignment, GL2PSstring::angle, GL2PSprimitive::culled, GL2PSprimitive::data, GL2PSprimitive::factor, GL2PSstring::fontname, GL2PSstring::fontsize, gl2ps, GL2PS_LINE, GL2PS_LINE_CAP_BUTT, GL2PS_LINE_CAP_ROUND, GL2PS_LINE_CAP_SQUARE, GL2PS_LINE_JOIN_BEVEL, GL2PS_LINE_JOIN_MITER, GL2PS_LINE_JOIN_ROUND, GL2PS_OCCLUSION_CULL, GL2PS_PIXMAP, GL2PS_POINT, GL2PS_QUADRANGLE, GL2PS_SPECIAL, GL2PS_SVG, GL2PS_TEXT, GL2PS_TEXT_B, GL2PS_TEXT_BL, GL2PS_TEXT_BR, GL2PS_TEXT_C, GL2PS_TEXT_CL, GL2PS_TEXT_CR, GL2PS_TEXT_T, GL2PS_TEXT_TL, GL2PS_TEXT_TR, GL2PS_TRIANGLE, GL2PS_WARNING, gl2psEndSVGLine(), gl2psMsg(), gl2psPrintf(), gl2psPrintSVGDash(), gl2psPrintSVGPixmap(), gl2psPrintSVGSmoothTriangle(), gl2psSameColor(), gl2psSamePosition(), gl2psSetLastColor(), gl2psSVGGetColorString(), gl2psSVGGetCoordsAndColors(), GL2PSprimitive::image, GL2PScontext::lastfactor, GL2PScontext::lastlinecap, GL2PScontext::lastlinejoin, GL2PScontext::lastlinewidth, GL2PScontext::lastpattern, GL2PScontext::lastrgba, GL2PScontext::lastvertex, GL2PSprimitive::linecap, GL2PSprimitive::linejoin, GL2PSprimitive::numverts, GL2PScontext::options, GL2PSprimitive::pattern, GL2PSvertex::rgba, GL2PSstring::str, GL2PSprimitive::text, GL2PSprimitive::type, GL2PSprimitive::verts, GL2PSprimitive::width, and GL2PSvertex::xyz.
Definition at line 5174 of file gl2ps.cc.
References gl2ps, gl2psPrintf(), gl2psPrintSVGSmoothTriangle(), gl2psSameColorThreshold(), gl2psSVGGetColorString(), and GL2PScontext::threshold.
Referenced by gl2psPrintSVGPrimitive(), and gl2psPrintSVGSmoothTriangle().
|
static |
Definition at line 3477 of file gl2ps.cc.
References gl2ps, gl2psPrintTeXHeader(), gl2psResetLineProperties(), and GL2PScontext::header.
|
static |
Definition at line 3490 of file gl2ps.cc.
References gl2psPrintPrimitives().
|
static |
|
static |
Definition at line 3471 of file gl2ps.cc.
References gl2ps, GL2PS_LANDSCAPE, GL2PScontext::options, and GL2PScontext::stream.
|
static |
Definition at line 3361 of file gl2ps.cc.
References GL2PScontext::filename, gl2ps, GL2PS_COPYRIGHT, GL2PS_EXTRA_VERSION, GL2PS_LANDSCAPE, GL2PS_MAJOR_VERSION, GL2PS_MINOR_VERSION, GL2PS_PATCH_VERSION, G4InuclParticleNames::name(), GL2PScontext::options, GL2PScontext::producer, s, GL2PScontext::stream, GL2PScontext::tex_scaling, GL2PScontext::title, and GL2PScontext::viewport.
Referenced by gl2psPrintTeXBeginViewport().
|
static |
Definition at line 3406 of file gl2ps.cc.
References GL2PSstring::alignment, GL2PSstring::angle, GL2PSprimitive::data, GL2PSstring::fontsize, gl2ps, GL2PS_NO_TEX_FONTSIZE, GL2PS_SPECIAL, GL2PS_TEX, GL2PS_TEXT, GL2PS_TEXT_B, GL2PS_TEXT_BL, GL2PS_TEXT_BR, GL2PS_TEXT_C, GL2PS_TEXT_CL, GL2PS_TEXT_CR, GL2PS_TEXT_T, GL2PS_TEXT_TL, GL2PS_TEXT_TR, GL2PScontext::options, GL2PSvertex::rgba, GL2PSstring::str, GL2PScontext::stream, GL2PSprimitive::text, GL2PSprimitive::type, GL2PSprimitive::verts, and GL2PSvertex::xyz.
|
static |
Definition at line 1162 of file gl2ps.cc.
Referenced by gl2psCutEdge().
|
static |
Definition at line 3657 of file gl2ps.cc.
References gl2ps, gl2psPrintf(), GL2PSimage::height, GL2PScontext::streamlength, GL2PSimage::width, GL2PSimage::zoom_x, and GL2PSimage::zoom_y.
Referenced by gl2psPDFgroupListWriteMainStream().
|
static |
Definition at line 3651 of file gl2ps.cc.
References gl2ps, gl2psPrintf(), GL2PSstring::str, and GL2PScontext::streamlength.
Referenced by gl2psPDFgroupListWriteMainStream().
|
static |
Definition at line 3587 of file gl2ps.cc.
References GL2PSstring::angle, GL2PSstring::fontsize, gl2ps, gl2psPrintf(), rad, GL2PSstring::str, and GL2PScontext::streamlength.
Referenced by gl2psPDFgroupListWriteMainStream().
|
static |
Definition at line 3618 of file gl2ps.cc.
References GL2PSstring::angle, GL2PSstring::fontsize, gl2ps, gl2psPrintf(), pi, GL2PSstring::str, and GL2PScontext::streamlength.
Referenced by gl2psPDFgroupListWriteMainStream().
|
static |
Definition at line 1167 of file gl2ps.cc.
Referenced by gl2psGetNormal().
|
static |
Definition at line 321 of file gl2ps.cc.
References free, GL2PS_ERROR, and gl2psMsg().
Referenced by gl2psListRealloc(), gl2psPrintPDFFooter(), and gl2psSplitPrimitive2D().
|
static |
Definition at line 1727 of file gl2ps.cc.
References gl2ps, GL2PS_LINE, GL2PS_SIMPLE_LINE_OFFSET, GL2PS_SIMPLE_SORT, GL2PS_TRIANGLE, GL2PS_ZERO, GL2PS_ZOFFSET, GL2PS_ZOFFSET_LARGE, GL2PS_ZSCALE, gl2psListNbr(), gl2psListPointer(), maxZ, GL2PSprimitive::numverts, GL2PSprimitive::ofactor, GL2PSprimitive::offset, GL2PScontext::options, GL2PSprimitive::ounits, GL2PScontext::primitives, GL2PScontext::sort, GL2PSprimitive::type, GL2PSprimitive::verts, and GL2PSvertex::xyz.
Referenced by gl2psPrintPrimitives().
|
static |
Definition at line 1092 of file gl2ps.cc.
References gl2ps, GL2PScontext::lastlinecap, GL2PScontext::lastlinejoin, and GL2PScontext::lastlinewidth.
Referenced by gl2psEndViewport(), gl2psPrintPDFBeginViewport(), gl2psPrintPGFBeginViewport(), gl2psPrintPostScriptBeginViewport(), gl2psPrintSVGBeginViewport(), and gl2psPrintTeXBeginViewport().
|
static |
Definition at line 3033 of file gl2ps.cc.
References gl2ps, and GL2PScontext::lastrgba.
Referenced by gl2psPrintPostScriptBeginViewport(), and gl2psPrintPostScriptPrimitive().
Definition at line 716 of file gl2ps.cc.
References GL2PS_ZERO.
Referenced by gl2psPDFgroupListInit(), gl2psPrintPGFColor(), gl2psPrintPostScriptColor(), gl2psPrintPostScriptPrimitive(), gl2psPrintSVGPrimitive(), and gl2psVertsSameColor().
Definition at line 737 of file gl2ps.cc.
References CLHEP::detail::n.
Referenced by gl2psPrintSVGSmoothTriangle().
Definition at line 1139 of file gl2ps.cc.
References GL2PS_ZERO.
Referenced by gl2psPDFgroupListWriteMainStream(), gl2psPrintPostScriptPrimitive(), and gl2psPrintSVGPrimitive().
|
static |
Definition at line 754 of file gl2ps.cc.
References gl2ps, and GL2PScontext::lastrgba.
Referenced by gl2psPrintPDFStrokeColor(), gl2psPrintPGFColor(), gl2psPrintPostScriptColor(), and gl2psPrintSVGPrimitive().
GL2PSDLL_API GLint gl2psSetOptions | ( | GLint | options | ) |
Definition at line 6567 of file gl2ps.cc.
References GL2PScontext::colormode, gl2ps, GL2PS_ERROR, GL2PS_SUCCESS, GL2PS_UNINITIALIZED, gl2psCheckOptions(), and GL2PScontext::options.
GL2PSDLL_API GLint gl2psSetTexScaling | ( | GLfloat | scaling | ) |
Definition at line 6636 of file gl2ps.cc.
References gl2ps, GL2PS_SUCCESS, GL2PS_UNINITIALIZED, and GL2PScontext::tex_scaling.
GL2PSDLL_API GLint gl2psSorting | ( | GLint | mode | ) |
Definition at line 6246 of file gl2ps.cc.
References gl2ps, GL2PS_BSP_SORT, GL2PS_ERROR, GL2PS_NO_SORT, GL2PS_SIMPLE_SORT, GL2PS_SUCCESS, GL2PS_UNINITIALIZED, gl2psFree(), gl2psMsg(), and GL2PScontext::sort.
|
static |
Definition at line 3799 of file gl2ps.cc.
References GL2PScontext::extgs_stack, gl2ps, GL2PS_TRIANGLE, gl2psFillTriangleFromPrimitive(), gl2psListNbr(), gl2psListPointer(), GL2PSpdfgroup::gsno, GL2PSpdfgroup::gsobjno, GL2PSpdfgroup::maskshno, GL2PSpdfgroup::maskshobjno, GL2PScontext::mshader_stack, GL2PScontext::objects_stack, GL2PStriangle::prop, GL2PSpdfgroup::ptrlist, GL2PScontext::shader_stack, GL2PSpdfgroup::shno, GL2PSpdfgroup::shobjno, T_ALPHA_1, T_ALPHA_LESS_1, T_CONST_COLOR, T_VAR_ALPHA, T_VAR_COLOR, GL2PSpdfgroup::trgroupno, GL2PScontext::trgroupobjects_stack, GL2PSpdfgroup::trgroupobjno, and GL2PSprimitive::type.
Referenced by gl2psPDFgroupListWriteMainStream().
GL2PSDLL_API GLint gl2psSpecial | ( | GLint | format, |
const char * | str | ||
) |
Definition at line 6302 of file gl2ps.cc.
References GL2PS_SPECIAL, and gl2psAddText().
GL2PSDLL_API GLint gl2psSpecialColor | ( | GLint | format, |
const char * | str, | ||
GL2PSrgba | rgba | ||
) |
|
static |
Definition at line 1385 of file gl2ps.cc.
References GL2PS_COINCIDENT, GL2PS_EPSILON, GL2PS_IN_BACK_OF, GL2PS_IN_FRONT_OF, GL2PS_POINT, GL2PS_SPANNING, gl2psAddIndex(), gl2psComparePointPlane(), gl2psCreateSplitPrimitive(), gl2psGetIndex(), gl2psMalloc(), GL2PSprimitive::numverts, GL2PSprimitive::type, GL2PSprimitive::verts, and GL2PSvertex::xyz.
Referenced by gl2psBuildBspTree().
|
static |
Definition at line 2013 of file gl2ps.cc.
References GL2PS_POINT_BACK, GL2PS_POINT_INFRONT, gl2psCheckPoint(), gl2psCreateSplitPrimitive2D(), gl2psCutEdge(), gl2psFree(), gl2psRealloc(), GL2PSprimitive::numverts, GL2PSprimitive::verts, and GL2PSvertex::xyz.
Referenced by gl2psAddInBspImageTree().
|
static |
Definition at line 1003 of file gl2ps.cc.
Referenced by gl2psBlendFunc().
|
static |
Definition at line 5110 of file gl2ps.cc.
References g.
Referenced by gl2psPrintSVGBeginViewport(), gl2psPrintSVGHeader(), gl2psPrintSVGPrimitive(), and gl2psPrintSVGSmoothTriangle().
|
static |
Definition at line 5096 of file gl2ps.cc.
References gl2ps, CLHEP::detail::n, GL2PScontext::viewport, and GL2PSvertex::xyz.
Referenced by gl2psPrintSVGPrimitive().
|
static |
Definition at line 1354 of file gl2ps.cc.
References GL2PS_COINCIDENT, GL2PS_EPSILON, GL2PS_IN_BACK_OF, GL2PS_IN_FRONT_OF, gl2psComparePointPlane(), gl2psGetIndex(), GL2PSprimitive::numverts, GL2PSprimitive::verts, and GL2PSvertex::xyz.
Referenced by gl2psFindRoot().
GL2PSDLL_API GLint gl2psText | ( | const char * | str, |
const char * | fontname, | ||
GLshort | fontsize | ||
) |
Definition at line 6296 of file gl2ps.cc.
References GL2PS_TEXT, GL2PS_TEXT_BL, and gl2psAddText().
GL2PSDLL_API GLint gl2psTextOpt | ( | const char * | str, |
const char * | fontname, | ||
GLshort | fontsize, | ||
GLint | alignment, | ||
GLfloat | angle | ||
) |
Definition at line 6290 of file gl2ps.cc.
References angle, GL2PS_TEXT, and gl2psAddText().
GL2PSDLL_API GLint gl2psTextOptColor | ( | const char * | str, |
const char * | fontname, | ||
GLshort | fontsize, | ||
GLint | alignment, | ||
GLfloat | angle, | ||
GL2PSrgba | color | ||
) |
Definition at line 6269 of file gl2ps.cc.
References angle, GL2PS_TEXT, and gl2psAddText().
GL2PSDLL_API GLint gl2psTextOptColorBL | ( | const char * | str, |
const char * | fontname, | ||
GLshort | fontsize, | ||
GLint | alignment, | ||
GLfloat | angle, | ||
GL2PSrgba | color, | ||
GLfloat | blx, | ||
GLfloat | bly | ||
) |
This version of gl2psTextOptColor is used to go around the fact that PDF does not support text alignment. The extra parameters (blx, bly) represent the bottom left corner of the text bounding box.
Definition at line 6282 of file gl2ps.cc.
References angle, GL2PS_TEXT, and gl2psAddText().
|
static |
Definition at line 1691 of file gl2ps.cc.
References geant4_check_module_cycles::action, GL2PSbsptree_::back, epsilon(), GL2PSbsptree_::front, gl2psComparePointPlane(), gl2psListAction(), gl2psListActionInverse(), gl2psTraverseBspTree(), GL2PSbsptree_::plane, and GL2PSbsptree_::primitives.
Referenced by gl2psPrintPrimitives(), and gl2psTraverseBspTree().
|
static |
Definition at line 1505 of file gl2ps.cc.
References GL2PSprimitive::type.
Referenced by gl2psBuildBspTree().
|
static |
Definition at line 725 of file gl2ps.cc.
References gl2psSameColor(), GL2PSprimitive::numverts, GL2PSvertex::rgba, and GL2PSprimitive::verts.
Referenced by gl2psPrintPostScriptPrimitive().
|
static |
Definition at line 340 of file gl2ps.cc.
References gl2ps, and GL2PScontext::stream.
Referenced by gl2psPrintPDFPixmap(), and gl2psPrintPDFShader().
|
static |
Definition at line 2557 of file gl2ps.cc.
References gl2psPrintf().
Referenced by gl2psPrintPostScriptImagemap(), and gl2psPrintPostScriptPixmap().
|
static |
Definition at line 278 of file gl2ps.cc.
Referenced by gl2psAdaptVertexForBlending(), gl2psAddInBspImageTree(), gl2psAddInImageTree(), gl2psAddPolyPrimitive(), gl2psAddText(), gl2psBeginPage(), gl2psBeginViewport(), gl2psBlendFunc(), gl2psClosePDFDataStream(), gl2psComputeTightBoundingBox(), gl2psDisable(), gl2psDrawImageMap(), gl2psDrawPixels(), gl2psEnable(), gl2psEndPage(), gl2psEndPostScriptLine(), gl2psEndSVGLine(), gl2psEndViewport(), gl2psFindRoot(), gl2psForceRasterPos(), gl2psGetFileFormat(), gl2psGetOptions(), gl2psGetVertex(), gl2psLineCap(), gl2psLineJoin(), gl2psLineWidth(), gl2psMsg(), gl2psOpenPDFDataStream(), gl2psOpenPDFDataStreamWritePreface(), gl2psParseFeedbackBuffer(), gl2psPDFgroupListDelete(), gl2psPDFgroupListInit(), gl2psPDFgroupListWriteFontResources(), gl2psPDFgroupListWriteGStateResources(), gl2psPDFgroupListWriteMainStream(), gl2psPDFgroupListWriteObjects(), gl2psPDFgroupListWriteShaderResources(), gl2psPDFgroupListWriteVariableResources(), gl2psPDFgroupListWriteXObjectResources(), gl2psPDFstacksInit(), gl2psPointSize(), gl2psPrintf(), gl2psPrintGzipFooter(), gl2psPrintGzipHeader(), gl2psPrintPDFBeginViewport(), gl2psPrintPDFCatalog(), gl2psPrintPDFCompressorType(), gl2psPrintPDFDataStreamLength(), gl2psPrintPDFEndViewport(), gl2psPrintPDFFooter(), gl2psPrintPDFGSObject(), gl2psPrintPDFHeader(), gl2psPrintPDFInfo(), gl2psPrintPDFLineCap(), gl2psPrintPDFLineJoin(), gl2psPrintPDFOpenPage(), gl2psPrintPDFPages(), gl2psPrintPDFPixmap(), gl2psPrintPDFPrimitive(), gl2psPrintPDFShader(), gl2psPrintPDFShaderExtGS(), gl2psPrintPDFShaderMask(), gl2psPrintPDFShaderSimpleExtGS(), gl2psPrintPDFText(), gl2psPrintPGFBeginViewport(), gl2psPrintPGFColor(), gl2psPrintPGFDash(), gl2psPrintPGFEndViewport(), gl2psPrintPGFFooter(), gl2psPrintPGFHeader(), gl2psPrintPGFPrimitive(), gl2psPrintPostScriptBeginViewport(), gl2psPrintPostScriptColor(), gl2psPrintPostScriptDash(), gl2psPrintPostScriptHeader(), gl2psPrintPostScriptPrimitive(), gl2psPrintPrimitives(), gl2psPrintSVGBeginViewport(), gl2psPrintSVGHeader(), gl2psPrintSVGPrimitive(), gl2psPrintSVGSmoothTriangle(), gl2psPrintTeXBeginViewport(), gl2psPrintTeXFooter(), gl2psPrintTeXHeader(), gl2psPrintTeXPrimitive(), gl2psPutPDFImage(), gl2psPutPDFSpecial(), gl2psPutPDFText(), gl2psPutPDFTextBL(), gl2psRescaleAndOffset(), gl2psResetLineProperties(), gl2psResetPostScriptColor(), gl2psSetLastColor(), gl2psSetOptions(), gl2psSetTexScaling(), gl2psSorting(), gl2psSortOutTrianglePDFgroup(), gl2psSVGGetCoordsAndColors(), and gl2psWriteBigEndian().
|
static |
Definition at line 5863 of file gl2ps.cc.
Referenced by gl2psBeginPage(), gl2psBeginViewport(), gl2psEndPage(), gl2psEndViewport(), gl2psGetFileExtension(), gl2psGetFormatDescription(), and gl2psPrintPrimitives().
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |