![]() |
Blamite Game Engine - blam!
00346.12.11.21.0529.blamite
The core library for the Blamite Game Engine.
|
Typedefs | |
using | font = io.Fonts->AddFontFromMemoryCompressedBase85TTF(compressed_data_base85, size_pixels, ...) |
Functions | |
The code in imgui cpp embeds a copy of ProggyClean ttf that you can use without any external files The files in this folder are only provided as a you can use any of your own TTF files Fonts are rasterized in a single texture at the time of calling either of io Fonts | GetTexDataAsAlpha8 ()/GetTexDataAsRGBA32()/Build(). If you want to use icons in ImGui |
io Fonts | AddFontDefault () |
io Fonts | AddFontFromFileTTF ("font.ttf", size_pixels) |
io Fonts | AddFontFromFileTTF ("font.ttf", size_pixels, &config) |
io Fonts | AddFontFromFileTTF ("DroidSans.ttf", 18.0f, &config, io.Fonts->GetGlyphRangesJapanese()) |
io Fonts | AddFontFromFileTTF ("fontawesome-webfont.ttf", 18.0f, &config, icons_ranges) |
Add a fourth parameter to bake specific font ranges io Fonts | GetGlyphRangesDefault ()) |
io Fonts | AddFontFromFileTTF ("font.ttf", size_pixels, NULL, io.Fonts->GetGlyphRangesJapanese()) |
FONT FILES INCLUDED IN THIS FOLDER Cousine Regular ttf Digitized data | copyright (c) 2010 Google Corporation. Licensed under the SIL Open Font License |
FONT FILES INCLUDED IN THIS FOLDER Cousine Regular ttf Digitized data Version DroidSans ttf | Copyright (c) Steve Matteson Apache License |
Variables | |
The code in imgui cpp embeds a copy of ProggyClean ttf that you can use without any external files The files in this folder are only provided as a | convenience |
The code in imgui cpp embeds a copy of ProggyClean ttf that you can use without any external files The files in this folder are only provided as a you can use any of your own TTF files Fonts are rasterized in a single texture at the time of calling either of io Fonts a good idea is to merge an icon font within your main and refer to icons directly in your strings You can use headers files with definitions for popular icon fonts | codepoints |
The code in imgui cpp embeds a copy of ProggyClean ttf that you can use without any external files The files in this folder are only provided as a you can use any of your own TTF files Fonts are rasterized in a single texture at the time of calling either of io Fonts a good idea is to merge an icon font within your main and refer to icons directly in your strings You can use headers files with definitions for popular icon fonts by Juliette | Foucaut |
The code in imgui cpp embeds a copy of ProggyClean ttf that you can use without any external files The files in this folder are only provided as a you can use any of your own TTF files Fonts are rasterized in a single texture at the time of calling either of io Fonts a good idea is to merge an icon font within your main and refer to icons directly in your strings You can use headers files with definitions for popular icon fonts by Juliette at | https |
Load TTF file | with |
Detailed | options |
config | OversampleH = 3 |
config | OversampleV = 1 |
config GlyphExtraSpacing | x = 1.0f |
If you have very large number of glyphs or multiple | fonts |
If you have very large number of glyphs or multiple e g config consider calculating them based on your source data if this is possible Combine two fonts into | one |
ImFontConfig | config |
config | MergeMode = true |
Add a fourth parameter to bake specific font ranges | only |
Add a fourth parameter to bake specific font ranges | size_pixels |
Add a fourth parameter to bake specific font ranges | NULL |
Offset font vertically by altering the io Font DisplayOffset | value |
font DisplayOffset | y = 1 |
FONT FILES INCLUDED IN THIS FOLDER Cousine Regular ttf Digitized data Version DroidSans ttf version | http |
FONT FILES INCLUDED IN THIS FOLDER Cousine Regular ttf Digitized data Version DroidSans ttf version Tristan Grimmer MIT License recommended loading setting in | ImGui |
FONT FILES INCLUDED IN THIS FOLDER Cousine Regular ttf Digitized data Version DroidSans ttf version Tristan Grimmer MIT License recommended loading setting in DisplayOffset | Y |
Or ImFont * font = io.Fonts->AddFontFromMemoryCompressedBase85TTF(compressed_data_base85, size_pixels, ...) |
io Fonts AddFontDefault | ( | ) |
io Fonts AddFontFromFileTTF | ( | "DroidSans.ttf" | , |
18. | 0f, | ||
& | config, | ||
io.Fonts-> | GetGlyphRangesJapanese() | ||
) |
io Fonts AddFontFromFileTTF | ( | "font.ttf" | , |
size_pixels | |||
) |
io Fonts AddFontFromFileTTF | ( | "font.ttf" | , |
size_pixels | , | ||
& | config | ||
) |
io Fonts AddFontFromFileTTF | ( | "font.ttf" | , |
size_pixels | , | ||
NULL | , | ||
io.Fonts-> | GetGlyphRangesJapanese() | ||
) |
io Fonts AddFontFromFileTTF | ( | "fontawesome-webfont.ttf" | , |
18. | 0f, | ||
& | config, | ||
icons_ranges | |||
) |
FONT FILES INCLUDED IN THIS FOLDER Cousine Regular ttf Digitized data copyright | ( | c | ) |
FONT FILES INCLUDED IN THIS FOLDER Cousine Regular ttf Digitized data Version DroidSans ttf Copyright | ( | c | ) |
Add a fourth parameter to bake specific font ranges io Fonts GetGlyphRangesDefault | ( | ) |
The code in imgui cpp embeds a copy of ProggyClean ttf that you can use without any external files The files in this folder are only provided as a you can use any of your own TTF files Fonts are rasterized in a single texture at the time of calling either of io Fonts GetTexDataAsAlpha8 | ( | ) |
The code in imgui cpp embeds a copy of ProggyClean ttf that you can use without any external files The files in this folder are only provided as a you can use any of your own TTF files Fonts are rasterized in a single texture at the time of calling either of io Fonts a good idea is to merge an icon font within your main and refer to icons directly in your strings You can use headers files with definitions for popular icon fonts codepoints |
ImFontConfig config |
The code in imgui cpp embeds a copy of ProggyClean ttf that you can use without any external files The files in this folder are only provided as a convenience |
If you have very large number of glyphs or multiple fonts |
The code in imgui cpp embeds a copy of ProggyClean ttf that you can use without any external files The files in this folder are only provided as a you can use any of your own TTF files Fonts are rasterized in a single texture at the time of calling either of io Fonts a good idea is to merge an icon font within your main and refer to icons directly in your strings You can use headers files with definitions for popular icon fonts by Juliette Foucaut |
FONT FILES INCLUDED IN THIS FOLDER Cousine Regular ttf Digitized data Version DroidSans ttf version http |
The code in imgui cpp embeds a copy of ProggyClean ttf that you can use without any external files The files in this folder are only provided as a you can use any of your own TTF files Fonts are rasterized in a single texture at the time of calling either of io Fonts a good idea is to merge an icon font within your main and refer to icons directly in your strings You can use headers files with definitions for popular icon fonts by Juliette at https |
FONT FILES INCLUDED IN THIS FOLDER Cousine Regular ttf Digitized data Version DroidSans ttf version Tristan Grimmer MIT License recommended loading setting in DisplayOffset Tristan Grimmer MIT License recommended loading setting in ImGui |
config MergeMode = true |
Add a fourth parameter to bake specific font ranges NULL |
If you have very large number of glyphs or multiple e g config consider calculating them based on your source data if this is possible Combine two fonts into one |
Add a fourth parameter to bake specific font ranges only |
Detailed options |
If you have very large number of glyphs or multiple e g config OversampleH = 3 |
config OversampleV = 1 |
Offset font vertically by altering the io Font DisplayOffset size_pixels |
Offset font vertically by altering the io Font DisplayOffset value |
Load TTF file with |
config GlyphExtraSpacing x = 1.0f |
font DisplayOffset y = 1 |