FontPatchable

Trait FontPatchable 

Source
pub trait FontPatchable {
    // Required method
    fn patch_font(&mut self, font: &Font, size_in_pixels: f32);
}
Expand description

The implementor allows its default font to be replaced.

Required Methods§

Source

fn patch_font(&mut self, font: &Font, size_in_pixels: f32)

Sets the passed font as default.

Implementations on Foreign Types§

Source§

impl FontPatchable for Context

Source§

fn patch_font(&mut self, font: &Font, size_in_pixels: f32)

Implementors§