DrawRectangleRoundedLines method updated and DrawRectangleRoundedLinesEx added
This commit is contained in:
parent
517ef2ecd9
commit
b331e885c5
1 changed files with 10 additions and 1 deletions
|
|
@ -1219,9 +1219,18 @@ public static unsafe partial class Raylib
|
||||||
[DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
[DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
||||||
public static extern void DrawRectangleRounded(Rectangle rec, float roundness, int segments, Color color);
|
public static extern void DrawRectangleRounded(Rectangle rec, float roundness, int segments, Color color);
|
||||||
|
|
||||||
/// <summary>Draw rectangle with rounded edges outline</summary>
|
/// <summary>Draw rectangle lines with rounded edges/summary>
|
||||||
[DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
[DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
||||||
public static extern void DrawRectangleRoundedLines(
|
public static extern void DrawRectangleRoundedLines(
|
||||||
|
Rectangle rec,
|
||||||
|
float roundness,
|
||||||
|
int segments,
|
||||||
|
Color color
|
||||||
|
);
|
||||||
|
|
||||||
|
// <summary>Draw rectangle with rounded edges outline</summary>
|
||||||
|
[DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
||||||
|
public static extern void DrawRectangleRoundedLinesEx(
|
||||||
Rectangle rec,
|
Rectangle rec,
|
||||||
float roundness,
|
float roundness,
|
||||||
int segments,
|
int segments,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue