GlyphRanges.go 444 B

123456789101112131415
  1. package imgui
  2. // #include "imguiWrapperTypes.h"
  3. import "C"
  4. // GlyphRanges describes a list of Unicode ranges; 2 value per range, values are inclusive.
  5. // Standard ranges can be queried from FontAtlas.GlyphRanges*() functions.
  6. type GlyphRanges uintptr
  7. // EmptyGlyphRanges is one that does not contain any ranges.
  8. const EmptyGlyphRanges GlyphRanges = 0
  9. func (glyphs GlyphRanges) handle() C.IggGlyphRanges {
  10. return C.IggGlyphRanges(glyphs)
  11. }