Exemple #1
0
        public BakedLayoutNode[] GetAllResultNodes()
        {
            var result = new BakedLayoutNode[this.rawToBakedLookup.Values.Count];

            this.rawToBakedLookup.Values.CopyTo(result, 0);
            return(result);
        }
Exemple #2
0
        public BakedLayoutNode GetNode(string name, Point offset)
        {
            var node = OriginalRoot.FindChildNodeWithName(name);

            var result = this.rawToBakedLookup[node];

            result = new BakedLayoutNode(result.PositionRelativeToRoot + offset, result.Size, result.NestingLevel);

            return(result);
        }
Exemple #3
0
 public void Add(LayoutNode key, BakedLayoutNode value)
 {
     this.rawToBakedLookup[key] = value;
 }