blob: 59057a2177f6b4c97ead3c20940d30c5a2c416cd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
|
@node Fonts
@section Fonts
Guile-2D can render TTF fonts via the FTGL library.
@anchor{2d font font-ftgl-font}@defspec font-ftgl-font
@end defspec
@anchor{2d font font-size}@defspec font-size
@end defspec
@anchor{2d font font?}@defspec font?
@end defspec
@anchor{2d font make-font}@defspec make-font
@end defspec
@anchor{2d font set-textbox-color!}@defspec set-textbox-color!
@end defspec
@anchor{2d font set-textbox-position!}@defspec set-textbox-position!
@end defspec
@anchor{2d font set-textbox-text!}@defspec set-textbox-text!
@end defspec
@anchor{2d font textbox-alignment}@defspec textbox-alignment
@end defspec
@anchor{2d font textbox-color}@defspec textbox-color
@end defspec
@anchor{2d font textbox-font}@defspec textbox-font
@end defspec
@anchor{2d font textbox-layout}@defspec textbox-layout
@end defspec
@anchor{2d font textbox-line-length}@defspec textbox-line-length
@end defspec
@anchor{2d font textbox-position}@defspec textbox-position
@end defspec
@anchor{2d font textbox-text}@defspec textbox-text
@end defspec
@anchor{2d font textbox?}@defspec textbox?
@end defspec
@anchor{2d font draw-font}@defun draw-font font text
Renders the string text using the given font.
@end defun
@anchor{2d font draw-textbox}@defun draw-textbox textbox
Draw TEXTBOX.
@end defun
@anchor{2d font load-font}@defun load-font filename size
Load a font from FILENAME with the given SIZE in points.
@end defun
@anchor{2d font make-textbox}@defun make-textbox font text position color alignment line-length
Create a textbox that will draw TEXT with the given FONT, at vector
POSITION, with ALIGNMENT, and a maximum LINE-LENGTH.
@end defun
|