Ejemplo n.º 1
0
        public static MoveViewJob GetInstance(ViewPortHandler viewPortHandler, float xValue, float yValue, Transformer trans, Charts.IChartBase v)
        {
            MoveViewJob result = pool.Get();

            result.ViewPortHandler = viewPortHandler;
            result.XValue          = xValue;
            result.YValue          = yValue;
            result.Transformer     = trans;
            result.View            = v;
            return(result);
        }
Ejemplo n.º 2
0
 public static void RecycleInstance(MoveViewJob instance)
 {
     pool.Recycle(instance);
 }