Gui: set size of plane from loaded image file

This commit is contained in:
wmayer
2023-03-20 16:01:58 +01:00
parent 9b38980b7a
commit 9dc2eefca8
2 changed files with 93 additions and 34 deletions

View File

@@ -53,7 +53,12 @@ public:
void onChanged(const App::Property* prop) override;
private:
bool loadSvg(const char*, float x, float y, QImage& img);
void resizePlane(float xsize, float ysize);
void loadImage();
void reloadIfSvg();
bool loadSvg(const char*, double x, double y, QImage& img);
QSizeF loadRaster(const char*, QImage& img);
void convertToSFImage(const QImage& img);
void changeOrientation();
void scaleImage();