Example #1
0
    private static void smethod_3(sprᮃ A_0, spr⤿ A_1, Size A_2, Class378 A_3)
    {
        int num = 13;

        if (A_0 == null)
        {
            throw new ArgumentNullException(BookmarkStart.b("刲䔴䐶", num));
        }
        if (A_1 == null)
        {
            throw new ArgumentNullException(BookmarkStart.b("吲匴伶", num));
        }
        A_1.ᜅ();
        if (A_3.method_9())
        {
            A_1.ᜀ();
        }
        if (A_3.method_11())
        {
            A_1.ᜃ();
        }
        A_1.ᜀ(A_3.method_13(), 0f, 0f, (float)A_2.Width, (float)A_2.Height);
        A_1.ᜀ(A_3.method_0());
        new Class450().method_0(A_0, A_1.ᜆ());
    }
Example #2
0
    internal static spr➓ smethod_0(Class672 A_0)
    {
        WordArt wordArt = A_0.method_28().WordArt;
        spr➓    r➓      = new spr➓();

        if (sprḆ.(wordArt.Text))
        {
            string str          = Class955.smethod_7(wordArt.Text);
            spr⚪   r⚪           = A_0.method_18();
            spr⡅   r⡅2          = A_0.method_19() as spr⡅;
            spr⡅   r⡅           = (r⚪ == null) ? null : (r⚪.() as spr⡅);
            SizeF  sizeInPoints = A_0.method_28().SizeInPoints;
            float  width        = sizeInPoints.Width;
            float  height       = sizeInPoints.Height;
            float  rotation     = (float)A_0.method_28().Rotation;
            int    num7         = smethod_1(wordArt.Bold, wordArt.Italic, wordArt.Underline);
            sprᝪ   rᝪ           = spr᮵.ᜂ().ᜀ(wordArt.FontFamily, height, (FontStyle)num7, wordArt.FontFamily);
            PointF tf           = new PointF(0f, rᝪ.ᜑ() - (rᝪ.ᜏ() - rᝪ.ᜃ()));
            sprⓚ   rⓚ2          = ((r⡅2 == null) || sprⓚ.ᜁ(r⡅2.ᜀ(), null)) ? sprⓚ.ទ : r⡅2.ᜀ();
            sprⓚ   rⓚ           = ((r⡅ == null) || sprⓚ.ᜁ(r⡅.ᜀ(), null)) ? sprⓚ.ទ : r⡅.ᜀ();
            spr⚢   r⚢           = new spr⚢(rᝪ, rⓚ2, rⓚ, tf, str, SizeF.Empty, (float)wordArt.Spacing);
            SizeF  ef           = rᝪ.ᜃ(str);
            float  num2         = width / ef.Width;
            r⚢.ᜀ(new spr➂(num2, 0f, 0f, 1f, 0f, 0f));
            if (rotation != 0f)
            {
                float x = width * 0.5f;
                float y = height * 0.5f;
                r⚢.ᜃ().ᜀ(rotation, new PointF(x, y), MatrixOrder.Append);
            }
            r➓.ᜁ(r⚢);
        }
        return(r➓);
    }
Example #3
0
    internal static spr᧢ smethod_14(ShapeObject A_0, SizeF A_1)
    {
        VMLFill fill = A_0.Fill;

        if (Class1022.smethod_0(A_1))
        {
            return(null);
        }
        if (smethod_4(fill))
        {
            return(smethod_1(sprⓚ.ᜀ(fill.ColorInternal), fill.Opacity));
        }
        RectangleF ef            = new RectangleF(0f, 0f, A_1.Width, A_1.Height);
        float      num           = -((float)fill.Angle) - 90f;
        float      totalRotation = (float)A_0.TotalRotation;
        RectangleF empty         = RectangleF.Empty;
        spr➂       r➂            = new spr➂();

        if (A_0.IsTextureRotated)
        {
            r➂.ᜀ(totalRotation + num, spr⃸.ᜁ(ef));
            empty = spr⃸.ᜁ(ef, -num);
        }
        else
        {
            r➂.ᜀ(num, spr⃸.ᜁ(ef));
            empty = spr⃸.ᜁ(spr⃸.ᜁ(ef, totalRotation), -num);
        }
        spr⡀ r⡀ = new spr⡀(empty);

        r⡀.ᜀ(r➂);
        smethod_7(fill, r⡀);
        return(r⡀);
    }
