Struct aflak_imgui::ImFontAtlas[][src]

#[repr(C)]
pub struct ImFontAtlas<'a> { /* fields omitted */ }

A handle to imgui's font manager.

Methods

impl<'a> ImFontAtlas<'a>
[src]

Adds the default font to the font set.

Adds the default fnt to the font set with the given configuration.

Adds a custom font to the font set.

Adds a custom font to the font set with the given configuration. A font size must be set in the configuration.

Panics

If no font size is set for the configuration.

The number of fonts currently registered in the atlas.

Gets a font from the atlas.

Panics

Panics if the index is out of range.

Clears all fonts associated with this texture atlas.

Trait Implementations

impl<'a> ImTexture for ImFontAtlas<'a>
[src]

To use font texture

Query texture size, in pixels (for convenience)

Auto Trait Implementations

impl<'a> !Send for ImFontAtlas<'a>

impl<'a> !Sync for ImFontAtlas<'a>