add("texture", &Loader::texture);
add("texture", &Loader::texture_ref);
add("glyph", &Loader::glyph);
-
- // Deprecated aliases
- add("default_size", &Font::native_size);
- add("texture_inline", &Loader::texture);
}
void Font::Loader::glyph(unsigned c)
const Texture2D &get_texture() const;
void add_glyph(unsigned, float, float, float, float, float, float, float, float, float);
float get_native_size() const { return native_size; }
- float get_default_size() const { return native_size; } // Deprecated
float get_ascent() const { return ascent; }
float get_descent() const { return descent; }