예제 #1
0
        private void UpdateGraphExtents()
        {
            this.graph.graphExtents = GUILayoutUtility.GetWindowsBounds();
            Graph expr_1B_cp_0 = this.graph;

            expr_1B_cp_0.graphExtents.xMin = expr_1B_cp_0.graphExtents.xMin - this.m_Host.position.width * 0.6f;
            Graph expr_4B_cp_0 = this.graph;

            expr_4B_cp_0.graphExtents.xMax = expr_4B_cp_0.graphExtents.xMax + this.m_Host.position.width * 0.6f;
            Graph expr_7B_cp_0 = this.graph;

            expr_7B_cp_0.graphExtents.yMin = expr_7B_cp_0.graphExtents.yMin - this.m_Host.position.height * 0.6f;
            Graph expr_AB_cp_0 = this.graph;

            expr_AB_cp_0.graphExtents.yMax = expr_AB_cp_0.graphExtents.yMax + this.m_Host.position.height * 0.6f;
        }