public override void  defineShape6(DefineShape tag)
		{
			defineShape(tag);
		}
		public override void  defineShape(DefineShape tag)
		{
			int id = dict.add(tag);
			tagw.writeUI16(id);
			encodeRect(tag.bounds, tagw);
			if (tag.code == flash.swf.TagValues_Fields.stagDefineShape6)
			{
				encodeRect(tag.edgeBounds, tagw);
				tagw.writeUBits(0, 6);
				tagw.writeBit(tag.usesNonScalingStrokes);
				tagw.writeBit(tag.usesScalingStrokes);
			}
			encodeShapeWithStyle(tag.shapeWithStyle, tagw, tag.code);
			encodeTag(tag);
		}
Example #3
0
		public override void  defineShape2(DefineShape tag)
		{
			printDefineShape(tag, false);
		}
Example #4
0
		public override void  defineShape6(DefineShape tag)
		{
			printDefineShape(tag, true);
		}
Example #5
0
		private void  printDefineShape(DefineShape tag, bool alpha)
		{
			open(tag);
			out_Renamed.Write(" id='" + id(tag) + "'");
			out_Renamed.Write(" bounds='" + tag.bounds + "'");
			if (tag.code == flash.swf.TagValues_Fields.stagDefineShape6)
			{
				out_Renamed.Write(" edgebounds='" + tag.edgeBounds + "'");
				out_Renamed.Write(" usesNonScalingStrokes='" + tag.usesNonScalingStrokes + "'");
				out_Renamed.Write(" usesScalingStrokes='" + tag.usesScalingStrokes + "'");
			}
			
			end();
			
			printShapeWithStyles(tag.shapeWithStyle, alpha);
			
			close(tag);
		}