diff --git a/examples/graphs/graphprinting/graphprinter.cpp b/examples/graphs/graphprinting/graphprinter.cpp index 946a65ad..e91024f4 100644 --- a/examples/graphs/graphprinting/graphprinter.cpp +++ b/examples/graphs/graphprinting/graphprinter.cpp @@ -51,6 +51,8 @@ qreal GraphPrinter::maxTextureSize() s_maxTextureSize = 4096.; // Use 4096 as the minimum } + qDebug() << "Max texture size is" << s_maxTextureSize; + return s_maxTextureSize; } diff --git a/examples/graphs/graphprinting/qml/graphprinting/main.qml b/examples/graphs/graphprinting/qml/graphprinting/main.qml index b4f4082d..6292c36e 100644 --- a/examples/graphs/graphprinting/qml/graphprinting/main.qml +++ b/examples/graphs/graphprinting/qml/graphprinting/main.qml @@ -276,6 +276,8 @@ Rectangle { // resize the bar graph to match the PDF output size item.width = outputsize.width item.height = outputsize.height + + console.info("Item size is " + outputsize + " and device pixel ratio is " + Screen.devicePixelRatio) } else { outputsize = Qt.size(linegraph.width * 4, linegraph.height * 4) }