Class: ImFontAtlas

Inherits:
FFI::Struct
  • Object
show all
Defined in:
lib/imgui.rb

Instance Method Summary collapse

Instance Method Details

#AddCustomRect(width, height, out_r = nil) ⇒ Object



2034
2035
2036
# File 'lib/imgui.rb', line 2034

def AddCustomRect(width, height, out_r = nil)
  ImGui::ImFontAtlas_AddCustomRect(self, width, height, out_r)
end

#AddCustomRectFontGlyph(font, codepoint, w, h, advance_x, offset = ImVec2.create(0,0)) ⇒ Object



2058
2059
2060
# File 'lib/imgui.rb', line 2058

def AddCustomRectFontGlyph(font, codepoint, w, h, advance_x, offset = ImVec2.create(0,0))
  ImGui::ImFontAtlas_AddCustomRectFontGlyph(self, font, codepoint, w, h, advance_x, offset)
end

#AddCustomRectFontGlyphForSize(font, font_size, codepoint, w, h, advance_x, offset = ImVec2.create(0,0)) ⇒ Object



2062
2063
2064
# File 'lib/imgui.rb', line 2062

def AddCustomRectFontGlyphForSize(font, font_size, codepoint, w, h, advance_x, offset = ImVec2.create(0,0))
  ImGui::ImFontAtlas_AddCustomRectFontGlyphForSize(self, font, font_size, codepoint, w, h, advance_x, offset)
end

#AddCustomRectRegular(w, h) ⇒ Object



2046
2047
2048
# File 'lib/imgui.rb', line 2046

def AddCustomRectRegular(w, h)
  ImGui::ImFontAtlas_AddCustomRectRegular(self, w, h)
end

#AddFont(font_cfg) ⇒ Object



1914
1915
1916
# File 'lib/imgui.rb', line 1914

def AddFont(font_cfg)
  ImGui::ImFontAtlas_AddFont(self, font_cfg)
end

#AddFontDefault(font_cfg = nil) ⇒ Object



1918
1919
1920
# File 'lib/imgui.rb', line 1918

def AddFontDefault(font_cfg = nil)
  ImGui::ImFontAtlas_AddFontDefault(self, font_cfg)
end

#AddFontDefaultBitmap(font_cfg = nil) ⇒ Object



1926
1927
1928
# File 'lib/imgui.rb', line 1926

def AddFontDefaultBitmap(font_cfg = nil)
  ImGui::ImFontAtlas_AddFontDefaultBitmap(self, font_cfg)
end

#AddFontDefaultVector(font_cfg = nil) ⇒ Object



1922
1923
1924
# File 'lib/imgui.rb', line 1922

def AddFontDefaultVector(font_cfg = nil)
  ImGui::ImFontAtlas_AddFontDefaultVector(self, font_cfg)
end

#AddFontFromFileTTF(filename, size_pixels = 0.0, font_cfg = nil, glyph_ranges = nil) ⇒ Object



1930
1931
1932
# File 'lib/imgui.rb', line 1930

def AddFontFromFileTTF(filename, size_pixels = 0.0, font_cfg = nil, glyph_ranges = nil)
  ImGui::ImFontAtlas_AddFontFromFileTTF(self, filename, size_pixels, font_cfg, glyph_ranges)
end

#AddFontFromMemoryCompressedBase85TTF(compressed_font_data_base85, size_pixels = 0.0, font_cfg = nil, glyph_ranges = nil) ⇒ Object



1942
1943
1944
# File 'lib/imgui.rb', line 1942

def AddFontFromMemoryCompressedBase85TTF(compressed_font_data_base85, size_pixels = 0.0, font_cfg = nil, glyph_ranges = nil)
  ImGui::ImFontAtlas_AddFontFromMemoryCompressedBase85TTF(self, compressed_font_data_base85, size_pixels, font_cfg, glyph_ranges)
end

#AddFontFromMemoryCompressedTTF(compressed_font_data, compressed_font_data_size, size_pixels = 0.0, font_cfg = nil, glyph_ranges = nil) ⇒ Object



1938
1939
1940
# File 'lib/imgui.rb', line 1938

def AddFontFromMemoryCompressedTTF(compressed_font_data, compressed_font_data_size, size_pixels = 0.0, font_cfg = nil, glyph_ranges = nil)
  ImGui::ImFontAtlas_AddFontFromMemoryCompressedTTF(self, compressed_font_data, compressed_font_data_size, size_pixels, font_cfg, glyph_ranges)
end

#AddFontFromMemoryTTF(font_data, font_data_size, size_pixels = 0.0, font_cfg = nil, glyph_ranges = nil) ⇒ Object



1934
1935
1936
# File 'lib/imgui.rb', line 1934

def AddFontFromMemoryTTF(font_data, font_data_size, size_pixels = 0.0, font_cfg = nil, glyph_ranges = nil)
  ImGui::ImFontAtlas_AddFontFromMemoryTTF(self, font_data, font_data_size, size_pixels, font_cfg, glyph_ranges)
end

#BuildObject



1974
1975
1976
# File 'lib/imgui.rb', line 1974

def Build()
  ImGui::ImFontAtlas_Build(self)
end

#CalcCustomRectUV(r, out_uv_min, out_uv_max) ⇒ Object



2054
2055
2056
# File 'lib/imgui.rb', line 2054

def CalcCustomRectUV(r, out_uv_min, out_uv_max)
  ImGui::ImFontAtlas_CalcCustomRectUV(self, r, out_uv_min, out_uv_max)
end

#ClearObject



1950
1951
1952
# File 'lib/imgui.rb', line 1950

def Clear()
  ImGui::ImFontAtlas_Clear(self)
