
Originally Posted by
ChrisW67
Have you investigated the viewBoxF() of the loaded SVG?
No. ViewBox is not what i looking for. For my case they are the same:
qd << "defaultSize - " << rndr.defaultSize();
qd << "viewBoxF - " << rndr.viewBoxF();
void DialogImageProperies::showSVG(QSvgRenderer &rndr,QString sFile){
qd << "defaultSize - " << rndr.defaultSize();
qd << "viewBoxF - " << rndr.viewBoxF();
To copy to clipboard, switch view to plain text mode
And console output :
src\dlgImgProp.
cpp 52 defaultSize
- QSize(1250,
961)src\dlgImgProp.
cpp 53 viewBoxF
- QRectF(0,
0 1250x961.25
)
src\dlgImgProp.cpp 52 defaultSize - QSize(1250, 961)
src\dlgImgProp.cpp 53 viewBoxF - QRectF(0,0 1250x961.25)
To copy to clipboard, switch view to plain text mode
Bookmarks