internal DefineShape4Tag(SwfReader r) : base(TagType.DefineShape4) { this.CharacterId = r.GetUI16(); this.ShapeBounds = new Rect(r); this.EdgeBounds = new Rect(r); r.SkipBits(6); this.UsesNonScalingStrokes = r.GetBit(); this.UsesScalingStrokes = r.GetBit(); this.Shapes = new ShapeWithStyle(r, ShapeType.DefineShape4); r.Align(); }
internal DefineFontAlignZonesTag(SwfReader r, Dictionary <uint, DefineFont2_3> fonts) : base(TagType.DefineFontAlignZones) { Fonts = fonts; FontId = r.GetUI16(); CSMTableHint = r.GetBits(2); r.SkipBits(6); r.Align(); DefineFont2_3 font = Fonts[FontId]; uint glyphCount = font.NumGlyphs; ZoneTable = new ZoneRecord[glyphCount]; for (int i = 0; i < glyphCount; i++) { ZoneTable[i] = new ZoneRecord(r); } }