diff options
| author | raysan5 <[email protected]> | 2017-07-24 20:04:54 +0200 |
|---|---|---|
| committer | raysan5 <[email protected]> | 2017-07-24 20:04:54 +0200 |
| commit | 072684d276373b58ddf7203e34b66a14f6e0c848 (patch) | |
| tree | 64dd10af55f0602864ce79eb9c46a23531341059 /docs/cheatsheet/raylib_text.c | |
| parent | b2712b6db7c184aff47436f387f2012cf77f4f67 (diff) | |
| download | raylib-072684d276373b58ddf7203e34b66a14f6e0c848.tar.gz raylib-072684d276373b58ddf7203e34b66a14f6e0c848.zip | |
Removed webpage from raylib repo
Moved to own repo at @raysan5/raylib.com
Diffstat (limited to 'docs/cheatsheet/raylib_text.c')
| -rw-r--r-- | docs/cheatsheet/raylib_text.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/docs/cheatsheet/raylib_text.c b/docs/cheatsheet/raylib_text.c deleted file mode 100644 index 1c164e5b..00000000 --- a/docs/cheatsheet/raylib_text.c +++ /dev/null @@ -1,19 +0,0 @@ - - // SpriteFont loading/unloading functions - SpriteFont GetDefaultFont(void); // Get the default SpriteFont - SpriteFont LoadSpriteFont(const char *fileName); // Load a SpriteFont image into GPU memory - SpriteFont LoadSpriteFontEx(const char *fileName, int fontSize, int numChars, int *fontChars); // Load a SpriteFont from TTF font with parameters - void UnloadSpriteFont(SpriteFont spriteFont); // Unload SpriteFont from GPU memory - - // Text drawing functions - void DrawFPS(int posX, int posY); // Shows current FPS on top-left corner - void DrawText(const char *text, int posX, int posY, int fontSize, Color color); // Draw text (using default font) - void DrawTextEx(SpriteFont spriteFont, const char* text, Vector2 position, // Draw text using SpriteFont and additional parameters - int fontSize, int spacing, Color tint); - - // Text misc. functions - int MeasureText(const char *text, int fontSize); // Measure string width for default font - Vector2 MeasureTextEx(SpriteFont spriteFont, const char *text, int fontSize, int spacing); // Measure string size for SpriteFont - const char *FormatText(const char *text, ...); // Formatting of text with variables to 'embed' - const char *SubText(const char *text, int position, int length); // Get a piece of a text string - |
