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