diff options
| author | Ray <[email protected]> | 2024-06-30 11:07:38 +0200 |
|---|---|---|
| committer | Ray <[email protected]> | 2024-06-30 11:07:38 +0200 |
| commit | 17cbc75aa710ed629560580e8105d637b3124653 (patch) | |
| tree | d5fbf88128d5e1c083c78dd30b6fd7d5c6c0f968 /src/raylib.h | |
| parent | a805f46f552626c9d6b39baeda2d03963ab53cb4 (diff) | |
| download | raylib-17cbc75aa710ed629560580e8105d637b3124653.tar.gz raylib-17cbc75aa710ed629560580e8105d637b3124653.zip | |
REVIEWED: Formatting, follow raylib coding conventions
Diffstat (limited to 'src/raylib.h')
| -rw-r--r-- | src/raylib.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/raylib.h b/src/raylib.h index 26cf03e8..3f6b61f8 100644 --- a/src/raylib.h +++ b/src/raylib.h @@ -1332,9 +1332,9 @@ RLAPI Image GenImageText(int width, int height, const char *text); // Image manipulation functions RLAPI Image ImageCopy(Image image); // Create an image duplicate (useful for transformations) RLAPI Image ImageFromImage(Image image, Rectangle rec); // Create an image from another image piece +RLAPI Image ImageFromChannel(Image image, int selectedChannel); // Create an image from a selected channel of another image (GRAYSCALE/R16/R32) RLAPI Image ImageText(const char *text, int fontSize, Color color); // Create an image from text (default font) RLAPI Image ImageTextEx(Font font, const char *text, float fontSize, float spacing, Color tint); // Create an image from text (custom sprite font) -RLAPI Image ImageFromChannel(Image image, int selectedChannel); // Create an image from a selected channel of another image RLAPI void ImageFormat(Image *image, int newFormat); // Convert image data to desired format RLAPI void ImageToPOT(Image *image, Color fill); // Convert image to POT (power-of-two) RLAPI void ImageCrop(Image *image, Rectangle crop); // Crop an image to a defined rectangle |
