TreeNode::Clone

TreeNode::Clone
TreeNode* Clone(Context* context) const;
Description

Clone clones TreeNode and subtree, potentially in new context. Used by DrawableImage to capture tree state. Shared data (such as Shapes and images) will be AddRefed.

Parameters
Parameters 
Description 
Context* context 
The new render context. 
Return Value

The cloned TreeNode.