Отладка перпендикулярности

Перенос солвера для canvas в отдельную функцию (краш на QPen)
This commit is contained in:
2025-12-15 22:45:11 +03:00
parent d5c7e8d765
commit 72c0c24318
5 changed files with 88 additions and 44 deletions

View File

@@ -1,7 +1,5 @@
#pragma once
#define WIDGET_POSITION event->pos()
#define UCS_POSITION screenToLogical(WIDGET_POSITION)
constexpr auto EPS = 1e-9;
#include <QWidget>
#include <QMouseEvent>
@@ -148,4 +146,6 @@ private:
std::variant<LinePair, PointPair> data;
};
std::map<int, ConstraintInfo> C_Info;
void solve_for_canvas();
};