public override void AssignAttribute(string attrName, string attrValue) { switch (attrName) { default: if (!AssignCommonAttribute(attrName, attrValue)) { throw new NotSupportedException(); } break; case "filter": { //value may be in refer form SvgAttributeLink attrLink = ParseAttributeLink(attrValue); if (attrLink != null) { //resolve later _spec.FilterPathLink = attrLink; } } break; case "mask": { //TODO } break; } }
public override void AssignAttribute(string attrName, string attrValue) { switch (attrName) { default: if (!AssignCommonAttribute(attrName, attrValue)) { #if DEBUG System.Diagnostics.Debug.WriteLine("unsuppported attrValue:" + attrValue); #endif return; //throw new NotSupportedException(); } break; case "filter": { //value may be in refer form SvgAttributeLink attrLink = ParseAttributeLink(attrValue); if (attrLink != null) { //resolve later _spec.FilterPathLink = attrLink; } } break; case "mask": { //TODO } break; } }