We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6d7fa35 commit cf70360Copy full SHA for cf70360
imgui.h
@@ -3535,6 +3535,14 @@ struct ImFontGlyph
3535
float AdvanceX; // Distance to next character (= data from font + ImFontConfig::GlyphExtraSpacing.x baked in)
3536
float X0, Y0, X1, Y1; // Glyph corners
3537
float U0, V0, U1, V1; // Texture coordinates
3538
+
3539
+#ifdef IMGUI_BUNDLE_PYTHON_API
3540
+ // [ADAPT_IMGUI_BUNDLE]
3541
+ bool isColored() const { return Colored != 0; }
3542
+ bool isVisible() const { return Visible != 0; }
3543
+ unsigned int getCodepoint() const { return Codepoint; }
3544
+ // [/ADAPT_IMGUI_BUNDLE]
3545
+#endif // IMGUI_BUNDLE_PYTHON_API
3546
};
3547
3548
// Helper to build glyph ranges from text/string data. Feed your application strings/characters to it then call BuildRanges().
0 commit comments