forked from katzen-cafe/iowo
svg-filters: blend node
This commit is contained in:
parent
f59062cf88
commit
e17fffb66b
6 changed files with 46 additions and 11 deletions
|
@ -82,7 +82,7 @@ pub enum FePrimitive {
|
|||
impl WriteElement for FePrimitive {
|
||||
fn attrs(&self) -> std::vec::Vec<quick_xml::events::attributes::Attribute<'_>> {
|
||||
match self {
|
||||
FePrimitive::Blend(_) => todo!(),
|
||||
FePrimitive::Blend(el) => el.attrs(),
|
||||
FePrimitive::ColorMatrix(el) => el.attrs(),
|
||||
FePrimitive::ComponentTransfer(_) => todo!(),
|
||||
FePrimitive::Composite(el) => el.attrs(),
|
||||
|
@ -103,7 +103,7 @@ impl WriteElement for FePrimitive {
|
|||
|
||||
fn tag_name(&self) -> &'static str {
|
||||
match self {
|
||||
FePrimitive::Blend(_) => todo!(),
|
||||
FePrimitive::Blend(el) => el.tag_name(),
|
||||
FePrimitive::ColorMatrix(el) => el.tag_name(),
|
||||
FePrimitive::ComponentTransfer(_) => todo!(),
|
||||
FePrimitive::Composite(el) => el.tag_name(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue