Enum egui_fltk_frontend::DpiScaling[][src]

pub enum DpiScaling {
    Default,
    Custom(f32),
}
Expand description

The scaling factors of the app

Variants

Default

Default DPI Scale by fltk, usually 1.0

Custom(f32)

Tuple Fields

0: f32

Custome DPI scaling, e.g: 0.8, 1.5, 2.0 and so fort.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.