Пример #1
0
    private void method_9(ShapeObject A_0, string A_1)
    {
        int    num  = 5;
        PointF tf   = A_0.method_48(new PointF((float)A_0.Left, (float)A_0.Top));
        double x    = tf.X;
        double num3 = tf.X;
        double y    = tf.Y;
        double num5 = tf.Y;
        double num6 = smethod_11(A_0, (double)A_0.SizeInPoints.Width);
        double num7 = smethod_11(A_0, (double)A_0.SizeInPoints.Height);

        switch (A_0.FlipOrientation)
        {
        case FlipOrientation.Horizontal:
            x    += num6;
            num5 += num7;
            break;

        case FlipOrientation.Vertical:
            num3 += num6;
            y    += num7;
            break;

        case FlipOrientation.Both:
            x += num6;
            y += num7;
            break;

        default:
            num3 += num6;
            num5 += num7;
            break;
        }
        Class400 class2 = this.class422_0.method_18();

        class2.method_66(A_1);
        class2.method_68(BookmarkStart.b("伪弬丮䘰ल䄴丶䤸帺", num), Class922.smethod_7(A_0.ConnectorType));
        class2.method_68(BookmarkStart.b("堪嬬䠮ର䬲д", num), Class576.smethod_42(x));
        class2.method_68(BookmarkStart.b("堪嬬䠮ର䨲д", num), Class576.smethod_42(y));
        class2.method_68(BookmarkStart.b("堪嬬䠮ର䬲ܴ", num), Class576.smethod_42(num3));
        class2.method_68(BookmarkStart.b("堪嬬䠮ର䨲ܴ", num), Class576.smethod_42(num5));
        this.method_8(A_0);
    }
Пример #2
0
    private void method_10(ShapeObject A_0, string A_1)
    {
        int      num    = 8;
        Class400 class2 = this.class422_0.method_18();

        class2.method_66(A_1);
        if (A_0.Rotation == 0.0)
        {
            PointF tf = A_0.method_48(new PointF((float)A_0.Left, (float)A_0.Top));
            class2.method_68(BookmarkStart.b("崭䘯唱ำ丵", num), Class576.smethod_42((double)tf.X));
            class2.method_68(BookmarkStart.b("崭䘯唱ำ伵", num), Class576.smethod_42((double)tf.Y));
        }
        else
        {
            class2.method_68(BookmarkStart.b("崭䘯唱ำ丵", num), BookmarkStart.b("ḭ匯弱", num));
            class2.method_68(BookmarkStart.b("崭䘯唱ำ伵", num), BookmarkStart.b("ḭ匯弱", num));
        }
        class2.method_68(BookmarkStart.b("崭䘯唱ำ䄵儷帹䠻嘽", num), Class576.smethod_42(smethod_11(A_0, (double)A_0.SizeInPoints.Width)));
        class2.method_68(BookmarkStart.b("崭䘯唱ำ帵崷匹嬻嘽㐿", num), Class576.smethod_42(smethod_11(A_0, (double)A_0.SizeInPoints.Height)));
        this.method_8(A_0);
    }