From b331e885c5a6dd7406977fb9b881cc10cbb888cc Mon Sep 17 00:00:00 2001
From: JupiterRider <60042618+JupiterRider@users.noreply.github.com>
Date: Fri, 6 Dec 2024 18:39:08 +0100
Subject: [PATCH] DrawRectangleRoundedLines method updated and
DrawRectangleRoundedLinesEx added
---
Raylib-cs/interop/Raylib.cs | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/Raylib-cs/interop/Raylib.cs b/Raylib-cs/interop/Raylib.cs
index 37aaef6..77573fe 100644
--- a/Raylib-cs/interop/Raylib.cs
+++ b/Raylib-cs/interop/Raylib.cs
@@ -1219,9 +1219,18 @@ public static unsafe partial class Raylib
[DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)]
public static extern void DrawRectangleRounded(Rectangle rec, float roundness, int segments, Color color);
- /// Draw rectangle with rounded edges outline
+ /// Draw rectangle lines with rounded edges/summary>
[DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)]
public static extern void DrawRectangleRoundedLines(
+ Rectangle rec,
+ float roundness,
+ int segments,
+ Color color
+ );
+
+ // Draw rectangle with rounded edges outline
+ [DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)]
+ public static extern void DrawRectangleRoundedLinesEx(
Rectangle rec,
float roundness,
int segments,