Example #4
0
    private void method_3(Class826 A_0)
    {
        switch (A_0.method_20())
        {
        case ShapeLineStyle.Single:
        {
            float[] numArray = new float[2];
            numArray[1] = 1f;
            this.spr⚪_0.ᜀ(numArray);
            return;
        }

        case ShapeLineStyle.Double:
            this.spr⚪_0.ᜀ(new float[] { 0f, 0.3333333f, 0.6666667f, 1f });
            return;

        case ShapeLineStyle.ThickThin:
            this.spr⚪_0.ᜀ(new float[] { 0f, 0.6f, 0.8f, 1f });
            return;

        case ShapeLineStyle.ThinThick:
            this.spr⚪_0.ᜀ(new float[] { 0f, 0.2f, 0.4f, 1f });
            return;

        case ShapeLineStyle.Triple:
            this.spr⚪_0.ᜀ(new float[] { 0f, 0.1666667f, 0.3333333f, 0.6666667f, 0.8333333f, 1f });
            return;
        }
    }
Example #5
0
    internal spr➂ method_3(spr❯ A_0, bool A_1, VMLFill A_2)
    {
        PointF[] tfArray2 = new PointF[] { PointF.Empty, new PointF((float)this.shapeObject_0.CoordSizeWidth, 0f), new PointF((float)this.shapeObject_0.CoordSizeWidth, (float)this.shapeObject_0.CoordSizeHeight), new PointF(0f, (float)this.shapeObject_0.CoordSizeHeight) };
        this.method_1(tfArray2, false);
        RectangleF ef     = smethod_6(tfArray2);
        float      x      = ef.X;
        float      y      = ef.Y;
        float      width  = ef.Width;
        float      height = ef.Height;

        if (this.shapeObject_0.IsTextureRotated)
        {
            RectangleF ef2 = this.shapeObject_0.method_47(new RectangleF(0f, 0f, this.sizeF_0.Width, this.sizeF_0.Height));
            width  = ef2.Width;
            height = ef2.Height;
        }
        RectangleF ef3 = new RectangleF(x, y, width, height);

        if (!A_2.Tiled)
        {
            this.method_6(ref ef3, A_2.Stretch);
        }
        else
        {
            this.method_4(ref ef3, A_2.Tile, A_0, ef);
        }
        x      = ef3.X;
        y      = ef3.Y;
        width  = ef3.Width;
        height = ef3.Height;
        float num6 = width / ((float)A_0.ᜑ().Width);
        float num5 = height / ((float)A_0.ᜑ().Height);

        if (A_1)
        {
            if (num6 > num5)
            {
                num5 = num6;
            }
            else
            {
                num6 = num5;
            }
        }
        spr➂ r➂ = new spr➂();

        r➂.ᜁ(num6, num5, MatrixOrder.Prepend);
        double num7 = this.float_2 + this.shapeObject_0.Rotation;

        if (this.shapeObject_0.IsTextureRotated && (num7 != 0.0))
        {
            x = tfArray2[0].X;
            y = tfArray2[0].Y;
            r➂.ᜀ((float)num7, MatrixOrder.Append);
        }
        r➂.ᜀ(x, y, MatrixOrder.Append);
        return(r➂);
    }
Example #6
0
    private void method_28(spr➎ A_0, spr│ A_1, Stream A_2)
    {
        spr╞ r╞ = new spr╞();
        spr│ r│ = new spr│();

        r│.ᜀ(A_1.ᜄ(), A_1.ᜀ());
        r│.(A_1.ᜂ());
        r│.ᜇ(A_1.ᜆ());
        r╞.ᜀ(A_0, A_1, A_2);
    }
Example #7
0
 internal void method_0(sprᲆ A_0, sprᲆ[] A_1)
 {
     if ((A_1 != null) && (A_1.Length >= this.int_0))
     {
         Class1121 class2 = new Class1121();
         class2.method_1(this.spr➓_0.ᜀ(A_0));
         if (class2.method_0() != -1)
         {
             class2.method_3(A_1);
             this.arrayList_0.Add(class2);
         }
     }
 }
