Esempio n. 1
0
    private Class673 method_1(DocumentObject A_0)
    {
        if (A_0.DocumentObjectType == DocumentObjectType.Shape)
        {
            return(this.method_1(A_0.ParentObject));
        }
        ShapeGroup group = (A_0.DocumentObjectType == DocumentObjectType.ShapeGroup) ? ((ShapeGroup)A_0) : null;

        if (group == null)
        {
            return(Class673.smethod_0());
        }
        DocumentObject parentObject = group.ParentObject;
        Class673       class2       = Class673.smethod_0();

        if ((parentObject != null) && (parentObject.DocumentObjectType == DocumentObjectType.ShapeGroup))
        {
            class2 = this.method_1(parentObject);
        }
        SizeF size = group.Size;
        spr➂  r➂   = Class316.smethod_9(group, size, false);

        r➂.ᜀ(class2.method_0(), MatrixOrder.Append);
        Class316.smethod_9(group, size, true).ᜀ(class2.method_0(), MatrixOrder.Append);
        SizeF ef2    = Class316.smethod_0(group, class2.method_1(), class2.method_2());
        float width  = ef2.Width;
        float height = ef2.Height;
        float num3   = (size.Width / ((float)group.CoordSizeWidth)) * width;
        float num4   = (size.Height / ((float)group.CoordSizeHeight)) * height;

        return(new Class673(r➂, num3, num4, ((float)group.Rotation) + class2.method_3()));
    }
Esempio n. 2
0
    internal Class316(ShapeObject A_0, SizeF A_1, Class673 A_2, bool A_3)
    {
        this.sizeF_0       = SizeF.Empty;
        this.shapeObject_0 = A_0;
        this.sizeF_0       = A_1.IsEmpty ? this.shapeObject_0.Size : A_1;
        this.spr➂_0        = A_2.method_0();
        SizeF ef = smethod_0(A_0, A_2.method_1(), A_2.method_2());

        this.float_0           = ef.Width;
        this.float_1           = ef.Height;
        this.float_2           = A_2.method_3();
        this.limoStretchType_0 = LimoStretchType.None;
        this.float_3           = 0f;
        this.spr➂_1            = null;
        this.int_0             = A_0.LimoX;
        this.int_1             = A_0.LimoY;
        this.method_7(A_3);
    }