From b421d4e7e06f977436b6e6195b95ca44d884e0c0 Mon Sep 17 00:00:00 2001 From: David Thompson Date: Sun, 2 Jun 2019 20:50:28 -0400 Subject: Add guile-sdl2 manual. --- manuals/guile-sdl2/Fonts.html | 146 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 146 insertions(+) create mode 100644 manuals/guile-sdl2/Fonts.html (limited to 'manuals/guile-sdl2/Fonts.html') diff --git a/manuals/guile-sdl2/Fonts.html b/manuals/guile-sdl2/Fonts.html new file mode 100644 index 0000000..ed15bc1 --- /dev/null +++ b/manuals/guile-sdl2/Fonts.html @@ -0,0 +1,146 @@ + + + + + + +Fonts (Guile-SDL2) + + + + + + + + + + + + + + + + + + + + +
+

+Previous: , Up: API Reference   [Contents][Index]

+
+
+ +

3.10 Fonts

+ +
+
(use-modules (sdl2 ttf))
+
+ +
+
Procedure: ttf-init
+

Initialize the TTF system. +

+ +
+
Procedure: ttf-quit
+

Shut down and clean up the TTF system. +

+ +
+
Procedure: load-font file point-size
+

Load TTF font from file and return a new font object whose glyph size is +point-size. +

+ +
+
Procedure: delete-font! font
+

Delete the memory allocated for font. +

+ +
+
Procedure: font-height font
+

Return the maximum height of font. +

+ +
+
Procedure: render-font-solid font text color
+

Render text, a UTF-8 encoded string, using font and color, the +foreground color, and return a surface containing the results. +

+ +
+
Procedure: render-font-blended font text color
+

Render text, a UTF-8 encoded string, using font and color, the +foreground color, and return a high-quality alpha-blended surface containing the +results. +

+ + + + + + -- cgit v1.2.3