Example #8
0
    private static void smethod_4(Class724 A_0, PointF[] A_1)
    {
        spr➂   r➂            = new spr➂();
        double totalRotation = A_0.method_3().TotalRotation;
        PointF tf            = A_1[0];
        PointF tf2           = A_1[2];

        if (totalRotation != 0.0)
        {
            r➂.ᜀ((float)totalRotation, new PointF(tf.X + ((tf2.X - tf.X) * 0.5f), tf.Y + ((tf2.Y - tf.Y) * 0.5f)));
        }
        r➂.ᜀ(A_1);
    }
Example #9
0
    internal static spr➂ smethod_9(ShapeBase A_0, SizeF A_1, bool A_2)
    {
        int   coordOriginX    = A_0.CoordOriginX;
        int   coordOriginY    = A_0.CoordOriginY;
        int   coordSizeWidth  = A_0.CoordSizeWidth;
        int   coordSizeHeight = A_0.CoordSizeHeight;
        float num5            = coordSizeWidth * 0.5f;
        float num6            = coordSizeHeight * 0.5f;

        if (A_1.IsEmpty)
        {
            A_1 = A_0.Size;
        }
        float num7 = A_1.Width / ((float)coordSizeWidth);
        float num8 = A_1.Height / ((float)coordSizeHeight);

        if (A_2)
        {
            num7 = A_1.Height / ((float)coordSizeHeight);
            num8 = A_1.Width / ((float)coordSizeWidth);
        }
        spr➂ r➂ = new spr➂();

        r➂.ᜀ((float)-coordOriginX, (float)-coordOriginY, MatrixOrder.Append);
        r➂.ᜀ(-num5, -num6, MatrixOrder.Append);
        switch (A_0.FlipOrientation)
        {
        case FlipOrientation.Horizontal:
            r➂.ᜁ(-1f, 1f, MatrixOrder.Append);
            break;

        case FlipOrientation.Vertical:
            r➂.ᜁ(1f, -1f, MatrixOrder.Append);
            break;

        case FlipOrientation.Both:
            r➂.ᜁ(-1f, -1f, MatrixOrder.Append);
            break;
        }
        r➂.ᜁ(num7, num8, MatrixOrder.Append);
        r➂.ᜀ((float)A_0.Rotation, MatrixOrder.Append);
        r➂.ᜀ(num5 * num7, num6 * num8, MatrixOrder.Append);
        if (!A_0.IsTopLevel)
        {
            r➂.ᜀ((float)A_0.Left, (float)A_0.Top, MatrixOrder.Append);
        }
        return(r➂);
    }
Example #10
0
    internal static spr➓ smethod_0(Class672 A_0)
    {
        SizeF        ef2;
        WordArt      wordArt      = A_0.method_28().WordArt;
        spr➓         r➓           = A_0.method_10();
        spr⚪         r⚪           = A_0.method_18();
        spr᧢         r᧢           = A_0.method_19();
        SizeF        sizeInPoints = A_0.method_28().SizeInPoints;
        float        height       = sizeInPoints.Height;
        GraphicsPath path         = smethod_3(wordArt, height, out ef2);

        if (path.PointCount == 0)
        {
            return(null);
        }
        if ((r➓.() == 1) && wordArt.FitShape)
        {
            sprᲆ rᲆ = r➓.ᜀ(0);
            if (rᲆ.() == 2)
            {
                spr➓ r➓2;
                try
                {
                    r➓2 = smethod_2(smethod_7(path, (sprᧂ)rᲆ.ᜀ(0), (sprᧂ)rᲆ.ᜀ(1), wordArt.Trim, height, ef2), r⚪, r᧢);
                }
                catch (Exception8)
                {
                    goto Label_00B8;
                }
                return(r➓2);
            }
        }
Label_00B8:
        return(smethod_2(smethod_1(A_0, path, sizeInPoints), r⚪, r᧢));
    }
