MCPcopy Create free account
hub / github.com/KebsCS/KBotExt / GetCustomRectByIndex

Method GetCustomRectByIndex

KBotExt/imgui/imgui.h:2926–2926  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2924 IMGUI_API int AddCustomRectRegular(int width, int height);
2925 IMGUI_API int AddCustomRectFontGlyph(ImFont* font, ImWchar id, int width, int height, float advance_x, const ImVec2& offset = ImVec2(0, 0));
2926 ImFontAtlasCustomRect* GetCustomRectByIndex(int index) { IM_ASSERT(index >= 0); return &CustomRects[index]; }
2927
2928 // [Internal]
2929 IMGUI_API void CalcCustomRectUV(const ImFontAtlasCustomRect* rect, ImVec2* out_uv_min, ImVec2* out_uv_max) const;

Calls

no outgoing calls

Tested by

no test coverage detected