summaryrefslogtreecommitdiff
path: root/client/svgloader.cc
diff options
context:
space:
mode:
Diffstat (limited to 'client/svgloader.cc')
-rw-r--r--client/svgloader.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/client/svgloader.cc b/client/svgloader.cc
index 642fda3..e56e927 100644
--- a/client/svgloader.cc
+++ b/client/svgloader.cc
@@ -78,26 +78,26 @@ QImage SVGLoader::load(QString file, unsigned int width, unsigned int height, fl
if (width > 0) {
if (rwidth>width) {
wscale=(float)width/(float)rwidth;
- printf ("rwidth/width = %f\n", wscale);
+ // printf ("rwidth/width = %f\n", wscale);
} else {
wscale=(float)rwidth/(float)width;
- printf ("width/wwidth = %f\n", wscale);
+ // printf ("width/wwidth = %f\n", wscale);
}
} else {
width=(int)(rwidth*wscale);
- printf ("width = %i\n", width);
+ // printf ("width = %i\n", width);
}
if (height > 0) {
if (rheight>height) {
hscale=(float)height/(float)rheight;
- printf ("height/rheight = %f\n", hscale);
+ // printf ("height/rheight = %f\n", hscale);
} else {
hscale=(float)rheight/(float)height;
- printf ("rheight/height = %f\n", hscale);
+ // printf ("rheight/height = %f\n", hscale);
}
} else {
height=(int)(rheight*hscale);
- printf ("height = %i\n", height);
+ // printf ("height = %i\n", height);
}
// We will create a CAIRO_FORMAT_ARGB32 surface. We don't need to match