Example #11
0
 private sprᲆ[] method_0(sprᲆ A_0, spr⇻ A_1)
 {
     this.spr⇻_0 = A_1.ᜁ();
     if (((this.spr⇻_0.ᜂ() == 1) && (this.spr⇻_0.ᜃ().ᜃ() == null)) && (this.spr⇻_0.ᜀ().ᜃ() == null))
     {
         return(null);
     }
     this.sprᲆ_0 = new sprᲆ();
     this.sprᲆ_0.ᜀ(A_0.ᜀ().());
     this.sprᲆ_1 = new sprᲆ(A_0.ᜀ().ᜈ());
     this.sprᲆ_1.ᜀ().ᜂ((this.spr⇻_0.ᜄ() <= 0.75f) ? 0.75f : this.spr⇻_0.ᜄ());
     this.sprᲆ_1.ᜀ().ᜀ(DashStyle.Solid);
     this.sprᲆ_1.ᜀ().ᜀ(LineJoin.Miter);
     this.sprᲆ_1.ᜀ().ᜁ(LineCap.Round);
     this.sprᲆ_1.ᜀ().ᜀ(LineCap.Round);
     for (int i = 0; i < A_0.(); i++)
     {
         sprᧂ rᧂ = A_0.ᜀ(i);
         if (!rᧂ.ᜁ() && (rᧂ.() != 0))
         {
             this.bool_0 = true;
             rᧂ.ᜀ(0).ᜀ(this);
             this.bool_0 = false;
             rᧂ.ᜀ(rᧂ.() - 1).ᜀ(this);
         }
     }
     return(new sprᲆ[] { this.sprᲆ_0, this.sprᲆ_1 });
 }
Example #12
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()));
    }
Example #13
0
 internal void method_1(PointF[] A_0, bool A_1)
 {
     if (this.limoStretchType_0 != LimoStretchType.None)
     {
         for (int i = 0; i < A_0.Length; i++)
         {
             PointF tf = A_0[i];
             float  x  = tf.X;
             float  y  = tf.Y;
             if (this.limoStretchType_0 == LimoStretchType.AlongX)
             {
                 if (x > this.int_0)
                 {
                     x += this.float_3;
                 }
             }
             else if (y > this.int_1)
             {
                 y += this.float_3;
             }
             A_0[i] = new PointF(x, y);
         }
     }
     if (A_1)
     {
         this.spr➂_2.ᜀ(A_0);
     }
     else
     {
         this.spr➂_1.ᜀ(A_0);
     }
 }
Example #14
0
    private void method_12(Class724 A_0, Class673 A_1, Class69 A_2, bool A_3)
    {
        spr➓        r➓   = A_2.method_1();
        ShapeObject obj2 = (ShapeObject)A_0.method_3();

        if (this.class672_0.method_10() != null)
        {
            Class1024 class2 = new Class1024();
            int       num    = this.class672_0.method_10().();
            if (obj2.HorizontalRule.method_0())
            {
                spr➓ r➓2 = new spr➓();
                r➓.ᜁ(r➓2);
                r➓ = r➓2;
                smethod_2(obj2.HorizontalRule.method_6(), A_0.method_4().Width, A_0.method_1(), r➓2);
            }
            PointF[]  tfArray = this.method_13(obj2);
            Class1021 class3  = (tfArray == null) ? ((A_3 || A_0.method_14()) ? new Class1021(base.sprℭ_0) : null) : null;
            this.method_14(r➓, num, class2, class3);
            this.method_15(r➓, obj2, A_1, class3);
            this.method_16(r➓, num, class2, class3);
            A_2.method_3((tfArray != null) ? new Class722(tfArray, true) : ((class3 != null) ? class3.method_4() : null));
        }
        this.class315_0.method_1(this.class672_0, r➓);
        if (((obj2.ParentObject != null) && (obj2.ParentObject.DocumentObjectType == DocumentObjectType.ShapeGroup)) && sprḆ.(obj2.HRef))
        {
            r➓.ᜀ(new spr⠱(obj2.BoundsInPoints, obj2.HRef));
        }
    }
Example #15
0
    private spr➂ method_6(float A_0)
    {
        spr➂ r➂ = new spr➂();

        r➂.ᜀ(A_0, MatrixOrder.Append);
        if (A_0 == 90f)
        {
            r➂.ᜀ(this.rectangleF_0.Height, 0f, MatrixOrder.Append);
        }
        else if (A_0 == -90f)
        {
            r➂.ᜀ(0f, this.rectangleF_0.Width, MatrixOrder.Append);
        }
        r➂.ᜀ(this.rectangleF_0.X, this.rectangleF_0.Y, MatrixOrder.Append);
        return(r➂);
    }
