Ejemplo n.º 1
0
 public void DrawFrame(Vector2N p1, Vector2N p2, Color color, float rounding, int thickness, int flags) =>
 ImGuiRender.LowLevelApi.AddRect(p1, p2, color.ToImgui(), rounding, flags, thickness);
Ejemplo n.º 2
0
 public void DrawBox(Vector2N p1, Vector2N p2, Color color, float rounding = 0) =>
 ImGuiRender.LowLevelApi.AddRectFilled(p1, p2, color.ToImgui(), rounding);
Ejemplo n.º 3
0
 public void DrawLine(Vector2 p1, Vector2 p2, float borderWidth, Color color) =>
 ImGuiRender.LowLevelApi.AddLine(p1.ToVector2Num(), p2.ToVector2Num(), color.ToImgui(), borderWidth);