1gl_setwritemode(3) Svgalib User Manual gl_setwritemode(3)
2
3
4
6 gl_setwritemode - set the font writemode flags
7
8
10 #include <vgagl.h>
11
12 void gl_setwritemode(int m);
13
14
16 Sets the writemode flags for the font routines. It must be the sum of
17 exactly one choice out of the following two groups:
18
19 WRITEMODE_MASKED
20 WRITEMODE_OVERWRITE (default)
21 If WRITEMODE_MASKED is set, only foreground pixels of the font
22 are used for write operations; the screen background is not
23 erased.
24
25
26 FONT_COMPRESSED
27 FONT_EXPANDED (default)
28 If FONT_COMPRESSED is set, text writes will use the compressed
29 bit-per-pixel font rather than the expanded font (which would be
30 slightly faster).
31
32
34 svgalib(7), vgagl(7), svgalib.conf(5), threedkit(7), testgl(1), gl_col‐
35 orfont(3), gl_expandfont(3), gl_font8x8(3), gl_hline(3), gl_line(3),
36 gl_setfont(3), gl_setfontcolors(3), gl_write(3), gl_writen(3).
37
38
40 This manual page was edited by Michael Weller <eowmob@exp-math.uni-
41 essen.de>. The exact source of the referenced demo as well as of the
42 original documentation is unknown.
43
44 It is very likely that both are at least to some extent are due to Harm
45 Hanemaayer <H.Hanemaayer@inter.nl.net>.
46
47 Occasionally this might be wrong. I hereby asked to be excused by the
48 original author and will happily accept any additions or corrections to
49 this first version of the svgalib manual.
50
51
52
53Svgalib (>= 1.2.11) 22 Feb 1998 gl_setwritemode(3)