コード例 #1
0
ファイル: Class6.cs プロジェクト: 15831944/WW
        protected internal override void vmethod_0(Class80 reader)
        {
            Class74 stream       = reader.Stream;
            int     hmetricCount = reader.method_5().HMetricCount;
            int     glyphCount   = reader.method_4().GlyphCount;
            int     capacity     = glyphCount > hmetricCount ? glyphCount : hmetricCount;

            this.ilist_0 = (IList <Class57>) new List <Class57>(capacity);
            for (int index = 0; index < hmetricCount; ++index)
            {
                this.ilist_0.Add(new Class57(stream.method_8(), stream.method_4()));
            }
            if (hmetricCount >= capacity)
            {
                return;
            }
            Class57 class57 = this.ilist_0[this.ilist_0.Count - 1];

            for (int index = hmetricCount; index < glyphCount; ++index)
            {
                this.ilist_0.Add(new Class57(class57.AdvanceWidth, stream.method_4()));
            }
        }