Example #16
0
    private void method_8(float A_0, float A_1, float A_2, float A_3, float A_4, float A_5)
    {
        PointF[] tfArray2 = new PointF[] { new PointF(A_2, A_3) };
        spr➂     r➂       = new spr➂();

        r➂.ᜀ(-A_4, -A_5, MatrixOrder.Append);
        r➂.ᜁ(A_0, A_1, MatrixOrder.Append);
        if (!this.shapeObject_0.IsTopLevel)
        {
            r➂.ᜀ((float)this.shapeObject_0.Left, (float)this.shapeObject_0.Top, MatrixOrder.Append);
        }
        r➂.ᜀ(this.spr➂_0, MatrixOrder.Append);
        r➂.ᜀ((-A_2 * A_0) * this.float_0, (-A_3 * A_1) * this.float_1, MatrixOrder.Append);
        r➂.ᜀ(tfArray2);
        this.pointF_0 = tfArray2[0];
    }
Example #17
0
 private spr➎ method_6()
 {
     try
     {
         if (this.byte_0 == null)
         {
             return(null);
         }
         byte[] buffer = null;
         if (this.embeddedFontFormat_0 == EmbeddedFontFormat.OpenType)
         {
             buffer = this.byte_0;
         }
         else if (this.embeddedFontFormat_0 == EmbeddedFontFormat.EmbeddedOpenType)
         {
             buffer = spr᩼.ᜂ(this.byte_0);
         }
         if (buffer == null)
         {
             return(null);
         }
         spr╞ r╞ = new spr╞();
         return(r╞.ᜀ(buffer, null));
     }
     catch (Exception)
     {
         return(null);
     }
 }
Example #18
0
    private spr➓ method_13()
    {
        spr➓ r➓ = new spr➓();

        r➓.ᜀ(this.method_15());
        return(r➓);
    }
Example #19
0
 public spr⊗ method_6(byte[] A_0)
 {
     using (spr⊗ r⊗ = new spr⊗(A_0))
     {
         Rectangle rectangle = this.method_4(new Rectangle(0, 0, r⊗.ᜃ(), r⊗.()));
         return(r⊗.ᜀ(rectangle));
     }
 }
Example #20
0
    internal spr➓ method_1(PointF A_0)
    {
        spr➓ r➓ = new spr➓();

        r➓.ᜀ(smethod_0(A_0));
        this.method_0(r➓);
        return(r➓);
    }
Example #21
0
 private Class622 method_1(spr➓ A_0, RectangleF A_1)
 {
     this.rectangleF_0 = A_1;
     this.class622_0   = new Class622();
     this.arrayList_0  = new ArrayList();
     A_0.ᜀ(this);
     return(this.class622_0);
 }
Example #22
0
    internal static spr➂ smethod_8(ShapeBase A_0, Class673 A_1)
    {
        float num7;
        float num8;
        int   coordOriginX = A_0.CoordOriginX;
        int   coordOriginY = A_0.CoordOriginY;
        float width        = (float)A_0.Width;
        float height       = (float)A_0.Height;
        float num5         = width * 0.5f;
        float num6         = height * 0.5f;
        spr➂  r➂           = new spr➂();

        r➂.ᜀ((float)-coordOriginX, (float)-coordOriginY, MatrixOrder.Append);
        r➂.ᜀ(-num5, -num6, MatrixOrder.Append);
        switch (A_0.FlipOrientation)
        {
        case FlipOrientation.Horizontal:
            r➂.ᜁ(-1f, 1f, MatrixOrder.Append);
            break;

        case FlipOrientation.Vertical:
            r➂.ᜁ(1f, -1f, MatrixOrder.Append);
            break;

        case FlipOrientation.Both:
            r➂.ᜁ(-1f, -1f, MatrixOrder.Append);
            break;
        }
        float num9 = ((float)A_0.Rotation) + A_1.method_3();

        r➂.ᜁ(A_1.method_1(), A_1.method_2(), MatrixOrder.Append);
        r➂.ᜀ(num9, MatrixOrder.Append);
        if (((Math.Abs((float)(num9 % 180f)) == 90f) && !A_0.IsInline) && !(A_0.ParentObject is ShapeGroup))
        {
            num7 = num6;
            num8 = num5;
        }
        else
        {
            num7 = num5;
            num8 = num6;
        }
        r➂.ᜀ(num7 * A_1.method_1(), num8 * A_1.method_2(), MatrixOrder.Append);
        return(r➂);
    }
