diff options
| author | Ray <[email protected]> | 2019-03-29 17:28:37 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2019-03-29 17:28:37 +0100 |
| commit | afab8b36ab9c7e199cbffe639b64fbd87c41bc05 (patch) | |
| tree | 93c284d181b4759d8a18dc375ec67cdd6a3d8786 /src/raylib.h | |
| parent | 19debd2b4e44cee494c882cb8d338dc1847ae5b5 (diff) | |
| parent | ab9c6da26f79796a04ca79401617a7244ec9c2a8 (diff) | |
| download | raylib-afab8b36ab9c7e199cbffe639b64fbd87c41bc05.tar.gz raylib-afab8b36ab9c7e199cbffe639b64fbd87c41bc05.zip | |
Merge pull request #786 from Demizdor/draw_ring
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 1a344306..085f36f6 100644 --- a/src/raylib.h +++ b/src/raylib.h @@ -1041,9 +1041,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 |
