1set_line_spacing(3) gstream manual set_line_spacing(3)
2
3
4
6 set_line_spacing
7
9 #include <gstream.h>
10
11
12 void set_line_spacing(int ls);
13
15 Sets the line spacing in pixels. The supplied value is added to the
16 height of the font so if your font is 12 pixels high, and you call this
17 function with 4, then the outputter will go 16 pixels down each time a
18 newline is encountered, effectively making the space between the lines
19 be 4 pixels. Note that nothing prevents you from supplying a negative
20 value which, for instance, could cause the lines to overlap.
21
22 Every time you select a new font, the gstream will call this function
23 with 1.
24
25
27 gstream-get_line_spacing(3)
28
29
30
31gstream version 1.6 set_line_spacing(3)