summaryrefslogtreecommitdiffhomepage
path: root/src/raylib.h
diff options
context:
space:
mode:
authorLe Juez Victor <[email protected]>2024-06-24 09:27:59 +0200
committerGitHub <[email protected]>2024-06-24 09:27:59 +0200
commitc2df1698473687a97e0f40562477921aee07b3e7 (patch)
tree94c1d11ea7b99ed21caafc11af097a20528d8881 /src/raylib.h
parentc7bda3d10fe27051ad41cdb30146a884ce6b35af (diff)
downloadraylib-c2df1698473687a97e0f40562477921aee07b3e7.tar.gz
raylib-c2df1698473687a97e0f40562477921aee07b3e7.zip
[rtextures] Adding `ImageDrawLineEx` function (#4097)
* adding `ImageDrawLineEx` function also review other functions for drawing lines in images * fix `ImageDrawLineV`
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 7195fd55..8cd1d1ec 100644
--- a/src/raylib.h
+++ b/src/raylib.h
@@ -1373,6 +1373,7 @@ RLAPI void ImageDrawPixel(Image *dst, int posX, int posY, Color color);
RLAPI void ImageDrawPixelV(Image *dst, Vector2 position, Color color); // Draw pixel within an image (Vector version)
RLAPI void ImageDrawLine(Image *dst, int startPosX, int startPosY, int endPosX, int endPosY, Color color); // Draw line within an image
RLAPI void ImageDrawLineV(Image *dst, Vector2 start, Vector2 end, Color color); // Draw line within an image (Vector version)
+RLAPI void ImageDrawLineEx(Image *dst, Vector2 start, Vector2 end, int thick, Color color); // Draw a line defining thickness within an image
RLAPI void ImageDrawCircle(Image *dst, int centerX, int centerY, int radius, Color color); // Draw a filled circle within an image
RLAPI void ImageDrawCircleV(Image *dst, Vector2 center, int radius, Color color); // Draw a filled circle within an image (Vector version)
RLAPI void ImageDrawCircleLines(Image *dst, int centerX, int centerY, int radius, Color color); // Draw circle outline within an image