ADDED: TODO: ImageDrawCircleGradient()

This commit is contained in:
Ray
2026-06-07 21:51:02 +02:00
parent 0e7cc36567
commit d9335f6a95
2 changed files with 8 additions and 0 deletions
+2
View File
@@ -1438,6 +1438,8 @@ RLAPI void ImageDrawCircleV(Image *dst, Vector2 center, int radius, Color color)
RLAPI void ImageDrawCircleLines(Image *dst, int centerX, int centerY, int radius, Color color); // Draw circle outline within an image
RLAPI void ImageDrawCircleLinesV(Image *dst, Vector2 center, int radius, Color color); // Draw circle outline within an image (Vector version)
RLAPI void ImageDraw(Image *dst, Image src, Rectangle srcRec, Rectangle dstRec, Color tint); // Draw a source image into a destination image (tint applied to source)
RLAPI void ImageDrawCircleGradient(Image *dst, Vector2 center, float radius, Color inner, Color outer); // Draw a gradient-filled circle within an image
RLAPI void ImageDrawText(Image *dst, const char *text, int posX, int posY, int fontSize, Color color); // Draw text (using default font) within an image (destination)
RLAPI void ImageDrawTextEx(Image *dst, Font font, const char *text, Vector2 position, float fontSize, float spacing, Color tint); // Draw text (custom sprite font) within an image (destination)
+6
View File
@@ -3942,6 +3942,12 @@ void ImageDrawCircleLinesV(Image *dst, Vector2 center, int radius, Color color)
}
// Draw an image (source) within an image (destination)
// Draw a gradient-filled circle within an image
void ImageDrawCircleGradient(Image *dst, Vector2 center, float radius, Color inner, Color outer)
{
// TODO: Implement gradient circle drawing
}
// NOTE: Color tint is applied to source image
void ImageDraw(Image *dst, Image src, Rectangle srcRec, Rectangle dstRec, Color tint)
{