Beispiel #1
0
    public void method_3(double A_0)
    {
        int num = 0x10;

        if (A_0 < 0.0)
        {
            throw new ArgumentOutOfRangeException(BookmarkStart.b("䀵夷嘹䤻嬽", num));
        }
        this.method_40(0x1cb, Class969.smethod_40(A_0));
    }
Beispiel #2
0
    public void method_5(double A_0)
    {
        int num = 0x13;

        if (A_0 < 0.0)
        {
            throw new ArgumentOutOfRangeException(BookmarkStart.b("伸娺儼䨾⑀", num));
        }
        this.method_17(130, Class969.smethod_40(A_0));
    }
Beispiel #3
0
    public void method_3(double A_0)
    {
        int num = 7;

        if (A_0 < 0.0)
        {
            throw new ArgumentOutOfRangeException(BookmarkStart.b("嬬丮崰䘲倴", num));
        }
        this.method_17(0x83, Class969.smethod_40(A_0));
    }
Beispiel #4
0
    public void method_1(double A_0)
    {
        int num = 0x12;

        if (A_0 < 0.0)
        {
            throw new ArgumentOutOfRangeException(BookmarkStart.b("丷嬹倻䬽┿", num));
        }
        this.method_17(0x81, Class969.smethod_40(A_0));
    }
Beispiel #5
0
    public static Class1044 smethod_28(Stream A_0)
    {
        BinaryReader reader = new BinaryReader(A_0);

        reader.ReadUInt16();
        int num  = Class336.smethod_4(reader.ReadUInt16());
        int num2 = Class336.smethod_4(reader.ReadUInt16());
        int num3 = Class336.smethod_4(reader.ReadUInt16());
        int num4 = Class336.smethod_4(reader.ReadUInt16());
        int num5 = Class969.smethod_40((double)(num4 - num2));
        int num6 = Class969.smethod_40((double)(num3 - num));

        return(Class1044.smethod_3(num2, num, num4, num3, num5, num6));
    }
Beispiel #6
0
    private static int smethod_0(ShapeObject A_0, int[] A_1, int A_2)
    {
        int num = 0x11;

        if ((A_2 >= 0x400) && (A_2 <= 0x47f))
        {
            return(A_1[A_2 - 0x400]);
        }
        switch (A_2)
        {
        case 320:
            return(A_0.CoordOriginX + (A_0.CoordSizeWidth / 2));

        case 0x141:
            return(A_0.CoordOriginY + (A_0.CoordSizeHeight / 2));

        case 0x142:
            return(A_0.CoordSizeWidth);

        case 0x143:
            return(A_0.CoordSizeHeight);

        case 0x147:
            return(A_0.method_60(1));

        case 0x148:
            return(A_0.method_60(2));

        case 0x149:
            return(A_0.method_60(3));

        case 330:
            return(A_0.method_60(4));

        case 0x14b:
            return(A_0.method_60(5));

        case 0x14c:
            return(A_0.method_60(6));

        case 0x14d:
            return(A_0.method_60(7));

        case 0x14e:
            return(A_0.method_60(8));

        case 0x153:
            return(A_0.LimoX);

        case 340:
            return(A_0.LimoY);

        case 0x1fc:
            if (!A_0.IsStroked)
            {
                return(0);
            }
            return(1);

        case 0x4f7:
            return((int)Class969.smethod_50((int)A_0.LineWidth));

        case 0x4f8:
            return((int)Class509.smethod_0(A_0.Width));

        case 0x4f9:
            return((int)Class509.smethod_0(A_0.Height));

        case 0x4fc:
            return(Class969.smethod_40(A_0.Width));

        case 0x4fd:
            return(Class969.smethod_40(A_0.Height));

        case 0x4fe:
            return(Class969.smethod_40(A_0.Width * 0.5));

        case 0x4ff:
            return(Class969.smethod_40(A_0.Height * 0.5));
        }
        throw new ArgumentOutOfRangeException(BookmarkStart.b("䜶堸䤺尼刾", num), string.Format(BookmarkStart.b("然嘸䤺值䨾ⵀ≂敄⑆⡈❊⹌㩎㵐㉒⅔㉖㵘筚ⵜ㹞፠ɢࡤɦᵨ๪Ὤ佮ᥰቲٴ坶ླྀ᩺ᅼ੾ꎂ뎈ꮊ뾎", num), A_2));
    }
