Exemplo n.º 1
0
 public override void DumpBody(XmlWriter writer)
 {
     if (SwfDumpService.DumpDisplayListTags)
     {
         writer.WriteElementString("cid", CharId.ToString());
         writer.WriteElementString("depth", Depth.ToString());
     }
 }
Exemplo n.º 2
0
 public override void DumpBody(XmlWriter writer)
 {
     if (SwfDumpService.DumpDisplayListTags)
     {
         writer.WriteElementString("cid", CharId.ToString());
         writer.WriteElementString("depth", Depth.ToString());
         writer.WriteElementString("matrix", Matrix.GetMatrixString());
         if (ColorTransform != null)
         {
             ColorTransform.Dump(writer, false);
         }
     }
 }
Exemplo n.º 3
0
 public void Dump(XmlWriter writer, SwfTagCode tagCode)
 {
     writer.WriteStartElement("button");
     writer.WriteAttributeString("id", CharId.ToString());
     writer.WriteAttributeString("depth", PlaceDepth.ToString());
     writer.WriteElementString("matrix", PlaceMatrix.GetMatrixString());
     ColorTransform.Dump(writer, HasAlpha(tagCode));
     if (_filters.Count > 0)
     {
         _filters.Dump(writer);
     }
     if ((State & SwfButtonState.HasBlendMode) != 0)
     {
         writer.WriteElementString("blend-mode", BlendMode.ToString());
     }
     writer.WriteEndElement();
 }