1
0
mirror of https://github.com/emilk/egui.git synced 2026-08-31 05:40:03 -04:00

Allow resizing fonts at runtime

This commit is contained in:
Emil Ernerfeldt
2019-01-17 11:03:39 -06:00
parent fe3542a28d
commit 88fdd127ea
9 changed files with 156 additions and 57 deletions

View File

@@ -1,6 +1,7 @@
use crate::{
fonts::TextStyle,
math::{Rect, Vec2},
mesher::Frame,
};
// ----------------------------------------------------------------------------
@@ -152,6 +153,7 @@ pub enum PaintCmd {
outline: Option<Outline>,
radius: f32,
},
Frame(Frame),
Line {
points: Vec<Vec2>,
color: Color,