mirror of https://github.com/GNOME/gimp.git
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:
parent
02e18ee00b
commit
7bb24cd55b
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue