Exemple #1
0
        private void method_1(CtbFile.Class1003 writer)
        {
            this.SortLineWeights();
            int count = this.list_0.Count;

            writer.Write((CtbFile.Interface45) new CtbFile.Class1005("description", this.string_24));
            writer.Write((CtbFile.Interface45) new CtbFile.Class1006("aci_table_available", true));
            writer.Write((CtbFile.Interface45) new CtbFile.Class1008("scale_factor", this.double_1));
            writer.Write((CtbFile.Interface45) new CtbFile.Class1006("apply_factor", this.bool_0));
            writer.Write((CtbFile.Interface45) new CtbFile.Class1007("custom_lineweight_display_units", (int)this.displayUnit_0));
            writer.method_1("aci_table");
            for (int index = 0; index < count; ++index)
            {
                writer.Write((CtbFile.Interface45) new CtbFile.Class1005(index.ToString(), this.list_0[index].Name));
            }
            writer.method_2();
            writer.method_1("plot_style");
            for (int index = 0; index < count; ++index)
            {
                writer.method_1(index.ToString());
                this.list_0[index].WriteTo(writer);
                writer.method_2();
            }
            writer.method_2();
            writer.method_1("custom_lineweight_table");
            for (int index = 0; index < this.list_1.Count; ++index)
            {
                writer.Write((CtbFile.Interface45) new CtbFile.Class1008("0.0###", index.ToString(), this.list_1[index]));
            }
            writer.method_2();
            writer.method_3();
        }
Exemple #2
0
 internal void WriteTo(CtbFile.Class1003 writer)
 {
     writer.Write((CtbFile.Interface45) new CtbFile.Class1005("name", this.string_2));
     writer.Write((CtbFile.Interface45) new CtbFile.Class1005("localized_name", this.string_3));
     writer.Write((CtbFile.Interface45) new CtbFile.Class1005("description", this.string_4));
     writer.Write((CtbFile.Interface45) new CtbFile.Class1007("color", this.struct15_0.Data));
     writer.Write((CtbFile.Interface45) new CtbFile.Class1007("mode_color", this.struct15_1.Data));
     writer.Write((CtbFile.Interface45) new CtbFile.Class1007("color_policy", (int)this.colorPolicy_0));
     writer.Write((CtbFile.Interface45) new CtbFile.Class1007("physical_pen_number", this.int_1));
     writer.Write((CtbFile.Interface45) new CtbFile.Class1007("virtual_pen_number", this.int_2));
     writer.Write((CtbFile.Interface45) new CtbFile.Class1007("screen", this.int_3));
     writer.Write((CtbFile.Interface45) new CtbFile.Class1008("linepattern_size", this.double_0));
     writer.Write((CtbFile.Interface45) new CtbFile.Class1007("linetype", (int)this.simpleLineType_0));
     writer.Write((CtbFile.Interface45) new CtbFile.Class1006("adaptive_linetype", this.bool_0));
     writer.Write((CtbFile.Interface45) new CtbFile.Class1007("lineweight", this.int_4));
     writer.Write((CtbFile.Interface45) new CtbFile.Class1007("fill_style", (int)this.fillStyle_0));
     writer.Write((CtbFile.Interface45) new CtbFile.Class1007("end_style", (int)this.lineCapStyle_0));
     writer.Write((CtbFile.Interface45) new CtbFile.Class1007("join_style", (int)this.lineJoinStyle_0));
 }
Exemple #3
0
 public void Write(CtbFile.Class1003 writer)
 {
     writer.method_2();
 }
Exemple #4
0
 public void Write(CtbFile.Class1003 writer)
 {
     writer.method_1(this.string_0);
 }
Exemple #5
0
 public override void Write(CtbFile.Class1003 writer)
 {
     writer.method_0((object)this.Key, (object)'=', (object)this.gparam_0.ToString(this.string_3, (IFormatProvider)CultureInfo.InvariantCulture.NumberFormat));
 }
Exemple #6
0
 public override void Write(CtbFile.Class1003 writer)
 {
     writer.method_0((object)this.Key, (object)'=', (object)this.gparam_0);
 }
Exemple #7
0
 public override void Write(CtbFile.Class1003 writer)
 {
     writer.method_0((object)this.Key, (object)'=', this.gparam_0 ? (object)"TRUE" : (object)"FALSE");
 }
Exemple #8
0
 public abstract void Write(CtbFile.Class1003 writer);