diff options
| author | Demizdor <[email protected]> | 2019-03-29 16:22:09 +0200 |
|---|---|---|
| committer | Demizdor <[email protected]> | 2019-03-29 16:22:09 +0200 |
| commit | ab9c6da26f79796a04ca79401617a7244ec9c2a8 (patch) | |
| tree | 7e7a90776d45f3f42dc7458c0d0f4492a6ebea36 /src/raylib.h | |
| parent | 876c64b1e530b4b9826eef8fcfc5c3bc567c6be8 (diff) | |
| download | raylib-ab9c6da26f79796a04ca79401617a7244ec9c2a8.tar.gz raylib-ab9c6da26f79796a04ca79401617a7244ec9c2a8.zip | |
Added DrawRing(), DrawRingLines() and DrawCircleSectorLines()
Diffstat (limited to 'src/raylib.h')
| -rw-r--r-- | src/raylib.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/raylib.h b/src/raylib.h index 5db50c04..2f3b7be2 100644 --- a/src/raylib.h +++ b/src/raylib.h @@ -1044,9 +1044,12 @@ RLAPI void DrawLineEx(Vector2 startPos, Vector2 endPos, float thick, Color color RLAPI void DrawLineBezier(Vector2 startPos, Vector2 endPos, float thick, Color color); // Draw a line using cubic-bezier curves in-out RLAPI void DrawCircle(int centerX, int centerY, float radius, Color color); // Draw a color-filled circle RLAPI void DrawCircleSector(Vector2 center, float radius, int startAngle, int endAngle, int segments, Color color); // Draw a piece of a circle +RLAPI void DrawCircleSectorLines(Vector2 center, float radius, int startAngle, int endAngle, int segments, Color color); // Draw circle sector outline RLAPI void DrawCircleGradient(int centerX, int centerY, float radius, Color color1, Color color2); // Draw a gradient-filled circle RLAPI void DrawCircleV(Vector2 center, float radius, Color color); // Draw a color-filled circle (Vector version) RLAPI void DrawCircleLines(int centerX, int centerY, float radius, Color color); // Draw circle outline +RLAPI void DrawRing(Vector2 center, float innerRadius, float outerRadius, int startAngle, int endAngle, int segments, Color color); // Draw ring +RLAPI void DrawRingLines(Vector2 center, float innerRadius, float outerRadius, int startAngle, int endAngle, int segments, Color color); // Draw ring outline RLAPI void DrawRectangle(int posX, int posY, int width, int height, Color color); // Draw a color-filled rectangle RLAPI void DrawRectangleV(Vector2 position, Vector2 size, Color color); // Draw a color-filled rectangle (Vector version) RLAPI void DrawRectangleRec(Rectangle rec, Color color); // Draw a color-filled rectangle |
