Example #1
0
 public unsafe void AddImageRounded(
     IntPtr userTextureID,
     Vector2 a,
     Vector2 b,
     Vector2 uvA,
     Vector2 uvB,
     uint color,
     float rounding,
     int roundingCorners)
 {
     ImGuiNative.ImDrawList_AddImageRounded(
         _nativeDrawList,
         userTextureID.ToPointer(),
         a,
         b,
         uvA,
         uvB,
         color,
         rounding,
         roundingCorners);
 }
Example #2
0
 public static unsafe void AddDrawListImageRounded(ImDrawList *list, Texture texture, Vector2 a, Vector2 b, Vector2 uv_a, Vector2 uv_b, uint col, float rounding, int rounding_corners)
 {
     AddTexture(texture);
     ImGuiNative.ImDrawList_AddImageRounded(list, texture.GetNativeTexturePtr(), a, b, uv_a, uv_b, col, rounding, rounding_corners);
 }