Ejemplo n.º 1
0
            internal KeyFrames RefineKeyFrames(KeyFrames keyFrames)
            {
                Debug.Assert(keyFrames != null);

                var refined = keyFrames;

                if (propertyValueConverter != null)
                {
                    // TODO Enable this code when csharp-binder is ready
                    // refined = new KeyFrames();
                    // for (uint i = 0; i < keyFrames.Count; i++)
                    // {
                    //     var keyFrame = keyFrames.GetKeyFrame(i);
                    //     var newKeyFrame = propertyValueConverter(keyFrame);
                    //     if (newKeyFrame == null)
                    //     {
                    //         return null;
                    //     }
                    //     refined.Add(newKeyFrame);
                    // }
                }

                return(refined);
            }
Ejemplo n.º 2
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(KeyFrames obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }