[−][src]Struct imgui::FontConfig
Configuration settings for a font
Fields
size_pixels: f32
Size in pixels for the rasterizer
oversample_h: i32
Horizontal oversampling
oversample_v: i32
Vertical oversampling
pixel_snap_h: bool
Align every glyph to pixel boundary
glyph_extra_spacing: [f32; 2]
Extra spacing (in pixels) between glyphs
glyph_offset: [f32; 2]
Offset for all glyphs in this font
glyph_ranges: FontGlyphRanges
Unicode ranges to use from this font
glyph_min_advance_x: f32
Minimum advance_x for glyphs
glyph_max_advance_x: f32
Maximum advance_x for glyphs
rasterizer_flags: u32
Settings for a custom font rasterizer if used
rasterizer_multiply: f32
Brighten (>1.0) or darken (<1.0) font output
name: Option<String>
Trait Implementations
impl Clone for FontConfig
[src]
fn clone(&self) -> FontConfig
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for FontConfig
[src]
impl Default for FontConfig
[src]
fn default() -> FontConfig
[src]
Auto Trait Implementations
impl RefUnwindSafe for FontConfig
impl !Send for FontConfig
impl !Sync for FontConfig
impl Unpin for FontConfig
impl UnwindSafe for FontConfig
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,