Beispiel #7
0
    private static int smethod_19(ShapeObject A_0, int[] A_1, int A_2)
    {
        int num = 14;

        if ((A_2 >= 0x400) && (A_2 <= 0x47f))
        {
            return(A_1[A_2 - 0x400]);
        }
        switch (A_2)
        {
        case 320:
            return(A_0.CoordOriginX + (A_0.CoordSizeWidth / 2));

        case 0x141:
            return(A_0.CoordOriginY + (A_0.CoordSizeHeight / 2));

        case 0x142:
            return(A_0.CoordSizeWidth);

        case 0x143:
            return(A_0.CoordSizeHeight);

        case 0x147:
            return(A_0.method_60(1));

        case 0x148:
            return(A_0.method_60(2));

        case 0x149:
            return(A_0.method_60(3));

        case 330:
            return(A_0.method_60(4));

        case 0x14b:
            return(A_0.method_60(5));

        case 0x14c:
            return(A_0.method_60(6));

        case 0x14d:
            return(A_0.method_60(7));

        case 0x14e:
            return(A_0.method_60(8));

        case 0x153:
            return(A_0.LimoX);

        case 340:
            return(A_0.LimoY);

        case 0x1fc:
            if (!A_0.IsStroked)
            {
                return(0);
            }
            return(1);

        case 0x4f7:
            return((int)Class969.smethod_50((int)A_0.LineWidth));

        case 0x4f8:
            return((int)Class509.smethod_0(A_0.Width));

        case 0x4f9:
            return((int)Class509.smethod_0(A_0.Height));

        case 0x4fc:
            return(Class969.smethod_40(A_0.Width));

        case 0x4fd:
            return(Class969.smethod_40(A_0.Height));

        case 0x4fe:
            return(Class969.smethod_40(A_0.Width * 0.5));

        case 0x4ff:
            return(Class969.smethod_40(A_0.Height * 0.5));
        }
        throw new ArgumentOutOfRangeException(BookmarkStart.b("䐳圵䨷嬹儻", num), string.Format(BookmarkStart.b("爳夵䨷圹䤻刽ℿ扁❃❅⑇⥉㥋≍ㅏ♑ㅓ㉕硗⩙㵛ⱝşཡţብ൧ᡩ䱫٭ᅯű味u᥷ᙹॻ᭽ꁿ벅ꢇ벋", num), A_2));
    }
Beispiel #8
0
    private static int smethod_18(ShapeObject A_0, int[] A_1, int A_2)
    {
        int num = 5;

        if ((A_2 >= 0x400) && (A_2 <= 0x47f))
        {
            return(A_1[A_2 - 0x400]);
        }
        switch (A_2)
        {
        case 320:
            return(A_0.CoordOriginX + (A_0.CoordSizeWidth / 2));

        case 0x141:
            return(A_0.CoordOriginY + (A_0.CoordSizeHeight / 2));

        case 0x142:
            return(A_0.CoordSizeWidth);

        case 0x143:
            return(A_0.CoordSizeHeight);

        case 0x147:
            return(A_0.method_60(1));

        case 0x148:
            return(A_0.method_60(2));

        case 0x149:
            return(A_0.method_60(3));

        case 330:
            return(A_0.method_60(4));

        case 0x14b:
            return(A_0.method_60(5));

        case 0x14c:
            return(A_0.method_60(6));

        case 0x14d:
            return(A_0.method_60(7));

        case 0x14e:
            return(A_0.method_60(8));

        case 0x153:
            return(A_0.LimoX);

        case 340:
            return(A_0.LimoY);

        case 0x1fc:
            if (!A_0.IsStroked)
            {
                return(0);
            }
            return(1);

        case 0x4f7:
            return((int)Class969.smethod_50((int)A_0.LineWidth));

        case 0x4f8:
            return((int)Class509.smethod_0(A_0.Width));

        case 0x4f9:
            return((int)Class509.smethod_0(A_0.Height));

        case 0x4fc:
            return(Class969.smethod_40(A_0.Width));

        case 0x4fd:
            return(Class969.smethod_40(A_0.Height));

        case 0x4fe:
            return(Class969.smethod_40(A_0.Width * 0.5));

        case 0x4ff:
            return(Class969.smethod_40(A_0.Height * 0.5));
        }
        throw new ArgumentOutOfRangeException(BookmarkStart.b("嬪䰬崮倰帲", num), string.Format(BookmarkStart.b("洪䈬崮尰䘲头嘶ᤸ堺尼匾≀㙂⥄♆㵈⹊⥌潎⅐㉒❔㙖㑘㹚⥜㩞፠䍢൤٦ᩨ䭪᭬๮ᵰٲၴ坶ᙸᵺ䝼彾婢뎂", num), A_2));
    }
