From c2a2445897af17adb56a32dcf111312763a575d4 Mon Sep 17 00:00:00 2001 From: Toni Uhlig Date: Mon, 2 Jul 2018 01:06:39 +0200 Subject: initial commit Signed-off-by: Toni Uhlig --- .../CSFML-2.1/doc/html/Text_8h_source.htm | 158 +++++++++++++++++++++ 1 file changed, 158 insertions(+) create mode 100755 libghack/CSFML-2.1-windows-32bits/CSFML-2.1/doc/html/Text_8h_source.htm (limited to 'libghack/CSFML-2.1-windows-32bits/CSFML-2.1/doc/html/Text_8h_source.htm') diff --git a/libghack/CSFML-2.1-windows-32bits/CSFML-2.1/doc/html/Text_8h_source.htm b/libghack/CSFML-2.1-windows-32bits/CSFML-2.1/doc/html/Text_8h_source.htm new file mode 100755 index 0000000..56ae93a --- /dev/null +++ b/libghack/CSFML-2.1-windows-32bits/CSFML-2.1/doc/html/Text_8h_source.htm @@ -0,0 +1,158 @@ + + + + CSFML - C binding of the Simple and Fast Multimedia Library + + + + + + + +
+
+
Text.h
+
+
+Go to the documentation of this file.
1 
+
2 //
+
3 // SFML - Simple and Fast Multimedia Library
+
4 // Copyright (C) 2007-2013 Laurent Gomila (laurent.gom@gmail.com)
+
5 //
+
6 // This software is provided 'as-is', without any express or implied warranty.
+
7 // In no event will the authors be held liable for any damages arising from the use of this software.
+
8 //
+
9 // Permission is granted to anyone to use this software for any purpose,
+
10 // including commercial applications, and to alter it and redistribute it freely,
+
11 // subject to the following restrictions:
+
12 //
+
13 // 1. The origin of this software must not be misrepresented;
+
14 // you must not claim that you wrote the original software.
+
15 // If you use this software in a product, an acknowledgment
+
16 // in the product documentation would be appreciated but is not required.
+
17 //
+
18 // 2. Altered source versions must be plainly marked as such,
+
19 // and must not be misrepresented as being the original software.
+
20 //
+
21 // 3. This notice may not be removed or altered from any source distribution.
+
22 //
+
24 
+
25 #ifndef SFML_TEXT_H
+
26 #define SFML_TEXT_H
+
27 
+
29 // Headers
+
31 #include <SFML/Graphics/Export.h>
+
32 #include <SFML/Graphics/Color.h>
+
33 #include <SFML/Graphics/Rect.h>
+
34 #include <SFML/Graphics/Types.h>
+ +
36 #include <SFML/System/Vector2.h>
+
37 #include <stddef.h>
+
38 
+
39 
+
43 typedef enum
+
44 {
+ +
46  sfTextBold = 1 << 0,
+
47  sfTextItalic = 1 << 1,
+
48  sfTextUnderlined = 1 << 2
+
49 } sfTextStyle;
+
50 
+
51 
+ +
59 
+ +
69 
+ +
77 
+ +
90 
+
102 CSFML_GRAPHICS_API void sfText_setRotation(sfText* text, float angle);
+
103 
+ +
116 
+ +
132 
+ +
142 
+
153 CSFML_GRAPHICS_API float sfText_getRotation(const sfText* text);
+
154 
+ +
164 
+ +
174 
+
185 CSFML_GRAPHICS_API void sfText_move(sfText* text, sfVector2f offset);
+
186 
+
197 CSFML_GRAPHICS_API void sfText_rotate(sfText* text, float angle);
+
198 
+
209 CSFML_GRAPHICS_API void sfText_scale(sfText* text, sfVector2f factors);
+
210 
+ +
220 
+ +
230 
+
240 CSFML_GRAPHICS_API void sfText_setString(sfText* text, const char* string);
+
241 
+
249 CSFML_GRAPHICS_API void sfText_setUnicodeString(sfText* text, const sfUint32* string);
+
250 
+
265 CSFML_GRAPHICS_API void sfText_setFont(sfText* text, const sfFont* font);
+
266 
+
276 CSFML_GRAPHICS_API void sfText_setCharacterSize(sfText* text, unsigned int size);
+
277 
+ +
290 
+ +
301 
+
310 CSFML_GRAPHICS_API const char* sfText_getString(const sfText* text);
+
311 
+ +
321 
+
334 CSFML_GRAPHICS_API const sfFont* sfText_getFont(const sfText* text);
+
335 
+
344 CSFML_GRAPHICS_API unsigned int sfText_getCharacterSize(const sfText* text);
+
345 
+ +
355 
+ +
365 
+ +
383 
+ +
399 
+ +
415 
+
416 
+
417 #endif // SFML_TEXT_H
+
+ + + + -- cgit v1.2.3