예제 #1
0
 internal static int smethod_4(Class679 A_0)
 {
     if (A_0.method_0() >= PathType.EscapeBase)
     {
         return(A_0.method_1() | (((int)A_0.method_0()) << 8));
     }
     return(A_0.method_1() | (((int)A_0.method_0()) << 13));
 }
예제 #2
0
    internal void method_2()
    {
        int num = 0;

        if (((this.class891_1 != null) && (this.class891_1.Length != 0)) && ((this.class679_0 != null) && (this.class679_0.Length != 0)))
        {
            StringBuilder builder = new StringBuilder();
            int           index   = 0;
            for (int i = 0; i < this.class679_0.Length; i++)
            {
                Class679 class3 = this.class679_0[i];
                builder.Append(Class1085.smethod_74(class3.method_0()));
                int num3 = class3.method_2();
                for (int j = 0; j < num3; j++)
                {
                    if (index >= this.class891_1.Length)
                    {
                        throw new InvalidOperationException(BookmarkStart.b("栥䜧帩ఫ䬭帯崱䄳儵倷ᨹ䰻弽㈿⍁⥃⍅㱇⽉㹋㵍灏㭑㩓癕㽗㽙㍛㍝՟ᙡᙣὥ䡧ᩩ൫ᩭᡯ山", num));
                    }
                    Class891 class2 = this.class891_1[index];
                    builder.Append(this.method_3(class2.method_0()));
                    builder.Append(',');
                    builder.Append(this.method_3(class2.method_1()));
                    builder.Append(',');
                    index++;
                }
                if (num3 > 0)
                {
                    builder.Remove(builder.Length - 1, 1);
                }
            }
            this.class398_0.method_40(BookmarkStart.b("嘥䤧帩䐫", num), builder.ToString());
        }
    }
예제 #3
0
    private void method_13(ShapeObject A_0)
    {
        int num = 9;

        Class679[] segmentInfo = A_0.SegmentInfo;
        Class891[] vertices    = A_0.Vertices;
        if (vertices != null)
        {
            string str3 = "";
            string str  = "";
            int    num2 = 0;
            for (int i = 0; i < segmentInfo.Length; i++)
            {
                Class679 class2 = segmentInfo[i];
                if (class2.method_0() != PathType.Unknown)
                {
                    string str2 = Class922.smethod_6(class2.method_0());
                    if (Class567.smethod_16(str2))
                    {
                        int num4 = class2.method_2();
                        if ((str != str2) && ((!(str2 == BookmarkStart.b("眮", num)) && !(str2 == BookmarkStart.b("瘮", num))) || (!(str == BookmarkStart.b("眮", num)) && !(str == BookmarkStart.b("瘮", num)))))
                        {
                            str3 = string.Format(BookmarkStart.b("吮İ串ᔴ䰶࠸䘺", num), str3, str2);
                        }
                        for (int j = num2; j < (num2 + num4); j++)
                        {
                            Class891 class3 = vertices[j];
                            bool     flag   = ((class2.method_0() == PathType.AngleEllipse) || (class2.method_0() == PathType.AngleEllipseTo)) ? ((((j - num2) + 1) % 3) == 0) : false;
                            str3 = string.Format(BookmarkStart.b("吮İ串ᔴ䰶࠸䘺ᴼ䐾獀㹂", num), str3, this.method_14(class3.method_0(), flag), this.method_14(class3.method_1(), flag));
                        }
                        num2 += num4;
                        str   = str2;
                    }
                }
            }
            this.class400_0.method_40(BookmarkStart.b("䬮䌰刲䈴ശ尸唺唼帾⽀⁂⁄⍆摈㭊ⱌ㭎㥐", num), str3.Trim());
        }
    }
예제 #4
0
    private static int smethod_0(Class679 A_0, int A_1)
    {
        if (A_0.method_0() == PathType.Close)
        {
            return(1);
        }
        int num = A_0.method_4();

        if (num <= 0)
        {
            return(0);
        }
        return(A_1 / num);
    }
예제 #5
0
    private void method_2()
    {
        if (this.arrayList_0.Count > 0)
        {
            Class679 class2 = (Class679)this.arrayList_0[this.arrayList_0.Count - 1];
            this.arrayList_0[this.arrayList_0.Count - 1] = new Class679(class2.method_0(), smethod_0(class2, this.int_0 / 2));
        }
        string str = this.stringBuilder_0.ToString().ToLower();

        this.stringBuilder_0.Length = 0;
        Class679 class3 = new Class679(smethod_2(str), 0);

        this.arrayList_0.Add(class3);
        this.bool_0 = smethod_3(str);
        this.int_0  = 0;
    }