Beispiel #9
0
    object FormatBase.GetDefValue(int A_0)
    {
        int num = 13;

        switch (A_0)
        {
        case 0x77:
            return(false);

        case 120:
            return(false);

        case 0x79:
            return(false);

        case 0x7a:
            return(false);

        case 0x7b:
            return(false);

        case 0x7c:
            return(false);

        case 0x7d:
            return(false);

        case 0x7e:
            return(false);

        case 0x7f:
            return(false);

        case 0x80:
            return(0);

        case 0x81:
            return(Class969.smethod_40(7.2));

        case 130:
            return(Class969.smethod_40(3.6));

        case 0x83:
            return(Class969.smethod_40(7.2));

        case 0x84:
            return(Class969.smethod_40(3.6));

        case 0x85:
            return(TextBoxWrapMode.Square);

        case 0x86:
            return(0);

        case 0x87:
            return(TextBoxAnchor.Top);

        case 0x88:
            return(LayoutFlow.Horizontal);

        case 0x89:
            return(TextRotation.Right);

        case 0x8a:
            return(0);

        case 4:
            return(0);

        case 0xbb:
            return(true);

        case 0xbc:
            return(false);

        case 0xbd:
            return(false);

        case 190:
            return(false);

        case 0xbf:
            return(false);

        case 0xc0:
            return(string.Empty);

        case 0xc1:
            return(string.Empty);

        case 0xc2:
            return(TextPathAlignment.Center);

        case 0xc3:
            return(Class969.smethod_71(36.0));

        case 0xc4:
            return(Class969.smethod_71(1.0));

        case 0xc5:
            return(BookmarkStart.b("爲䜴帶堸场", num));

        case 240:
            return(false);

        case 0xf1:
            return(false);

        case 0xf2:
            return(false);

        case 0xf3:
            return(false);

        case 0xf4:
            return(false);

        case 0xf5:
            return(false);

        case 0xf6:
            return(false);

        case 0xf7:
            return(false);

        case 0xf8:
            return(false);

        case 0xf9:
            return(false);

        case 250:
            return(false);

        case 0xfb:
            return(false);

        case 0xfc:
            return(false);

        case 0xfd:
            return(false);

        case 0xfe:
            return(false);

        case 0xff:
            return(false);

        case 0x100:
            return(0);

        case 0x101:
            return(0);

        case 0x102:
            return(0);

        case 0x103:
            return(0);

        case 260:
            return(0);

        case 0x105:
            return(0);

        case 0x107:
            return(Color.Empty);

        case 0x108:
            return(Class969.smethod_71(1.0));

        case 0x109:
            return(0);

        case 0x10a:
            return(0);

        case 0x13c:
            return(false);

        case 0x13d:
            return(false);

        case 0x13e:
            return(false);

        case 0x13f:
            return(false);

        case 0x145:
            return(null);

        case 0x146:
            return(null);

        case 0x147:
            return(0);

        case 0x148:
            return(0);

        case 0x149:
            return(0);

        case 330:
            return(0);

        case 0x14b:
            return(0);

        case 0x14c:
            return(0);

        case 0x14d:
            return(0);

        case 0x14e:
            return(0);

        case 0x14f:
            return(0);

        case 0x150:
            return(0);

        case 0x151:
            return(null);

        case 0x152:
            return(null);

        case 0x153:
            return(0);

        case 340:
            return(0);

        case 0x155:
            return(null);

        case 0x156:
            return(null);

        case 0x157:
            return(null);

        case 0x158:
            return(ConnectionSiteType.None);

        case 0x17a:
            return(true);

        case 0x17b:
            return(true);

        case 380:
            return(true);

        case 0x17d:
            return(false);

        case 0x17e:
            return(false);

        case 0x17f:
            return(true);

        case 0x180:
            return(FillType.Solid);

        case 0x181:
            return(Color.White);

        case 0x182:
            return(Class969.smethod_71(1.0));

        case 0x183:
            return(Color.White);

        case 0x184:
            return(Class969.smethod_71(1.0));

        case 0x187:
            return(string.Empty);

        case 0x18b:
            return(0);

        case 0x18c:
            return(0);

        case 0x18d:
            return(0);

        case 0x18e:
            return(0);

        case 0x18f:
            return(0);

        case 400:
            return(0);

        case 0x191:
            return(0);

        case 0x192:
            return(0);

        case 0x193:
            return(0);

        case 0x194:
            return(0);

        case 0x195:
            return(FillDimensionType.Default);

        case 0x196:
            return(0);

        case 0x197:
            return(null);

        case 0x198:
            return(0);

        case 0x199:
            return(0);

        case 410:
            return(0);

        case 0x19b:
            return(0);

        case 0x1b9:
            return(false);

        case 0x1ba:
            return(false);

        case 0x1bb:
            return(true);

        case 0x1bc:
            return(true);

        case 0x1bd:
            return(true);

        case 0x1be:
            return(false);

        case 0x1bf:
            return(false);

        case 0x1c0:
            return(Color.Black);

        case 0x1c1:
            return(Class969.smethod_71(1.0));

        case 450:
            return(Color.White);

        case 0x1c4:
            return(LineFillType.Solid);

        case 0x1ca:
            return(FillDimensionType.Default);

        case 0x1cb:
            return(0x2535);

        case 0x1cd:
            return(ShapeLineStyle.Single);

        case 0x1ce:
            return(LineDashing.Solid);

        case 0x1cf:
            return(null);

        case 0x1d0:
            return(ArrowType.None);

        case 0x1d1:
            return(ArrowType.None);

        case 0x1d2:
            return(StrokeArrowWidth.Medium);

        case 0x1d3:
            return(StrokeArrowLength.Medium);

        case 0x1d4:
            return(StrokeArrowWidth.Medium);

        case 0x1d5:
            return(StrokeArrowLength.Medium);

        case 470:
            return(StrokeJoinStyle.Round);

        case 0x1d7:
            return(StrokeEndCap.Flat);

        case 0x1fb:
            return(false);

        case 0x1fc:
            return(true);

        case 0x1fd:
            return(true);

        case 510:
            return(true);

        case 0x1ff:
            return(false);

        case 0x200:
            return(ShadowType.Offset);

        case 0x201:
            return(Color.FromArgb(0x80, 0x80, 0x80));

        case 0x202:
            return(Color.FromArgb(0xcb, 0xcb, 0xcb));

        case 0x204:
            return(Class969.smethod_71(1.0));

        case 0x205:
            return(0x6338);

        case 0x206:
            return(0x6338);

        case 0x207:
            return(0);

        case 520:
            return(0);

        case 0x209:
            return(Class969.smethod_71(1.0));

        case 0x20a:
            return(0);

        case 0x20b:
            return(0);

        case 0x20c:
            return(Class969.smethod_71(1.0));

        case 0x20d:
            return(0);

        case 0x20e:
            return(0);

        case 0x20f:
            return(0x100);

        case 0x210:
            return(0);

        case 0x211:
            return(0);

        case 0x23e:
            return(false);

        case 0x23f:
            return(false);

        case 0x240:
            return(PerspectiveType.Shape);

        case 0x241:
            return(0);

        case 0x242:
            return(0);

        case 0x243:
            return(0x10000);

        case 580:
            return(0);

        case 0x245:
            return(0);

        case 0x246:
            return(0x10000);

        case 0x247:
            return(0);

        case 0x248:
            return(0);

        case 0x249:
            return(0x100);

        case 0x24a:
            return(0x8000);

        case 0x24b:
            return(0x8000);

        case 0x27f:
            return(false);

        case 640:
            return(0);

        case 0x281:
            return(0x10000);

        case 0x282:
            return(5);

        case 0x283:
            return(0x319c);

        case 0x284:
            return(0);

        case 0x285:
            return(0x6f9f0);

        case 0x286:
            return(PlaneType.XY);

        case 0x287:
            return(Color.Empty);

        case 0x288:
            return(Color.Empty);

        case 700:
            return(false);

        case 0x2bd:
            return(false);

        case 0x2be:
            return(false);

        case 0x2bf:
            return(true);

        case 0x2c0:
            return(0);

        case 0x2c1:
            return(0);

        case 0x2c2:
            return(100);

        case 0x2c3:
            return(0);

        case 0x2c4:
            return(0);

        case 0x2c5:
            return(0);

        case 710:
            return(0);

        case 0x2c7:
            return(0);

        case 0x2c8:
            return(0);

        case 0x2c9:
            return(ThreeDRenderMode.FullRender);

        case 0x2ca:
            return(0x7530);

        case 0x2cb:
            return(0x1312d0);

        case 0x2cc:
            return(-1250000);

        case 0x2cd:
            return(0x895440);

        case 0x2ce:
            return(0x8000);

        case 0x2cf:
            return(-32768);

        case 720:
            return(-8847360);

        case 0x2d1:
            return(50);

        case 0x2d2:
            return(0x4e20);

        case 0x2d3:
            return(0xc350);

        case 0x2d4:
            return(0);

        case 0x2d5:
            return(0x2710);

        case 0x2d6:
            return(0x9470);

        case 0x2d7:
            return(-50000);

        case 0x2d8:
            return(0);

        case 0x2d9:
            return(0x2710);

        case 730:
            return(0x9470);

        case 0x2fb:
            return(true);

        case 0x2fc:
            return(false);

        case 0x2fd:
            return(true);

        case 0x2fe:
            return(true);

        case 0x2ff:
            return(false);

        case 0x303:
            return(ConnectorType.None);

        case 0x304:
            return(BWMode.Automatic);

        case 0x305:
            return(BWMode.Automatic);

        case 0x306:
            return(BWMode.Automatic);

        case 0x309:
            return(DiagramNodeLayout.Standard);

        case 0x30a:
            return(DiagramNodeKind.Node);

        case 0x338:
            return(false);

        case 0x339:
            return(false);

        case 0x33a:
            return(false);

        case 0x33b:
            return(false);

        case 0x33c:
            return(false);

        case 830:
            return(false);

        case 0x340:
            return(CalloutType.TwoSegment);

        case 0x341:
            return(Class969.smethod_40(6.0));

        case 0x342:
            return(CalloutAngle.Any);

        case 0x343:
            return(CalloutDropType.Specified);

        case 0x344:
            return(Class969.smethod_40(9.0));

        case 0x345:
            return(0);

        case 0x379:
            return(false);

        case 890:
            return(false);

        case 0x37b:
            return(true);

        case 0x37c:
            return(false);

        case 0x37d:
            return(false);

        case 0x37e:
            return(false);

        case 0x37f:
            return(false);

        case 0x380:
            return("");

        case 0x381:
            return(string.Empty);

        case 0x382:
            return(string.Empty);

        case 0x383:
            return(null);

        case 900:
            return(Class969.smethod_40(9.0));

        case 0x385:
            return(0);

        case 0x386:
            return(Class969.smethod_40(9.0));

        case 0x387:
            return(0);

        case 0x38d:
            return(string.Empty);

        case 910:
            return(string.Empty);

        case 0x38f:
            return(ShapeHorizontalAlignment.None);

        case 0x390:
            return(RelativeHorizontalPosition.Column);

        case 0x391:
            return(ShapeVerticalAlignment.None);

        case 0x392:
            return(RelativeVerticalPosition.Paragraph);

        case 0x393:
            return(0x3e8);

        case 0x394:
            return(ShapeHorizontalAlignment.Left);

        case 0x397:
            return(string.Empty);

        case 0x3b0:
            return(true);

        case 0x3b1:
            return(false);

        case 0x3b2:
            return(false);

        case 0x3b3:
            return(false);

        case 0x3b4:
            return(false);

        case 950:
            return(true);

        case 0x3b7:
            return(false);

        case 0x3b8:
            return(false);

        case 0x3b9:
            return(false);

        case 0x3ba:
            return(false);

        case 0x3bb:
            return(false);

        case 0x3bc:
            return(false);

        case 0x3bd:
            return(false);

        case 0x3be:
            return(false);

        case 0x3bf:
            return(true);

        case 0x500:
            return(EditAs.Group);

        case 0x501:
            return(0);

        case 0x504:
            return(null);

        case 0x505:
            return(Class969.smethod_71(1.0));

        case 0x506:
            return(Class969.smethod_71(1.0));

        case 0x507:
            return(12);

        case 0x508:
            return(null);

        case 0x509:
            return(Class969.smethod_71(1.0));

        case 0x53c:
            return(false);

        case 0x53d:
            return(false);

        case 0x53e:
            return(false);

        case 0x53f:
            return(false);

        case 0x73f:
            return(false);

        case 0x781:
            return(null);

        case 0x782:
            return(null);

        case 0x783:
            return(null);

        case 0x784:
            return(null);

        case 0x785:
            return(null);

        case 0x786:
            return(null);

        case 0x787:
            return(null);

        case 0x788:
            return(null);

        case 0x7bc:
            return(true);

        case 0x7bd:
            return(false);

        case 0x7be:
            return(false);

        case 0x7bf:
            return(false);

        case 0x7c0:
            return(0f);

        case 0x7c1:
            return(0f);

        case 0x7c2:
            return(0f);

        case 0x7c3:
            return(0f);

        case 0x7c4:
            return(RelativeWidth.Page);

        case 0x7c5:
            return(RelativeHeight.Page);

        case 0x1000:
            return(FlipOrientation.None);

        case 0x1001:
            return(TextWrappingStyle.InFrontOfText);

        case 0x1002:
            return(TextWrappingType.Both);

        case 0x1003:
            return(false);

        case 0x1006:
            return(null);

        case 0x1007:
            return(string.Empty);

        case 0x1008:
            return(string.Empty);

        case 0x100a:
            return(this.method_58().Top);

        case 0x100b:
            return(this.method_58().Left);

        case 0x100c:
            return(this.method_58().Bottom);

        case 0x100d:
            return(this.method_58().Right);

        case 0x100e:
            return(null);

        case 0x100f:
            return(null);

        case 0x1010:
            return(null);

        case 0x1011:
            return(string.Empty);

        case 0x1012:
            return(string.Empty);

        case 0x1013:
            return(string.Empty);

        case 0x1014:
            return(false);

        case 0x1015:
            return(false);

        case 0x1016:
            return(ShapeOleLinkType.Picture);

        case 0x1017:
            return(0);

        case 0x1018:
            return(string.Empty);

        case 0x1019:
            return(PresetTexture.Custom);

        case 0x101a:
            return(PresetTexture.Custom);

        case 0x101b:
            return(false);

        case 0x101c:
            return(0);

        case 0x101d:
            return(0);

        case 0x101e:
            return(0);

        case 0x101f:
            return(0x5460);

        case 0x1020:
            return(0x5460);

        case 0x1021:
            return(0.0);

        case 0x1022:
            return(0.0);

        case 0x1023:
            return(0.0);

        case 0x1024:
            return(0.0);

        case 0x103a:
            return(0L);

        case 0x103b:
            return(ShapeType.NonPrimitive);

        case 0x103c:
            return(new Struct36());

        case 0x103d:
            return(false);

        case 0x103e:
            return(new Struct37(100f, 100f));
        }
        throw new NotImplementedException(string.Format(BookmarkStart.b("怲崴嘶䤸帺洼䴾慀㡂畄㩆楈⁊⡌㙎≐獒㭔㡖祘㉚ぜ⽞ൠ٢ࡤɦݨὪ౬᭮ᡰᱲ᭴奶奸", num), A_0));
    }
Beispiel #10
0
 public int method_12()
 {
     return(Class969.smethod_40(this.method_10()));
 }