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); }
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); }