Example #23
0
    private void method_7(bool A_0)
    {
        int   num6            = A_0 ? 0 : this.shapeObject_0.CoordOriginX;
        int   num9            = A_0 ? 0 : this.shapeObject_0.CoordOriginY;
        int   coordSizeWidth  = this.shapeObject_0.CoordSizeWidth;
        int   coordSizeHeight = this.shapeObject_0.CoordSizeHeight;
        float num8            = coordSizeWidth * 0.5f;
        float num4            = coordSizeHeight * 0.5f;
        float num3            = this.sizeF_0.Width / ((float)coordSizeWidth);
        float num2            = this.sizeF_0.Height / ((float)coordSizeHeight);
        float rotation        = (float)this.shapeObject_0.Rotation;

        if ((this.int_0 != 0) || (this.int_1 != 0))
        {
            if (num3 > num2)
            {
                this.limoStretchType_0 = LimoStretchType.AlongX;
                this.float_3           = coordSizeWidth * ((num3 / num2) - 1f);
                num8 += this.float_3 * 0.5f;
            }
            else
            {
                this.limoStretchType_0 = LimoStretchType.AlongY;
                this.float_3           = coordSizeHeight * ((num2 / num3) - 1f);
                num4 += this.float_3 * 0.5f;
            }
            float num5 = Math.Min(num3, num2);
            num3 = num5;
            num2 = num5;
        }
        this.method_8(num3, num2, num8, num4, (float)num6, (float)num9);
        this.spr➂_1 = new spr➂();
        this.spr➂_1.ᜀ((float)-num6, (float)-num9, MatrixOrder.Append);
        this.spr➂_1.ᜀ(-num8, -num4, MatrixOrder.Append);
        num3       *= this.float_0;
        num2       *= this.float_1;
        this.spr➂_2 = this.spr➂_1.ᜎ();
        this.spr➂_1.ᜁ(num3, num2, MatrixOrder.Append);
        this.spr➂_2.ᜁ(num3, num2, MatrixOrder.Append);
        this.spr➂_1.ᜀ(rotation, MatrixOrder.Append);
        smethod_7(this.shapeObject_0, this.spr➂_1);
        this.spr➂_1.ᜀ(this.float_2, MatrixOrder.Append);
        this.spr➂_1.ᜀ(num8 * num3, num4 * num2, MatrixOrder.Append);
        this.spr➂_2.ᜀ(num8 * num3, num4 * num2, MatrixOrder.Append);
    }
Example #24
0
 internal void method_1(Class672 A_0, spr➓ A_1)
 {
     if ((this.interface55_0 != null) && this.interface55_0.imethod_13(A_0.method_28()))
     {
         ShapeObject obj2 = A_0.method_28();
         float       num  = smethod_2(obj2);
         this.rectangleF_0 = smethod_0(A_0, num);
         float width = this.rectangleF_0.Width;
         spr➓  r➓    = this.method_4(A_0);
         if (r➓ != null)
         {
             r➓.ᜀ(this.method_6(num));
             Class551 class2 = this.method_2(obj2);
             r➓.ᜀ(sprᲆ.ᜂ(new RectangleF(-class2.method_0(), 0f, (class2.method_0() + class2.method_1()) + width, this.rectangleF_0.Height)));
             A_1.ᜁ(r➓);
         }
     }
 }
