diff options
| author | Rob Loach <[email protected]> | 2022-09-19 12:41:17 -0400 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-09-19 18:41:17 +0200 |
| commit | 2093fdcc536e68a131c15e196460e338609e1a76 (patch) | |
| tree | f6bf600217adff6d07468b2363dc7a9812455df0 /examples/textures | |
| parent | 0e5cd442be3b90c041a5874fbec52659f214827e (diff) | |
| download | raylib-2093fdcc536e68a131c15e196460e338609e1a76.tar.gz raylib-2093fdcc536e68a131c15e196460e338609e1a76.zip | |
Added: `ImageDrawCircleLines`, `ImageDrawCircleLinesV` (#2713)
This adds `ImageDrawCircleLines()` and `ImageDrawCircleLinesV()` to draw outlines of circles, and updates `ImageDrawCircle()` draw a filled circle to match the effect of `DrawCircle()` and `DrawCircleLines()`.
Diffstat (limited to 'examples/textures')
| -rw-r--r-- | examples/textures/textures_image_drawing.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/textures/textures_image_drawing.c b/examples/textures/textures_image_drawing.c index 203b3cd3..190fb859 100644 --- a/examples/textures/textures_image_drawing.c +++ b/examples/textures/textures_image_drawing.c @@ -42,7 +42,7 @@ int main(void) // Draw on the image with a few image draw methods ImageDrawPixel(&parrots, 10, 10, RAYWHITE); - ImageDrawCircle(&parrots, 10, 10, 5, RAYWHITE); + ImageDrawCircleLines(&parrots, 10, 10, 5, RAYWHITE); ImageDrawRectangle(&parrots, 5, 20, 10, 10, RAYWHITE); UnloadImage(cat); // Unload image from RAM |
