修改了points的检测格式
parent
18429b6867
commit
3efb7973b0
|
@ -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();
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue