Function raylib::core::text::gen_image_font_atlas[][src]

pub fn gen_image_font_atlas(
    _: &RaylibThread,
    chars: &mut [CharInfo],
    font_size: i32,
    padding: i32,
    pack_method: i32
) -> (Image, Vec<Rectangle>)
Expand description

Generates image font atlas using chars info. Sets a pointer to an array of rectangles raylib allocated that MUST manually be freed. Good luck freeing it safely though ;)