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