FIXME: May make ImFont::Sources a ImSpan<> and move ownership to ImFontAtlas
| 3438 | |
| 3439 | // FIXME: May make ImFont::Sources a ImSpan<> and move ownership to ImFontAtlas |
| 3440 | void ImFontAtlasBuildUpdatePointers(ImFontAtlas* atlas) |
| 3441 | { |
| 3442 | for (ImFont* font : atlas->Fonts) |
| 3443 | font->Sources.resize(0); |
| 3444 | for (ImFontConfig& src : atlas->Sources) |
| 3445 | src.DstFont->Sources.push_back(&src); |
| 3446 | } |
| 3447 | |
| 3448 | // Render a white-colored bitmap encoded in a string |
| 3449 | void ImFontAtlasBuildRenderBitmapFromString(ImFontAtlas* atlas, int x, int y, int w, int h, const char* in_str, char in_marker_char) |
no test coverage detected