use bitflags::bitflags;
use crate::Float;
bitflags! {
#[derive(Clone, Copy, Default, Debug, PartialEq)]
pub struct FontStyle: u32 {
const Normal = 0;
const Italic = 1;
const Underline = 2;
const Strikethrough = 4;
}
}
#[derive(Clone, Copy, Debug, PartialEq, PartialOrd)]
pub enum FontWeight {
Thin = 100,
ExtraLight = 200,
Light = 300,
Normal = 400,
Medium = 500,
SemiBold = 600,
Bold = 700,
ExtraBold = 800,
Black = 900,
ExtraBlack = 950,
}
pub const DEFAULT_FONT_FAMILY: &str = "arial";
pub const DEFAULT_FONT_SIZE: Float = 12.0;