修改了points的检测格式

dev-VirtualTexture
yang.yongquan 2023-01-19 12:54:14 +08:00
parent 18429b6867
commit 3efb7973b0
1 changed files with 6 additions and 6 deletions

View File

@ -2,6 +2,7 @@
#include "Renderer/Painting/CubicBezier.h" #include "Renderer/Painting/CubicBezier.h"
#include <QGuiApplication> #include <QGuiApplication>
#include <QtWidgets/QApplication> #include <QtWidgets/QApplication>
#include "Editor/third-party modules/util/SvgFileLoader.h"
using Renderer::CubicBezier; using Renderer::CubicBezier;
@ -12,10 +13,9 @@ extern "C"
int main(int argc, char *argv[]) int main(int argc, char *argv[])
{ {
QGuiApplication::setAttribute(Qt::AA_EnableHighDpiScaling); SvgFileLoader svgLoader;
QApplication::setHighDpiScaleFactorRoundingPolicy(Qt::HighDpiScaleFactorRoundingPolicy::PassThrough); QPainterPath painterPath;
QApplication a(argc, argv); svgLoader.loadSvgFile("D:/login.svg", painterPath);
MainWindow w; qDebug() << painterPath;
w.show(); return 0;
return a.exec();
} }