示例#1
0
        Wc.CompositionPath GetCompositionPath(Wd.CompositionPath obj)
        {
            if (GetExisting(obj, out Wc.CompositionPath result))
            {
                return(result);
            }

            result = Cache(obj, new Wc.CompositionPath(GetCanvasGeometry(obj.Source)));
            return(result);
        }
示例#2
0
 public CompositionPathGeometry CreatePathGeometry(CompositionPath path) => new CompositionPathGeometry(path);