mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-05 07:38:22 +02:00
The comment said 'blend over white', the code did 'blend under garbage'. I made the code look like the comment. More tests pass now. mmm.
reviewed by: cworth
This commit is contained in:
parent
951c7a6592
commit
eeb56e713b
2 changed files with 15 additions and 1 deletions
|
|
@ -1,3 +1,12 @@
|
|||
2005-10-09 Keith Packard <keithp@keithp.com>
|
||||
|
||||
reviewed by: cworth
|
||||
|
||||
* src/cairo-ps-surface.c: (emit_image):
|
||||
The comment said 'blend over white', the code
|
||||
did 'blend under garbage'. I made the code look
|
||||
like the comment. More tests pass now. mmm.
|
||||
|
||||
2005-10-09 Carl Worth <cworth@cworth.org>
|
||||
|
||||
* test/filter-nearest-offset.c: (draw):
|
||||
|
|
|
|||
|
|
@ -711,7 +711,12 @@ emit_image (cairo_ps_surface_t *surface,
|
|||
|
||||
_cairo_pattern_init_for_surface (&pattern.surface, &image->base);
|
||||
|
||||
_cairo_surface_composite (CAIRO_OPERATOR_DEST_OVER,
|
||||
_cairo_surface_fill_rectangle (opaque,
|
||||
CAIRO_OPERATOR_SOURCE,
|
||||
CAIRO_COLOR_WHITE,
|
||||
0, 0, image->width, image->height);
|
||||
|
||||
_cairo_surface_composite (CAIRO_OPERATOR_OVER,
|
||||
&pattern.base,
|
||||
NULL,
|
||||
opaque,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue