Commit 7bb24cd5 authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann

fill rectangles instead of masking the spans.

2006-12-28  Sven Neumann  <sven@gimp.org>

	* print-draw-page.c: fill rectangles instead of masking the
spans.
parent 02e18ee0
2006-12-28 Sven Neumann <sven@gimp.org>
* print-draw-page.c: fill rectangles instead of masking the spans.
2006-12-28 Seth Burgess <sjburges@gimp.org>
* app/widgets/gimpdasheditor.h
......
......@@ -126,7 +126,9 @@ draw_page_cairo (GtkPrintContext *context,
surface = create_surface (pixels, width, h, rowstride);
cairo_set_source_surface (cr, surface, 0, y);
cairo_mask_surface (cr, surface, 0, y);
cairo_rectangle (cr, 0, y, width, h);
cairo_fill (cr);
cairo_surface_destroy (surface);
......
......@@ -415,13 +415,9 @@ print_size_info_set_resolution (PrintSizeInfo *info,
if (info->chain && gimp_chain_button_get_active (info->chain))
{
if (xres != data->xres)
{
yres = xres;
}
yres = xres;
else
{
xres = yres;
}
xres = yres;
}
data->xres = xres;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment