Exemple #1
0
 private static void smethod_2(string[] lines, ref int l)
 {
     CtbFile.Interface45 token;
     do
     {
         ;
     }while ((token = CtbFile.smethod_5(lines, ref l)).Type == CtbFile.Enum43.const_0);
     CtbFile.smethod_4(token, l);
 }
Exemple #2
0
 private void method_3(string[] lines, ref int l)
 {
     CtbFile.Interface45 token;
     while ((token = CtbFile.smethod_5(lines, ref l)).Type == CtbFile.Enum43.const_0)
     {
         CtbFile.smethod_3(this.list_1.Count, token.Key, l);
         this.list_1.Add(token.imethod_1(l));
     }
     CtbFile.smethod_4(token, l);
 }
Exemple #3
0
 private void method_2(string[] lines, ref int l)
 {
     CtbFile.Interface45 token;
     while ((token = CtbFile.smethod_5(lines, ref l)).Type == CtbFile.Enum43.const_1)
     {
         CtbFile.smethod_3(this.list_0.Count, token.Key, l);
         CtbFile.ColorEntry colorEntry = new CtbFile.ColorEntry(this, l);
         colorEntry.method_0(lines, ref l);
         this.list_0.Add(colorEntry);
     }
     CtbFile.smethod_4(token, l);
 }
Exemple #4
0
            internal void method_0(string[] lines, ref int l)
            {
                CtbFile.Interface45 token;
                while ((token = CtbFile.smethod_5(lines, ref l)).Type == CtbFile.Enum43.const_0)
                {
                    switch (token.Key)
                    {
                    case "name":
                        this.string_2 = token.imethod_0(l);
                        continue;

                    case "localized_name":
                        this.string_3 = token.imethod_0(l);
                        continue;

                    case "description":
                        this.string_4 = token.imethod_0(l);
                        continue;

                    case "color":
                        this.struct15_0 = new CtbFile.Struct15((uint)token.imethod_2(l));
                        continue;

                    case "mode_color":
                        this.struct15_1 = new CtbFile.Struct15((uint)token.imethod_2(l));
                        continue;

                    case "color_policy":
                        this.colorPolicy_0 = (CtbFile.ColorPolicy)token.imethod_2(l);
                        continue;

                    case "physical_pen_number":
                        this.int_1 = token.imethod_2(l);
                        continue;

                    case "virtual_pen_number":
                        this.int_2 = token.imethod_2(l);
                        continue;

                    case "screen":
                        this.int_3 = token.imethod_2(l);
                        continue;

                    case "linepattern_size":
                        this.double_0 = token.imethod_1(l);
                        continue;

                    case "linetype":
                        this.simpleLineType_0 = (CtbFile.SimpleLineType)token.imethod_2(l);
                        continue;

                    case "adaptive_linetype":
                        this.bool_0 = token.imethod_3(1);
                        continue;

                    case "lineweight":
                        this.int_4 = token.imethod_2(l);
                        continue;

                    case "fill_style":
                        this.fillStyle_0 = (FillStyle)token.imethod_2(l);
                        continue;

                    case "end_style":
                        this.lineCapStyle_0 = (CtbFile.LineCapStyle)token.imethod_2(l);
                        continue;

                    case "join_style":
                        this.lineJoinStyle_0 = (CtbFile.LineJoinStyle)token.imethod_2(l);
                        continue;

                    default:
                        throw new IOException("CTB file format error: Unknown value key " + token.Key + " [line " + (object)l + "]");
                    }
                }
                CtbFile.smethod_4(token, l);
            }