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.
This commit is contained in:
Sven Neumann 2006-12-28 18:46:37 +00:00 committed by Sven Neumann
parent 02e18ee00b
commit 7bb24cd55b
3 changed files with 9 additions and 7 deletions

View File

@ -1,3 +1,7 @@
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

View File

@ -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);

View File

@ -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;