X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=src%2Fdocument.h;h=94be6cc7e242a8f10aca386ec3411595ca10d15c;hb=c4f8f7c6c7e43fc9fd5358197ca866b4186f636c;hp=d67b0b20f6e1bf907fc4b011bfd789cdfaed175d;hpb=326f04a375ce3120f7e8957e3d7cd5f296f513e3;p=ipdf%2Fcode.git diff --git a/src/document.h b/src/document.h index d67b0b2..94be6cc 100644 --- a/src/document.h +++ b/src/document.h @@ -90,6 +90,8 @@ namespace IPDF inline const QuadTree& GetQuadTree() { if (m_quadtree.root_id == QUADTREE_EMPTY) { GenBaseQuadtree(); } return m_quadtree; } QuadTreeIndex GenQuadChild(QuadTreeIndex parent, QuadTreeNodeChildren type); QuadTreeIndex GenQuadParent(QuadTreeIndex child, QuadTreeNodeChildren mytype); + void OverlayQuadChildren(QuadTreeIndex orig_parent, QuadTreeIndex parent, QuadTreeNodeChildren type); + void PropagateQuadChanges(QuadTreeIndex node); // Returns the number of objects the current object formed when clipped, the objects in question are added to the end of the document. int ClipObjectToQuadChild(int object_id, QuadTreeNodeChildren type); #endif