Exemple #1
0
        protected internal override void vmethod_0(Class80 reader)
        {
            Class74 stream = reader.Stream;

            stream.method_25(2L);
            int num1 = (int)stream.method_8();

            for (int index1 = 0; index1 < num1; ++index1)
            {
                stream.method_25(2L);
                ushort num2 = stream.method_8();
                ushort num3 = stream.method_8();
                if (((int)num3 & 1) == 1 && ((int)num3 & 2) == 0 && (int)num3 >> 8 == 0)
                {
                    int numPairs = (int)stream.method_8();
                    this.bool_0    = true;
                    this.class77_0 = new Class77(numPairs);
                    stream.method_25(6L);
                    for (int index2 = 0; index2 < numPairs; ++index2)
                    {
                        this.class77_0.method_1(stream.method_8(), stream.method_8(), (int)stream.method_6());
                    }
                }
                else
                {
                    stream.method_25((long)((int)num2 - 6));
                }
            }
        }
Exemple #2
0
        public override int vmethod_4(OGGClass6 class71_0, object object_1, object object_2, float[] float_0)
        {
            Class37 @class   = (Class37)object_1;
            Class36 class36_ = @class.class36_0;

            if (object_2 != null)
            {
                float[] array  = (float[])object_2;
                float   float_ = array[@class.int_2];
                Class77.smethod_0(float_0, @class.int_3, @class.int_0, @class.int_1, array, @class.int_2, float_, (float)class36_.int_4);
                return(1);
            }
            for (int i = 0; i < @class.int_0; i++)
            {
                float_0[i] = 0f;
            }
            return(0);
        }
Exemple #3
0
        public override int vmethod_4(OggClass6 class710, object object1, object object2, float[] float0)
        {
            var @class  = (Class37)object1;
            var class36 = @class.Class360;

            if (object2 != null)
            {
                var array  = (float[])object2;
                var float_ = array[@class.Int2];
                Class77.smethod_0(float0, @class.Int3, @class.Int0, @class.Int1, array, @class.Int2, float_,
                                  class36.Int4);
                return(1);
            }
            for (var i = 0; i < @class.Int0; i++)
            {
                float0[i] = 0f;
            }
            return(0);
        }
Exemple #4
0
 internal GdiKerningPairs(Class77 pairs, Class66 converter)
 {
     this.class77_0 = pairs;
     this.class66_0 = converter;
 }