Example #1
0
    // Token: 0x060003AC RID: 940 RVA: 0x00009CB8 File Offset: 0x00007EB8
    public static GraphicsPath smethod_1(float float_0, float float_1, float float_2, float float_3, double double_0 = 0.3, bool bool_0 = true, bool bool_1 = true, bool bool_2 = true, bool bool_3 = true)
    {
        float        num  = GClass6.smethod_5(float_2, float_3) * (float)double_0;
        float        num2 = float_0 + float_2;
        float        num3 = float_1 + float_3;
        GraphicsPath graphicsPath_;
        GraphicsPath result = graphicsPath_ = GClass6.smethod_4();

        if (bool_0)
        {
            GClass6.smethod_6(graphicsPath_, float_0, float_1, num, num, 180f, 90f);
        }
        else
        {
            GClass6.smethod_7(graphicsPath_, float_0, float_1, float_0, float_1);
        }
        if (bool_1)
        {
            GClass6.smethod_6(graphicsPath_, num2 - num, float_1, num, num, 270f, 90f);
        }
        else
        {
            GClass6.smethod_7(graphicsPath_, num2, float_1, num2, float_1);
        }
        if (bool_2)
        {
            GClass6.smethod_6(graphicsPath_, num2 - num, num3 - num, num, num, 0f, 90f);
        }
        else
        {
            GClass6.smethod_7(graphicsPath_, num2, num3, num2, num3);
        }
        if (bool_3)
        {
            GClass6.smethod_6(graphicsPath_, float_0, num3 - num, num, num, 90f, 90f);
        }
        else
        {
            GClass6.smethod_7(graphicsPath_, float_0, num3, float_0, num3);
        }
        GClass6.smethod_8(graphicsPath_);
        return(result);
    }