From: keescook Date: Sun, 30 Dec 2007 00:40:12 +0000 (+0000) Subject: adjust cairo bitmap origin offset fixup X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=4db351194ebd94ffc595918d08e828fe529d830f;p=inkscape.git adjust cairo bitmap origin offset fixup --- diff --git a/src/ui/dialog/print.cpp b/src/ui/dialog/print.cpp index 3c6f9de4c..3021b84b8 100644 --- a/src/ui/dialog/print.cpp +++ b/src/ui/dialog/print.cpp @@ -89,7 +89,7 @@ Print::on_draw_page (const Glib::RefPtr &context, int page_nr Cairo::RefPtr png = Cairo::ImageSurface::create_from_png (tmp_png); cairo_t *cr = context->get_cairo_context ()->cobj(); // FIXME: why is the origin offset?? - cairo_set_source_surface(cr, png->cobj(), -20.0, -20.0); + cairo_set_source_surface(cr, png->cobj(), -16.0, -16.0); } context->get_cairo_context ()->paint (); diff --git a/src/ui/dialog/print.h b/src/ui/dialog/print.h index fb8876dc0..ee0d97da7 100644 --- a/src/ui/dialog/print.h +++ b/src/ui/dialog/print.h @@ -13,7 +13,7 @@ #define INKSCAPE_UI_DIALOG_PRINT_H #include -#include // GtkMM printoperation +#include // GtkMM #include // Gtk #include "desktop.h"