Exemplo n.º 1
0
 // -------------------------------------------------
 public AreaOnScreen (MSPlot plot, int [] iFunc, MSPlotAuxi [] auxi, FunctionAccess [] acs)  
 {
     area = plot;
     ifunc = iFunc;
     auxidraw = auxi;
     acsfuncs = acs;
     Rectangle rc = area .MainArea .Area;
 }
Exemplo n.º 2
0
 // -------------------------------------------------
 public FuncInputInfo (string strShow, FunctionAccess access, double xL, double xR, double yT, double yB)
 {
     strNameOnScreen = strShow;
     funaccess = access;
     fX_L = xL;
     fX_R = xR;
     fY_T = yT;
     fY_B = yB;
 }
Exemplo n.º 3
0
 // -------------------------------------------------        CreateAreaOnScreen
 private AreaOnScreen CreateAreaOnScreen (MSPlot plot, int [] nFuncs)
 {
     MSPlotAuxi [] auxi = new MSPlotAuxi [nFuncs .Length];
     FunctionAccess [] acs = new FunctionAccess [nFuncs .Length];
     for (int i = 0; i < nFuncs .Length; i++)
     {
         acs [i] = funcInputInfo [nFuncs [i]] .FunctionAccess;
         auxi [i] = new MSPlotAuxi (i, SegmentLocation .Partly_Inside);
         if (acs [i] .Source == DataSource .ParametricFunction ||
             acs [i] .Source == DataSource .InterpreterParametric)
         {
             auxi [i] .ParamTrio (acs [i] .ParamFrom, acs [i] .ParamTo, acs [i] .ParamStep);
         }
     }
     return (new AreaOnScreen (plot, nFuncs, auxi, acs));   
 }