rhwp 0.9.1

HWP/HWPX document engine for Rust applications, WebAssembly, and CLI automation
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
/// The MetafileVersion Enumeration defines values that specify support for
/// device-independent bitmaps (DIBs) in metafiles.
#[derive(Clone, Copy, Debug, Eq, Ord, PartialEq, PartialOrd, strum::FromRepr, strum::EnumIter)]
#[repr(u16)]
pub enum MetafileVersion {
    /// DIBs are not supported.
    METAVERSION100 = 0x0100,
    /// DIBs are supported.
    METAVERSION300 = 0x0300,
}

crate::wmf::parser::constants::impl_parser!(MetafileVersion, u16);