Пример #1
0
        // Token: 0x06000154 RID: 340 RVA: 0x0000C590 File Offset: 0x0000A790
        public GraphicsPath method_0(Rectangle rectangle_1, Control7.DispatcherToken dispatcherToken_0)
        {
            GraphicsPath graphicsPath = new GraphicsPath();

            if (dispatcherToken_0.m_ParamsToken)
            {
                graphicsPath.AddArc(new Rectangle(rectangle_1.X, rectangle_1.Y, rectangle_1.Height, rectangle_1.Height), -270f, 180f);
            }
            else
            {
                graphicsPath.AddLine(rectangle_1.X, rectangle_1.Y + rectangle_1.Height, rectangle_1.X, rectangle_1.Y);
            }
            if (dispatcherToken_0._UtilsToken)
            {
                graphicsPath.AddArc(new Rectangle(rectangle_1.X + rectangle_1.Width - rectangle_1.Height, rectangle_1.Y, rectangle_1.Height, rectangle_1.Height), -90f, 180f);
            }
            else
            {
                graphicsPath.AddLine(rectangle_1.X + rectangle_1.Width, rectangle_1.Y, rectangle_1.X + rectangle_1.Width, rectangle_1.Y + rectangle_1.Height);
            }
            graphicsPath.CloseAllFigures();
            return(graphicsPath);
        }
Пример #2
0
 // Token: 0x06000155 RID: 341 RVA: 0x00002E1D File Offset: 0x0000101D
 public object method_1(int int_1, int int_2, int int_3, int int_4, Control7.DispatcherToken dispatcherToken_0)
 {
     return(this.method_0(new Rectangle(int_1, int_2, int_3, int_4), dispatcherToken_0));
 }