MCPcopy Create free account
hub / github.com/SFML/imgui-sfml / DrawRectFilled

Function DrawRectFilled

imgui-SFML.cpp:880–888  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

878}
879
880void DrawRectFilled(const sf::FloatRect& rect, const sf::Color& color, float rounding, int rounding_corners)
881{
882 ImDrawList* draw_list = ImGui::GetWindowDrawList();
883 draw_list->AddRectFilled(getTopLeftAbsolute(rect),
884 getDownRightAbsolute(rect),
885 ColorConvertFloat4ToU32(toImColor(color)),
886 rounding,
887 rounding_corners);
888}
889
890} // end of namespace ImGui
891

Callers

nothing calls this directly

Calls 3

getTopLeftAbsoluteFunction · 0.85
getDownRightAbsoluteFunction · 0.85
toImColorFunction · 0.85

Tested by

no test coverage detected