summaryrefslogtreecommitdiffhomepage
path: root/src/raylib.h
diff options
context:
space:
mode:
authorRay <[email protected]>2022-10-14 10:51:43 +0200
committerRay <[email protected]>2022-10-14 10:51:43 +0200
commite61639f6fc46856ee3e66b28796a58ecb42278b1 (patch)
tree7b17ad6739b878b468e555963bb3a0417ec177b6 /src/raylib.h
parentccd4f8b5ae7e9c40cb9ad4b1ef8a8f5c1ab458d9 (diff)
downloadraylib-e61639f6fc46856ee3e66b28796a58ecb42278b1.tar.gz
raylib-e61639f6fc46856ee3e66b28796a58ecb42278b1.zip
ADDED: `GenImageText()`
Probably useless but interesting for education. It generated a grayscale image directly from text data.
Diffstat (limited to 'src/raylib.h')
-rw-r--r--src/raylib.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/raylib.h b/src/raylib.h
index 4ec44b48..34b8cce4 100644
--- a/src/raylib.h
+++ b/src/raylib.h
@@ -1244,6 +1244,7 @@ RLAPI Image GenImageChecked(int width, int height, int checksX, int checksY, Col
RLAPI Image GenImageWhiteNoise(int width, int height, float factor); // Generate image: white noise
RLAPI Image GenImagePerlinNoise(int width, int height, int offsetX, int offsetY, float scale); // Generate image: perlin noise
RLAPI Image GenImageCellular(int width, int height, int tileSize); // Generate image: cellular algorithm, bigger tileSize means bigger cells
+RLAPI Image GenImageText(int width, int height, const char *text); // Generate image: grayscale image from text data
// Image manipulation functions
RLAPI Image ImageCopy(Image image); // Create an image duplicate (useful for transformations)