public override void defineMorphShape2(DefineMorphShape tag) { int id = dict.add(tag); tagw.writeUI16(id); encodeRect(tag.startBounds, tagw); encodeRect(tag.endBounds, tagw); if (tag.code == flash.swf.TagValues_Fields.stagDefineMorphShape2) { encodeRect(tag.startEdgeBounds, tagw); encodeRect(tag.endEdgeBounds, tagw); tagw.writeUBits(tag.reserved, 6); tagw.writeUBits(tag.usesNonScalingStrokes?1:0, 1); tagw.writeUBits(tag.usesScalingStrokes?1:0, 1); } tagw.write32(0); int pos = tagw.Pos; encodeMorphFillstyles(tag.fillStyles, tagw, tag.code); encodeMorphLinestyles(tag.lineStyles, tagw, tag.code); encodeShape(tag.startEdges, tagw, flash.swf.TagValues_Fields.stagDefineShape3, tag.fillStyles.Length, tag.lineStyles.Length); tagw.write32at(pos - 4, tagw.Pos - pos); // end shape contains only edges, no style information encodeShape(tag.endEdges, tagw, flash.swf.TagValues_Fields.stagDefineShape3, 0, 0); encodeTag(tag); }
public override void defineMorphShape(DefineMorphShape tag) { defineMorphShape2(tag); }
public override void defineMorphShape2(DefineMorphShape tag) { open(tag); out_Renamed.Write(" id='" + id(tag) + "'"); out_Renamed.Write(" startBounds='" + tag.startBounds + "'"); out_Renamed.Write(" endBounds='" + tag.endBounds + "'"); if (tag.code == flash.swf.TagValues_Fields.stagDefineMorphShape2) { out_Renamed.Write(" startEdgeBounds='" + tag.startEdgeBounds + "'"); out_Renamed.Write(" endEdgeBounds='" + tag.endEdgeBounds + "'"); out_Renamed.Write(" usesNonScalingStrokes='" + tag.usesNonScalingStrokes + "'"); out_Renamed.Write(" usesScalingStrokes='" + tag.usesScalingStrokes + "'"); } end(); printMorphLineStyles(tag.lineStyles); printMorphFillStyles(tag.fillStyles); indent(); //UPGRADE_TODO: Method 'java.io.PrintWriter.println' was converted to 'System.IO.TextWriter.WriteLine' which has a different behavior. "ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?index='!DefaultContextWindowIndex'&keyword='jlca1073_javaioPrintWriterprintln_javalangString'" out_Renamed.WriteLine("<start>"); indent_Renamed_Field++; printShape(tag.startEdges, true); indent_Renamed_Field--; indent(); //UPGRADE_TODO: Method 'java.io.PrintWriter.println' was converted to 'System.IO.TextWriter.WriteLine' which has a different behavior. "ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?index='!DefaultContextWindowIndex'&keyword='jlca1073_javaioPrintWriterprintln_javalangString'" out_Renamed.WriteLine("</start>"); indent(); //UPGRADE_TODO: Method 'java.io.PrintWriter.println' was converted to 'System.IO.TextWriter.WriteLine' which has a different behavior. "ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?index='!DefaultContextWindowIndex'&keyword='jlca1073_javaioPrintWriterprintln_javalangString'" out_Renamed.WriteLine("<end>"); indent_Renamed_Field++; printShape(tag.endEdges, true); indent_Renamed_Field--; indent(); //UPGRADE_TODO: Method 'java.io.PrintWriter.println' was converted to 'System.IO.TextWriter.WriteLine' which has a different behavior. "ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?index='!DefaultContextWindowIndex'&keyword='jlca1073_javaioPrintWriterprintln_javalangString'" out_Renamed.WriteLine("</end>"); close(tag); }
public override void defineMorphShape2(DefineMorphShape tag) { tags.Add(tag); }
public virtual void defineMorphShape2(DefineMorphShape tag) { }