feat: Add horizontal/vertical line snapping with visual indicator

Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat>
This commit is contained in:
2026-02-14 22:26:38 -07:00
parent 6e64856f23
commit 6e5a819c42
2 changed files with 90 additions and 0 deletions

View File

@@ -93,6 +93,8 @@ private:
bool m_isSnappingOrigin = false;
bool m_isSnappingVertex = false;
gp_Pnt m_snapVertex;
bool m_isSnappingHorizontal = false;
bool m_isSnappingVertical = false;
QMap<int, QSvgRenderer*> m_toolIcons;
QSvgRenderer* m_cursorRenderer = nullptr;