private float method_29(float A_0, float A_1, float A_2, PageBorderArtElementPosition A_3) { if (A_3 == PageBorderArtElementPosition.Middle) { return((A_0 * A_1) + A_2); } return(A_0); }
internal byte[] method_4(BorderType A_0, PageBorderArtElementPosition A_1) { switch (A_0) { case BorderType.Bottom: return(this.byte_2[(int)A_1]); case BorderType.Left: return(this.byte_3); case BorderType.Right: return(this.byte_1); case BorderType.Top: return(this.byte_0[(int)A_1]); } return(new byte[0]); }
internal void method_3(BorderType A_0, PageBorderArtElementPosition A_1, byte[] A_2) { switch (A_0) { case BorderType.Bottom: this.byte_2[(int)A_1] = A_2; return; case BorderType.Left: this.byte_3 = A_2; return; case BorderType.Right: this.byte_1 = A_2; return; case BorderType.Top: this.byte_0[(int)A_1] = A_2; return; } }
private spr➓ method_26(PointF A_0, PointF A_1, float A_2, bool A_3) { Class1025 class2 = Class779.smethod_0((PageBorderArt)this.method_41()); float num = A_3 ? (A_1.X - A_0.X) : (A_1.Y - A_0.Y); float num4 = A_3 ? class2.method_1() : class2.method_2(); num4 = this.method_27(num4, num, A_2, A_3); int num3 = this.method_31(num, A_2, num4, A_3); float num5 = this.method_32(num, A_2, num4, A_3); float num7 = 0f; spr➓ r➓ = new spr➓(); for (int i = 0; i < num3; i++) { PageBorderArtElementPosition position = this.method_28(i, num3, A_3); float width = this.method_29(A_2, num4, num5, position); SizeF ef = A_3 ? new SizeF(width, A_2) : new SizeF(A_2, width); sprἣ sprἣ = new sprἣ(this.method_30(A_0, num7, A_2, A_3), ef, class2.method_4(this.method_36(), position)); r➓.ᜁ(sprἣ); num7 += width; } return(r➓); }