Geant4-11
gl2ps_end.icc
Go to the documentation of this file.
1
2TOOLS_GL2PSDLL_API tools_GLint tools_gl2psSetBackgroundColor(float a_r,float a_g,float a_b)
3{
4 if(!tools_gl2ps_context) return TOOLS_GL2PS_UNINITIALIZED;
5
6 tools_gl2ps_context->bgcolor[0] = a_r;
7 tools_gl2ps_context->bgcolor[1] = a_g;
8 tools_gl2ps_context->bgcolor[2] = a_b;
9 tools_gl2ps_context->bgcolor[3] = 1.0F;
10
11 return TOOLS_GL2PS_SUCCESS;
12}
13
14#undef TOOLS_GL2PS_EPSILON
15#undef TOOLS_GL2PS_ZSCALE
16#undef TOOLS_GL2PS_ZOFFSET
17#undef TOOLS_GL2PS_ZOFFSET_LARGE
18#undef TOOLS_GL2PS_ZERO
19#undef TOOLS_GL2PS_COINCIDENT
20#undef TOOLS_GL2PS_IN_FRONT_OF
21#undef TOOLS_GL2PS_IN_BACK_OF
22#undef TOOLS_GL2PS_SPANNING
23#undef TOOLS_GL2PS_POINT_COINCIDENT
24#undef TOOLS_GL2PS_POINT_INFRONT
25#undef TOOLS_GL2PS_POINT_BACK
26#undef TOOLS_GL2PS_BEGIN_OFFSET_TOKEN
27#undef TOOLS_GL2PS_END_OFFSET_TOKEN
28#undef TOOLS_GL2PS_BEGIN_BOUNDARY_TOKEN
29#undef TOOLS_GL2PS_END_BOUNDARY_TOKEN
30#undef TOOLS_GL2PS_BEGIN_STIPPLE_TOKEN
31#undef TOOLS_GL2PS_END_STIPPLE_TOKEN
32#undef TOOLS_GL2PS_POINT_SIZE_TOKEN
33#undef TOOLS_GL2PS_LINE_CAP_TOKEN
34#undef TOOLS_GL2PS_LINE_JOIN_TOKEN
35#undef TOOLS_GL2PS_LINE_WIDTH_TOKEN
36#undef TOOLS_GL2PS_BEGIN_BLEND_TOKEN
37#undef TOOLS_GL2PS_END_BLEND_TOKEN
38#undef TOOLS_GL2PS_SRC_BLEND_TOKEN
39#undef TOOLS_GL2PS_DST_BLEND_TOKEN
40#undef TOOLS_GL2PS_IMAGEMAP_TOKEN
41#undef TOOLS_GL2PS_DRAW_PIXELS_TOKEN
42#undef TOOLS_GL2PS_TEXT_TOKEN