diff options
| author | Ray <[email protected]> | 2018-11-07 17:58:26 +0100 |
|---|---|---|
| committer | Ray <[email protected]> | 2018-11-07 17:58:26 +0100 |
| commit | b356ef5564e7fa2f4e26232cac451f9d63984ba5 (patch) | |
| tree | 9c0dbc143c539aae545f249f74c55224323f415c /src/raylib.h | |
| parent | 065994219e32e661bd92c2933b70c9573b82fff0 (diff) | |
| download | raylib-b356ef5564e7fa2f4e26232cac451f9d63984ba5.tar.gz raylib-b356ef5564e7fa2f4e26232cac451f9d63984ba5.zip | |
Modifies some Image functions
REVIEWED: ImageDrawRectangle()
ADDED: ImageDrawRectangleLines()
Diffstat (limited to 'src/raylib.h')
| -rw-r--r-- | src/raylib.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/raylib.h b/src/raylib.h index 6b237f07..aba4e108 100644 --- a/src/raylib.h +++ b/src/raylib.h @@ -1034,7 +1034,8 @@ RLAPI Color *ImageExtractPalette(Image image, int maxPaletteSize, int *extractCo 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 void ImageDraw(Image *dst, Image src, Rectangle srcRec, Rectangle dstRec); // Draw a source image within a destination image -RLAPI void ImageDrawRectangle(Image *dst, Vector2 position, Rectangle rec, Color color); // Draw rectangle within an image +RLAPI void ImageDrawRectangle(Image *dst, Rectangle rec, Color color); // Draw rectangle within an image +RLAPI void ImageDrawRectangleLines(Image *dst, Rectangle rec, int thick, Color color); // Draw rectangle lines within an image RLAPI void ImageDrawText(Image *dst, Vector2 position, const char *text, int fontSize, Color color); // Draw text (default font) within an image (destination) RLAPI void ImageDrawTextEx(Image *dst, Vector2 position, Font font, const char *text, float fontSize, float spacing, Color color); // Draw text (custom sprite font) within an image (destination) RLAPI void ImageFlipVertical(Image *image); // Flip image vertically |
