summaryrefslogtreecommitdiffhomepage
path: root/src/raylib.h
diff options
context:
space:
mode:
authorRay <[email protected]>2021-10-03 12:55:52 +0200
committerRay <[email protected]>2021-10-03 12:55:52 +0200
commit9b3d74db6bd9e38bc1447f636897990bbd698b4b (patch)
treeb894b76f1841eeca80ed6f65b44507e74d6b8dc8 /src/raylib.h
parent92417c4485cc65f1ebc194eb2001a90d3082d4df (diff)
downloadraylib-9b3d74db6bd9e38bc1447f636897990bbd698b4b.tar.gz
raylib-9b3d74db6bd9e38bc1447f636897990bbd698b4b.zip
ADDED: GetImageColor() #2024
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 a1150c4d..7554f75f 100644
--- a/src/raylib.h
+++ b/src/raylib.h
@@ -1247,6 +1247,7 @@ RLAPI Color *LoadImagePalette(Image image, int maxPaletteSize, int *colorCount);
RLAPI void UnloadImageColors(Color *colors); // Unload color data loaded with LoadImageColors()
RLAPI void UnloadImagePalette(Color *colors); // Unload colors palette loaded with LoadImagePalette()
RLAPI Rectangle GetImageAlphaBorder(Image image, float threshold); // Get image alpha border rectangle
+RLAPI Color GetImageColor(Image image, int x, int y); // Get image pixel color at (x, y) position
// Image drawing functions
// NOTE: Image software-rendering functions (CPU)