Example #25
0
    private void method_2()
    {
        Class826 stroke = this.shapeObject_0.Stroke;

        if (!stroke.method_0())
        {
            this.spr⚪_0 = null;
        }
        else
        {
            switch (stroke.method_12())
            {
            case LineFillType.Pattern:
            {
                spr᧢ r᧢2 = Class1075.smethod_2(stroke.method_36(), null, sprឦ.ᜀ(stroke.method_6()), sprឦ.ᜀ(stroke.method_10()));
                this.spr⚪_0 = new spr⚪(r᧢2);
                break;
            }

            case LineFillType.Texture:
            case LineFillType.Picture:
            {
                spr⍂ r⍂ = new spr⍂(stroke.method_36());
                this.spr⚪_0 = new spr⚪(r⍂);
                break;
            }

            default:
            {
                spr᧢ r᧢ = Class1075.smethod_1(sprⓚ.ᜀ(stroke.method_6()), stroke.method_34());
                this.spr⚪_0 = new spr⚪(r᧢);
                break;
            }
            }
            this.spr⚪_0.ᜀ(Class1022.smethod_2(stroke.method_16()));
            this.spr⚪_0.ᜂ(this.method_27());
            this.method_3(stroke);
            this.method_4(stroke);
            LineCap cap = Class1022.smethod_3(stroke.method_18());
            this.spr⚪_0.ᜀ(Class1022.smethod_4(stroke.method_18()));
            this.spr⚪_0.ᜀ(cap);
            this.spr⚪_0.ᜁ(cap);
        }
    }
Example #26
0
 private PsLineEndType method_3()
 {
     if (!this.bool_0)
     {
         return(this.spr⇻_0.ᜀ().ᜃ());
     }
     return(this.spr⇻_0.ᜃ().ᜃ());
 }
Example #27
0
 internal void method_13(spr➂ A_0)
 {
     if (!spr➂.ᜁ(A_0, null) && !A_0.ᜈ())
     {
         foreach (Class886 class2 in this.arrayList_0)
         {
             class2.method_3(A_0.ᜀ(class2.method_2()));
         }
     }
 }
Example #28
0
    internal static spr⊗ smethod_1(sprᮃ A_0, SizeF A_1, Class378 A_2)
    {
        Size size = Class969.smethod_5(A_1, A_2.method_0(), (double)A_2.method_1());
        spr⊗ r⊗   = new spr⊗(size.Width, size.Height, A_2.method_1(), A_2.method_1(), A_2.method_5());

        using (spr⤿ r⤿ = new spr⤿(r⊗))
        {
            smethod_3(A_0, r⤿, size, A_2);
        }
        r⊗.ᜀ(new spr⇼(A_2.method_2(), A_2.method_3(), A_2.method_4()));
        return(r⊗);
    }
Example #29
0
    public override void vmethod_0(spr➓ A_0)
    {
        Class549 class2 = new Class549(A_0.ᜀ());

        if (A_0.ᜃ() != null)
        {
            sprᲆ rᲆ = new Class1024().method_0(A_0.ᜃ(), false, false);
            rᲆ.ᜀ(new spr⚪(sprⓚ.));
            rᲆ.ᜀ().ᜂ(0f);
            Class622 class4 = Class548.smethod_0(rᲆ);
            class2.method_3((class4.method_8() > 0) ? class4.method_9(0) : null);
        }
        this.arrayList_0.Add(class2);
    }
Example #30
0
    internal static byte[] smethod_5(DocPicture A_0)
    {
        byte[] imageBytes = A_0.ImageBytes;
        spr⇼   r⇼         = smethod_7(A_0);

        if (!r⇼.ᜀ())
        {
            if (!A_0.ImageRecord.method_15())
            {
                return(imageBytes);
            }
            ImageSize size = new ImageSize(((int)A_0.Size.Width) * 0x319c, ((int)A_0.Size.Height) * 0x319c);
            if (spr≨.ᜀ(size.WidthPixels, size.HeightPixels))
            {
                return(imageBytes);
            }
            ImageFormat png = Class409.smethod_0(A_0.ImageRecord.method_3());
            switch (Class783.smethod_1(png))
            {
            case BlipImageType.Emf:
            case BlipImageType.Wmf:
                imageBytes = spr᪻.ᜀ(imageBytes, new SizeF((float)size.HorizontalResolution, (float)size.VerticalResolution));
                png        = ImageFormat.Png;
                break;
            }
            using (spr⊗ r⊗ = new spr⊗(imageBytes))
            {
                r⊗.ᜀ(r⇼);
                using (MemoryStream stream = new MemoryStream())
                {
                    r⊗.ᜀ(stream, smethod_6(png));
                    imageBytes = sprḆ.ᜀ(stream);
                }
            }
        }
        return(imageBytes);
    }