File tree Expand file tree Collapse file tree 1 file changed +28
-0
lines changed
imgui-binding/src/main/java/imgui Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change @@ -181,6 +181,20 @@ public void destroy() {
181
181
Jni::ImVec2Cpy(env, &IM_FONT_CONFIG->GlyphExtraSpacing, dstImVec2);
182
182
*/
183
183
184
+ /**
185
+ * Extra spacing (in pixels) between glyphs. Only X axis is supported for now.
186
+ */
187
+ public native float getGlyphExtraSpacingX (); /*
188
+ return IM_FONT_CONFIG->GlyphExtraSpacing.x;
189
+ */
190
+
191
+ /**
192
+ * Extra spacing (in pixels) between glyphs. Only X axis is supported for now.
193
+ */
194
+ public native float getGlyphExtraSpacingY (); /*
195
+ return IM_FONT_CONFIG->GlyphExtraSpacing.y;
196
+ */
197
+
184
198
/**
185
199
* Extra spacing (in pixels) between glyphs. Only X axis is supported for now.
186
200
*/
@@ -196,6 +210,20 @@ public void destroy() {
196
210
Jni::ImVec2Cpy(env, &IM_FONT_CONFIG->GlyphOffset, dstImVec2);
197
211
*/
198
212
213
+ /**
214
+ * Offset all glyphs from this font input.
215
+ */
216
+ public native float getGlyphOffsetX (); /*
217
+ return IM_FONT_CONFIG->GlyphOffset.x;
218
+ */
219
+
220
+ /**
221
+ * Offset all glyphs from this font input.
222
+ */
223
+ public native float getGlyphOffsetY (); /*
224
+ return IM_FONT_CONFIG->GlyphOffset.y;
225
+ */
226
+
199
227
/**
200
228
* Offset all glyphs from this font input.
201
229
*/
You can’t perform that action at this time.
0 commit comments