public Class80(MemoryStream stream, string fontName) { this.class74_0 = new Class74((System.IO.Stream)stream); this.string_0 = fontName; this.method_15(); this.method_16(); }
private void method_1(ns2.Class74 stream, Class47 glyph) { bool flag = true; while (flag) { short num1 = stream.method_4(); long position = stream.Position; int glyphIndex = this.class80_0.IndexMappings.method_1((int)stream.method_4()); glyph.method_1(glyphIndex); stream.Position -= 2L; stream.method_5(glyphIndex); int num2 = ((int)num1 & 1) <= 0 ? 2 : 4; if (((int)num1 & 8) > 0) { num2 = 2; } else if (((int)num1 & 64) > 0) { num2 = 4; } else if (((int)num1 & 128) > 0) { num2 = 8; } if (((int)num1 & 256) > 0) { num2 = (int)stream.method_8(); } flag = ((int)num1 & 32) > 0; stream.method_25((long)num2); } }
protected internal override void vmethod_1(ns3.Class79 writer) { ns2.Class74 stream = writer.Stream; foreach (int orderedIndex in this.OrderedIndexes) { this[orderedIndex].method_2(stream); } }
protected internal override void vmethod_0(Class80 reader) { ns2.Class74 stream = reader.Stream; this.int_0 = stream.method_16(); this.float_0 = (float)stream.method_16() / 65536f; this.short_0 = stream.method_6(); this.short_1 = stream.method_6(); this.uint_0 = stream.method_14(); this.uint_1 = stream.method_14(); this.uint_2 = stream.method_14(); this.uint_3 = stream.method_14(); this.uint_4 = stream.method_14(); }
protected internal override void vmethod_1(Class79 writer) { Class74 stream = writer.Stream; stream.method_17(this.int_0); stream.method_17(this.int_1); stream.method_15(0U); stream.method_15(1594834165U); stream.method_9((int)this.ushort_0); stream.method_9((int)this.ushort_1); stream.method_19((long)(this.dateTime_0 - Class2.dateTime_2).TotalSeconds); stream.method_19((long)(this.dateTime_1 - Class2.dateTime_2).TotalSeconds); stream.method_5((int)this.short_0); stream.method_5((int)this.short_1); stream.method_5((int)this.short_2); stream.method_5((int)this.short_3); stream.method_9((int)this.ushort_2); stream.method_9((int)this.ushort_3); stream.method_5((int)this.short_4); stream.method_5(1); stream.method_5((int)this.short_6); }
protected internal override void vmethod_0(Class80 reader) { Class74 stream = reader.Stream; this.int_0 = stream.method_16(); this.int_1 = stream.method_16(); this.uint_0 = stream.method_14(); this.uint_1 = stream.method_14(); this.ushort_0 = stream.method_8(); this.ushort_1 = stream.method_8(); this.dateTime_0 = Class2.smethod_0(stream.method_18()); this.dateTime_1 = Class2.smethod_0(stream.method_18()); this.short_0 = stream.method_4(); this.short_1 = stream.method_4(); this.short_2 = stream.method_4(); this.short_3 = stream.method_4(); this.ushort_2 = stream.method_8(); this.ushort_3 = stream.method_8(); this.short_4 = stream.method_4(); this.short_5 = stream.method_4(); this.short_6 = stream.method_4(); }
public Class47 method_0(int glyphIndex) { ns2.Class74 stream1 = this.class80_0.Stream; uint num = this.class41_0.Offset + this.class5_0[glyphIndex]; long length = this.method_2(glyphIndex); Class47 glyph = new Class47(this.class80_0.IndexMappings.method_1(glyphIndex)); if (length != 0L) { byte[] numArray = new byte[length]; stream1.Position = (long)num; stream1.method_24(numArray, 0, numArray.Length); glyph.method_0(numArray); ns2.Class74 stream2 = new ns2.Class74(numArray); bool flag = stream2.method_4() < (short)0; stream2.method_25(8L); if (flag) { this.method_1(stream2, glyph); } } return(glyph); }