#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
#[repr(i32)]
#[allow(nonstandard_style)]
pub enum cdrOutlineLineCaps {
UndefinedLineCaps = -1,
Flat = 0,
Round = 1,
Square = 2,
}
impl cdrOutlineLineCaps {
pub fn from_i32(v: i32) -> Option<Self> {
match v {
-1 => Some(Self::UndefinedLineCaps),
0 => Some(Self::Flat),
1 => Some(Self::Round),
2 => Some(Self::Square),
_ => None,
}
}
}
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
#[repr(i32)]
#[allow(nonstandard_style)]
pub enum cdrOutlineLineJoin {
UndefinedLineJoin = -1,
Miter = 0,
Round = 1,
Bevel = 2,
}
impl cdrOutlineLineJoin {
pub fn from_i32(v: i32) -> Option<Self> {
match v {
-1 => Some(Self::UndefinedLineJoin),
0 => Some(Self::Miter),
1 => Some(Self::Round),
2 => Some(Self::Bevel),
_ => None,
}
}
}
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
#[repr(i32)]
#[allow(nonstandard_style)]
pub enum cdrOutlineJustification {
Middle = 0,
Inside = 1,
Outside = 2,
}
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
#[repr(i32)]
#[allow(nonstandard_style)]
pub enum cdrOutlineDashAdjust {
OutlineDashAdjustUndefined = -1,
OutlineDashAdjustNone = 0,
OutlineDashAdjustFullLineScale = 1,
OutlineDashAdjustEvenCorner = 2,
}
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
#[repr(i32)]
#[allow(nonstandard_style)]
pub enum cdrArrowHeadType {
None = 0,
}