[][src]Struct makepad_render::CxFontsAtlas

pub struct CxFontsAtlas {
    pub texture_id: usize,
    pub texture_size: Vec2,
    pub clear_buffer: bool,
    pub alloc_xpos: f32,
    pub alloc_ypos: f32,
    pub alloc_hmax: f32,
    pub atlas_todo: Vec<CxFontsAtlasTodo>,
}

Fields

texture_id: usizetexture_size: Vec2clear_buffer: boolalloc_xpos: f32alloc_ypos: f32alloc_hmax: f32atlas_todo: Vec<CxFontsAtlasTodo>

Methods

impl CxFontsAtlas[src]

pub fn alloc_atlas_glyph(
    &mut self,
    path: &str,
    w: f32,
    h: f32
) -> CxFontAtlasGlyph
[src]

Trait Implementations

impl Default for CxFontsAtlas[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = !

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]