Struct font_atlas::CharInfo
[−]
[src]
pub struct CharInfo {
pub image_position: (u32, u32),
pub image_size: (u32, u32),
pub advance: (i32, i32),
pub pixel_offset: (i32, i32),
}Placement information about a specific character.
Fields
image_position | The position in the image of the char |
image_size | The (width, height) of the rendered character in the image |
advance | The number of pixels (x, y) that are advanced after this character is drawn. |
pixel_offset | The distance that the pen should move before printing the character. |