Ejemplo n.º 1
0
 protected CurvySplineEventArgs OnRefreshEvent(CurvySplineEventArgs e)
 {
     if (OnRefresh != null)
     {
         OnRefresh.Invoke(e);
     }
     return(e);
 }
Ejemplo n.º 2
0
 protected CurvySplineEventArgs OnAfterControlPointChangesEvent(CurvySplineEventArgs e)
 {
     if (OnAfterControlPointChanges != null)
     {
         OnAfterControlPointChanges.Invoke(e);
     }
     return(e);
 }
Ejemplo n.º 3
0
        void OnSplineRefresh(CurvySplineEventArgs e)
        {
            if (!Splines.Contains(e.Spline))
            {
                e.Spline.OnRefresh.RemoveListener(OnSplineRefresh);
                return;
            }
            if (!mIsInitialized)
            {
                return;
            }
            doRefreshLength();
            doGetProperties();

            OnRefreshEvent(new CurvySplineEventArgs(this));
        }
Ejemplo n.º 4
0
 void OnSplineRefresh(CurvySplineEventArgs e)
 {
     mNeedRefresh = true;
 }