summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0e30117)
raw | patch | inline | side by side (parent: 0e30117)
author | keescook <keescook@users.sourceforge.net> | |
Sun, 30 Dec 2007 02:16:34 +0000 (02:16 +0000) | ||
committer | keescook <keescook@users.sourceforge.net> | |
Sun, 30 Dec 2007 02:16:34 +0000 (02:16 +0000) |
src/ui/dialog/print.cpp | patch | blob | history |
index d1da361088165f2fdef43af15da9f1de1e44e109..4528fe65636c72385e86d95b7f0c9d332a61a791 100644 (file)
--- a/src/ui/dialog/print.cpp
+++ b/src/ui/dialog/print.cpp
sp_export_png_file(junk->_doc, tmp_png.c_str(), 0.0, 0.0,
width, height,
- (unsigned long)(width * dpi / PX_PER_IN),
- (unsigned long)(height * dpi / PX_PER_IN),
+ (unsigned long)(width * PT_PER_IN / PX_PER_IN),
+ (unsigned long)(height * PT_PER_IN / PX_PER_IN),
dpi, dpi, bgcolor, NULL, NULL, true, NULL);
// This doesn't seem to work: