diff --git a/imgui-binding/src/main/java/imgui/ImFontConfig.java b/imgui-binding/src/main/java/imgui/ImFontConfig.java index 305c51b..7d90d00 100644 --- a/imgui-binding/src/main/java/imgui/ImFontConfig.java +++ b/imgui-binding/src/main/java/imgui/ImFontConfig.java @@ -181,6 +181,20 @@ public final class ImFontConfig implements ImGuiDestroyableStruct { Jni::ImVec2Cpy(env, &IM_FONT_CONFIG->GlyphExtraSpacing, dstImVec2); */ + /** + * Extra spacing (in pixels) between glyphs. Only X axis is supported for now. + */ + public native float getGlyphExtraSpacingX(); /* + return IM_FONT_CONFIG->GlyphExtraSpacing.x; + */ + + /** + * Extra spacing (in pixels) between glyphs. Only X axis is supported for now. + */ + public native float getGlyphExtraSpacingY(); /* + return IM_FONT_CONFIG->GlyphExtraSpacing.y; + */ + /** * Extra spacing (in pixels) between glyphs. Only X axis is supported for now. */ @@ -196,6 +210,20 @@ public final class ImFontConfig implements ImGuiDestroyableStruct { Jni::ImVec2Cpy(env, &IM_FONT_CONFIG->GlyphOffset, dstImVec2); */ + /** + * Offset all glyphs from this font input. + */ + public native float getGlyphOffsetX(); /* + return IM_FONT_CONFIG->GlyphOffset.x; + */ + + /** + * Offset all glyphs from this font input. + */ + public native float getGlyphOffsetY(); /* + return IM_FONT_CONFIG->GlyphOffset.y; + */ + /** * Offset all glyphs from this font input. */