end

#ClearFontsObject



1954
1955
1956
# File 'lib/imgui.rb', line 1954

def ClearFonts()
  ImGui::ImFontAtlas_ClearFonts(self)
end

#ClearInputDataObject



1966
1967
1968
# File 'lib/imgui.rb', line 1966

def ClearInputData()
  ImGui::ImFontAtlas_ClearInputData(self)
end

#ClearTexDataObject



1970
1971
1972
# File 'lib/imgui.rb', line 1970

def ClearTexData()
  ImGui::ImFontAtlas_ClearTexData(self)
end

#CompactCacheObject



1958
1959
1960
# File 'lib/imgui.rb', line 1958

def CompactCache()
  ImGui::ImFontAtlas_CompactCache(self)
end

#GetCustomRect(id, out_r) ⇒ Object



2042
2043
2044
# File 'lib/imgui.rb', line 2042

def GetCustomRect(id, out_r)
  ImGui::ImFontAtlas_GetCustomRect(self, id, out_r)
end

#GetCustomRectByIndex(id) ⇒ Object



2050
2051
2052
# File 'lib/imgui.rb', line 2050

def GetCustomRectByIndex(id)
  ImGui::ImFontAtlas_GetCustomRectByIndex(self, id)
end

#GetGlyphRangesChineseFullObject



2014
2015
2016
# File 'lib/imgui.rb', line 2014

def GetGlyphRangesChineseFull()
  ImGui::ImFontAtlas_GetGlyphRangesChineseFull(self)
end

#GetGlyphRangesChineseSimplifiedCommonObject



2018
2019
2020
# File 'lib/imgui.rb', line 2018

def GetGlyphRangesChineseSimplifiedCommon()
  ImGui::ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon(self)
end

#GetGlyphRangesCyrillicObject



2022
2023
2024
# File 'lib/imgui.rb', line 2022

def GetGlyphRangesCyrillic()
  ImGui::ImFontAtlas_GetGlyphRangesCyrillic(self)
end

#GetGlyphRangesDefaultObject



1998
1999
2000
# File 'lib/imgui.rb', line 1998

def GetGlyphRangesDefault()
  ImGui::ImFontAtlas_GetGlyphRangesDefault(self)
end

#GetGlyphRangesGreekObject



2002
2003
2004
# File 'lib/imgui.rb', line 2002

def GetGlyphRangesGreek()
  ImGui::ImFontAtlas_GetGlyphRangesGreek(self)
end

#GetGlyphRangesJapaneseObject



2010
2011
2012
# File 'lib/imgui.rb', line 2010

def GetGlyphRangesJapanese()
  ImGui::ImFontAtlas_GetGlyphRangesJapanese(self)
end

#GetGlyphRangesKoreanObject



2006
2007
2008
# File 'lib/imgui.rb', line 2006

def GetGlyphRangesKorean()
  ImGui::ImFontAtlas_GetGlyphRangesKorean(self)
end

#GetGlyphRangesThaiObject



2026
2027
2028
# File 'lib/imgui.rb', line 2026

def GetGlyphRangesThai()
  ImGui::ImFontAtlas_GetGlyphRangesThai(self)
end

#GetGlyphRangesVietnameseObject



2030
2031
2032
# File 'lib/imgui.rb', line 2030

def GetGlyphRangesVietnamese()
  ImGui::ImFontAtlas_GetGlyphRangesVietnamese(self)
end

#GetTexDataAsAlpha8(out_pixels, out_width, out_height, out_bytes_per_pixel = nil) ⇒ Object



1978
1979
1980
# File 'lib/imgui.rb', line 1978

def GetTexDataAsAlpha8(out_pixels, out_width, out_height, out_bytes_per_pixel = nil)
  ImGui::ImFontAtlas_GetTexDataAsAlpha8(self, out_pixels, out_width, out_height, out_bytes_per_pixel)
end

#GetTexDataAsRGBA32(out_pixels, out_width, out_height, out_bytes_per_pixel = nil) ⇒ Object



1982
1983
1984
# File 'lib/imgui.rb', line 1982

def GetTexDataAsRGBA32(out_pixels, out_width, out_height, out_bytes_per_pixel = nil)
  ImGui::ImFontAtlas_GetTexDataAsRGBA32(self, out_pixels, out_width, out_height, out_bytes_per_pixel)
end

#IsBuiltObject



1994
1995
1996
# File 'lib/imgui.rb', line 1994

def IsBuilt()
  ImGui::ImFontAtlas_IsBuilt(self)
end

#RemoveCustomRect(id) ⇒ Object



2038
2039
2040
# File 'lib/imgui.rb', line 2038

def RemoveCustomRect(id)
  ImGui::ImFontAtlas_RemoveCustomRect(self, id)
end

#RemoveFont(font) ⇒ Object



1946
1947
1948
# File 'lib/imgui.rb', line 1946

def RemoveFont(font)
  ImGui::ImFontAtlas_RemoveFont(self, font)
end

#SetFontLoader(font_loader) ⇒ Object



1962
1963
1964
# File 'lib/imgui.rb', line 1962

def SetFontLoader(font_loader)
  ImGui::ImFontAtlas_SetFontLoader(self, font_loader)
end

#SetTexID(id) ⇒ Object



1986
1987
1988
# File 'lib/imgui.rb', line 1986

def SetTexID(id)
  ImGui::ImFontAtlas_SetTexID(self, id)
end

#SetTexIDImTextureRef(id) ⇒ Object



1990
1991
1992
# File 'lib/imgui.rb', line 1990

def SetTexIDImTextureRef(id)
  ImGui::ImFontAtlas_SetTexIDImTextureRef(self, id)
end