//
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
namespace Brutal.ImGuiApi
{
public partial class ImGui
{
public unsafe partial class PInvoke
{
///
///
/// C++:
/// imgui.h:3944
/// ,
/// imgui_draw.cpp:5250
///
bool IsGlyphInFont(ImWchar c)
///
///
///
///
/// Methods
///
///
/// This is not fast query
///
///
[LibraryImport("imgui")]
public static unsafe partial Bool8 ImFont_IsGlyphInFont(ImFont* target, uint c);
///
///
/// C++:
/// imgui.h:3945
///
bool IsLoaded() const
///
///
///
///
/// Methods
///
///
[LibraryImport("imgui")]
public static unsafe partial Bool8 ImFont_IsLoaded(ImFont* target);
///
///
/// Fill ImFontConfig::Name.
///
///
/// C++:
/// imgui.h:3946
///
const char* GetDebugName() const
///
///
///
///
/// Methods
///
///
[LibraryImport("imgui")]
public static unsafe partial byte* ImFont_GetDebugName(ImFont* target);
///
///
/// Get or create baked data for given size
///
///
/// C++:
/// imgui.h:3951
/// ,
/// imgui_draw.cpp:5288
///
ImFontBaked* GetFontBaked(float font_size, float density = -1.0f)
///
///
///
///
/// [Internal] Don't use!
/// 'max_width' stops rendering after a certain width (could be turned into a 2d size). FLT_MAX to disable.
/// 'wrap_width' enable automatic word-wrapping across multiple lines to fit into given width. 0.0f to disable.
///
///
/// ImFontBaked pointers are valid for the entire frame but shall never be kept between frames.
///
///
[LibraryImport("imgui")]
public static unsafe partial ImFontBaked* ImFont_GetFontBaked(
ImFont* target,
float font_size,
float density
);
///
///
/// utf8
///
///
/// C++:
/// imgui.h:3952
/// ,
/// imgui_draw.cpp:5465
///
/// ImVec2 CalcTextSizeA(float size, float max_width, float wrap_width, const char* text_begin, const char* text_end = NULL, const char** remaining = NULL)
///
///
///
///
/// [Internal] Don't use!
/// 'max_width' stops rendering after a certain width (could be turned into a 2d size). FLT_MAX to disable.
/// 'wrap_width' enable automatic word-wrapping across multiple lines to fit into given width. 0.0f to disable.
///
///
[LibraryImport("imgui")]
public static unsafe partial float2 ImFont_CalcTextSizeA(
ImFont* target,
float size,
float max_width,
float wrap_width,
byte* text_begin,
byte* text_end,
byte** remaining
);
///
///
/// C++:
/// imgui.h:3953
/// ,
/// imgui_draw.cpp:5359
///
/// const char* CalcWordWrapPosition(float size, const char* text, const char* text_end, float wrap_width)
///
///
///
///
/// [Internal] Don't use!
/// 'max_width' stops rendering after a certain width (could be turned into a 2d size). FLT_MAX to disable.
/// 'wrap_width' enable automatic word-wrapping across multiple lines to fit into given width. 0.0f to disable.
///
///
/// Simple word-wrapping for English, not full-featured. Please submit failing cases!
/// This will return the next location to wrap from. If no wrapping if necessary, this will fast-forward to e.g. text_end.
/// FIXME: Much possible improvements (don't cut things like "word !", "word!!!" but cut within "word,,,,", more sensible support for punctuations, support for Unicode punctuations, etc.)
///
///
[LibraryImport("imgui")]
public static unsafe partial byte* ImFont_CalcWordWrapPosition(
ImFont* target,
float size,
byte* text,
byte* text_end,
float wrap_width
);
///
///
/// C++:
/// imgui.h:3954
/// ,
/// imgui_draw.cpp:5550
///
/// void RenderChar(ImDrawList* draw_list, float size, const ImVec2& pos, ImU32 col, ImWchar c, const ImVec4* cpu_fine_clip = NULL)
///
///
///
///
/// [Internal] Don't use!
/// 'max_width' stops rendering after a certain width (could be turned into a 2d size). FLT_MAX to disable.
/// 'wrap_width' enable automatic word-wrapping across multiple lines to fit into given width. 0.0f to disable.
///
///
/// Note: as with every ImDrawList drawing function, this expects that the font atlas texture is bound.
///
///
[LibraryImport("imgui")]
public static unsafe partial void ImFont_RenderChar(
ImFont* target,
ImDrawList* draw_list,
float size,
float2* pos,
uint col,
uint c,
float4* cpu_fine_clip
);
///
///
/// C++:
/// imgui.h:3955
/// ,
/// imgui_draw.cpp:5589
///
/// void RenderText(ImDrawList* draw_list, float size, const ImVec2& pos, ImU32 col, const ImVec4& clip_rect, const char* text_begin, const char* text_end, float wrap_width = 0.0f, bool cpu_fine_clip = false)
///
///
///
///
/// [Internal] Don't use!
/// 'max_width' stops rendering after a certain width (could be turned into a 2d size). FLT_MAX to disable.
/// 'wrap_width' enable automatic word-wrapping across multiple lines to fit into given width. 0.0f to disable.
///
///
/// Note: as with every ImDrawList drawing function, this expects that the font atlas texture is bound.
///
///
[LibraryImport("imgui")]
public static unsafe partial void ImFont_RenderText(
ImFont* target,
ImDrawList* draw_list,
float size,
float2* pos,
uint col,
float4* clip_rect,
byte* text_begin,
byte* text_end,
float wrap_width,
Bool8 cpu_fine_clip
);
///
///
/// C++:
/// imgui.h:3961
/// ,
/// imgui_draw.cpp:5087
///
void ClearOutputData()
///
///
///
///
/// [Internal] Don't use!
///
///
[LibraryImport("imgui")]
public static unsafe partial void ImFont_ClearOutputData(ImFont* target);
///
///
/// Makes 'from_codepoint' character points to 'to_codepoint' glyph.
///
///
/// C++:
/// imgui.h:3962
/// ,
/// imgui_draw.cpp:5199
///
void AddRemapChar(ImWchar from_codepoint, ImWchar to_codepoint)
///
///
///
///
/// [Internal] Don't use!
///
///
[LibraryImport("imgui")]
public static unsafe partial void ImFont_AddRemapChar(
ImFont* target,
uint from_codepoint,
uint to_codepoint
);
///
///
/// C++:
/// imgui.h:3963
/// ,
/// imgui_draw.cpp:5098
///
bool IsGlyphRangeUnused(unsigned int c_begin, unsigned int c_last)
///
///
///
///
/// [Internal] Don't use!
///
///
/// API is designed this way to avoid exposing the 8K page size
/// e.g. use with IsGlyphRangeUnused(0, 255)
///
///
[LibraryImport("imgui")]
public static unsafe partial Bool8 ImFont_IsGlyphRangeUnused(ImFont* target, uint c_begin, uint c_last);
}
}
}