@@ -145,6 +145,43 @@ public void AddDrawCmd()
145
145
{
146
146
ImGuiNative . ImDrawList_AddDrawCmd ( ( ImDrawList * ) ( NativePtr ) ) ;
147
147
}
148
+ public void AddEllipse ( Vector2 center , float radius_x , float radius_y , uint col )
149
+ {
150
+ float rot = 0.0f ;
151
+ int num_segments = 0 ;
152
+ float thickness = 1.0f ;
153
+ ImGuiNative . ImDrawList_AddEllipse ( ( ImDrawList * ) ( NativePtr ) , center , radius_x , radius_y , col , rot , num_segments , thickness ) ;
154
+ }
155
+ public void AddEllipse ( Vector2 center , float radius_x , float radius_y , uint col , float rot )
156
+ {
157
+ int num_segments = 0 ;
158
+ float thickness = 1.0f ;
159
+ ImGuiNative . ImDrawList_AddEllipse ( ( ImDrawList * ) ( NativePtr ) , center , radius_x , radius_y , col , rot , num_segments , thickness ) ;
160
+ }
161
+ public void AddEllipse ( Vector2 center , float radius_x , float radius_y , uint col , float rot , int num_segments )
162
+ {
163
+ float thickness = 1.0f ;
164
+ ImGuiNative . ImDrawList_AddEllipse ( ( ImDrawList * ) ( NativePtr ) , center , radius_x , radius_y , col , rot , num_segments , thickness ) ;
165
+ }
166
+ public void AddEllipse ( Vector2 center , float radius_x , float radius_y , uint col , float rot , int num_segments , float thickness )
167
+ {
168
+ ImGuiNative . ImDrawList_AddEllipse ( ( ImDrawList * ) ( NativePtr ) , center , radius_x , radius_y , col , rot , num_segments , thickness ) ;
169
+ }
170
+ public void AddEllipseFilled ( Vector2 center , float radius_x , float radius_y , uint col )
171
+ {
172
+ float rot = 0.0f ;
173
+ int num_segments = 0 ;
174
+ ImGuiNative . ImDrawList_AddEllipseFilled ( ( ImDrawList * ) ( NativePtr ) , center , radius_x , radius_y , col , rot , num_segments ) ;
175
+ }
176
+ public void AddEllipseFilled ( Vector2 center , float radius_x , float radius_y , uint col , float rot )
177
+ {
178
+ int num_segments = 0 ;
179
+ ImGuiNative . ImDrawList_AddEllipseFilled ( ( ImDrawList * ) ( NativePtr ) , center , radius_x , radius_y , col , rot , num_segments ) ;
180
+ }
181
+ public void AddEllipseFilled ( Vector2 center , float radius_x , float radius_y , uint col , float rot , int num_segments )
182
+ {
183
+ ImGuiNative . ImDrawList_AddEllipseFilled ( ( ImDrawList * ) ( NativePtr ) , center , radius_x , radius_y , col , rot , num_segments ) ;
184
+ }
148
185
public void AddImage ( IntPtr user_texture_id , Vector2 p_min , Vector2 p_max )
149
186
{
150
187
Vector2 uv_min = new Vector2 ( ) ;
@@ -581,6 +618,15 @@ public void PathClear()
581
618
{
582
619
ImGuiNative . ImDrawList_PathClear ( ( ImDrawList * ) ( NativePtr ) ) ;
583
620
}
621
+ public void PathEllipticalArcTo ( Vector2 center , float radius_x , float radius_y , float rot , float a_min , float a_max )
622
+ {
623
+ int num_segments = 0 ;
624
+ ImGuiNative . ImDrawList_PathEllipticalArcTo ( ( ImDrawList * ) ( NativePtr ) , center , radius_x , radius_y , rot , a_min , a_max , num_segments ) ;
625
+ }
626
+ public void PathEllipticalArcTo ( Vector2 center , float radius_x , float radius_y , float rot , float a_min , float a_max , int num_segments )
627
+ {
628
+ ImGuiNative . ImDrawList_PathEllipticalArcTo ( ( ImDrawList * ) ( NativePtr ) , center , radius_x , radius_y , rot , a_min , a_max , num_segments ) ;
629
+ }
584
630
public void PathFillConvex ( uint col )
585
631
{
586
632
ImGuiNative . ImDrawList_PathFillConvex ( ( ImDrawList * ) ( NativePtr ) , col ) ;
0 commit comments