1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
crate::macros::easy_enum! {vector-effect none non-scaling-stroke non-scaling-size non-rotation fixed-position}
crate::macros::easy_enum! {dominant-baseline auto text-bottom alphabetic ideographic middle central mathematical hanging text-top}
crate::macros::easy_enum! {alignment-baseline auto baseline before-edge text-before-edge middle central after-edge text-after-edge ideographic alphabetic hanging mathematical top center bottom}
crate::macros::easy_enum! {text-anchor start middle end}
crate::macros::easy_color! {fill}
crate::macros::easy_color! {stroke}
crate::macros::unit_value_macro! {stroke_width StrokeWidth}

#[test]
fn svg_test() {
	assert_eq!(vector_effect!(non-scaling-stroke), crate::Property::VectorEffect(crate::VectorEffect::NonScalingStroke));
}