struct SVGMatrix
{
Real a; // width
- Real b; // skew y by x
Real c; // skew x by y
- Real d; // height
Real e; // translate x
+
+ Real b; // skew y by x
+ Real d; // height
Real f; // translate y
};
// SVG matrix transforms (x,y) <- (a x' + c y' + e, b x' + d y' + f)
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);
+ // 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
private: