1gl_setcontextwidth(3) Svgalib User Manual gl_setcontextwidth(3)
2
3
4
6 gl_setcontextwidth, gl_setcontextheight - set the dimension of a con‐
7 text
8
9
11 #include <vgagl.h>
12
13 void gl_setcontextwidth(int w);
14 void gl_setcontextheight(int h);
15
16
18 Set the size of the current virtual context, effectively clipping
19 everything to the top left corner of size (w, h).
20
21
23 svgalib(7), vgagl(7), svgalib.conf(5), threedkit(7), testgl(1),
24 plane(1), wrapdemo(1), currentcontext(3), gl_allocatecontext(3),
25 gl_disableclipping(3), gl_enableclipping(3), gl_freecontext(3), gl_get‐
26 context(3), gl_setcontext(3), gl_setcontextvga(3), gl_setcontextvgavir‐
27 tual(3), gl_setcontextvirtual(3), gl_setdisplaystart(3).
28
29
31 This manual page was edited by Michael Weller <eowmob@exp-math.uni-
32 essen.de>. The exact source of the referenced demo as well as of the
33 original documentation is unknown.
34
35 It is very likely that both are at least to some extent are due to Harm
36 Hanemaayer <H.Hanemaayer@inter.nl.net>.
37
38 Occasionally this might be wrong. I hereby asked to be excused by the
39 original author and will happily accept any additions or corrections to
40 this first version of the svgalib manual.
41
42
43
44Svgalib (>= 1.2.11) 2 Aug 1997 gl_setcontextwidth(3)