mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-02 02:38:07 +02:00
Use CAIRO_FILTER_BEST by default rather than CAIRO_FILTER_NEAREST.
This commit is contained in:
parent
8f6fc777d1
commit
439a94cc7b
3 changed files with 9 additions and 2 deletions
|
|
@ -1,3 +1,10 @@
|
|||
2005-04-12 Carl Worth <cworth@cworth.org>
|
||||
|
||||
* src/cairo-pattern.c:
|
||||
(_cairo_pattern_acquire_surface_for_surface):
|
||||
* src/cairo-surface.c: (_cairo_surface_init): Use
|
||||
CAIRO_FILTER_BEST by default rather than CAIRO_FILTER_NEAREST.
|
||||
|
||||
2005-04-12 Carl Worth <cworth@cworth.org>
|
||||
|
||||
* src/cairo-gstate.c (_cairo_gstate_show_surface): Offset the src
|
||||
|
|
|
|||
|
|
@ -1076,7 +1076,7 @@ _cairo_pattern_acquire_surface_for_surface (cairo_surface_pattern_t *pattern,
|
|||
attr->x_offset = -x;
|
||||
attr->y_offset = -y;
|
||||
attr->extend = CAIRO_EXTEND_NONE;
|
||||
attr->filter = CAIRO_FILTER_NEAREST;
|
||||
attr->filter = CAIRO_FILTER_BEST;
|
||||
|
||||
cairo_matrix_init_identity (&attr->matrix);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -50,7 +50,7 @@ _cairo_surface_init (cairo_surface_t *surface,
|
|||
_cairo_user_data_array_init (&surface->user_data);
|
||||
|
||||
cairo_matrix_init_identity (&surface->matrix);
|
||||
surface->filter = CAIRO_FILTER_NEAREST;
|
||||
surface->filter = CAIRO_FILTER_BEST;
|
||||
surface->repeat = 0;
|
||||
|
||||
surface->device_x_offset = 0;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue