|
inlinevirtual |
Adds a new collapsible node.
The AddBlock function creates a copy of the source node dynamically allocating a new node. Then it inserts the new subnode to the list of subnodes.
The following conditions are verified while adding new nodes:
Note, that all existing collapsible nodes that are intersected by the new node will be removed!
The BCGP_EDIT_OUTLINE_CHANGES structure is used to keep changes during insertions. The intersection of collapsible nodes is not allowed, therefore all intersected nodes will be removed and saved in BCGP_EDIT_OUTLINE_CHANGES structure.
changes | A reference to structure containing outline node changes. |
srcNode | A node to insert. |