Пример #1
0
        /// <summary>
        /// Creates a new instance of <see cref="Windows.UI.Composition.Visual"/>
        /// described by the given <see cref="WinCompData.Visual"/>.
        /// </summary>
        /// <returns>The <see cref="Windows.UI.Composition.Visual"/>.</returns>
        internal static Wc.Visual CreateVisual(Wc.Compositor compositor, Wd.Visual visual)
        {
            var converter = new Instantiator(compositor);
            var result    = converter.GetVisual(visual);

            return(result);
        }
Пример #2
0
        Instantiator(Wc.Compositor compositor)
        {
            _c = compositor;
#if ReuseExpressionAnimation
            _expressionAnimation = _c.CreateExpressionAnimation();
#endif
        }
Пример #3
0
 internal Visual(Compositor compositor) : base(compositor)
 {
     InitializePartial();
 }
Пример #4
0
 public CompositionClip(Compositor compositor) : base(compositor)
 {
 }
Пример #5
0
 internal ContainerVisual(Compositor compositor) : base(compositor)
 {
     Children = new VisualCollection(compositor, this);
 }