Skip to main content

write_color

Function write_color 

Source
pub fn write_color<W>(
    writer: &mut Writer<W>,
    color: &Color,
) -> Result<(), Error>
where W: Write,
Expand description

Writes EG_ColorChoice — a single <a:srgbClr../>, <a:scrgbClr../>, <a:hslClr../>, <a:sysClr../>, or <a:prstClr../> element, with no wrapping element of its own (the caller — <a:solidFill>, <a:fgClr>, <a:gs>. — provides that).