mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-05 16:20:10 +00:00
Fix the same confusion here, too.
2005-07-12 Matthias Clasen <mclasen@redhat.com> * tests/testcairo.c (draw): Fix the same confusion here, too.
This commit is contained in:
parent
6c30cdbd8d
commit
41cfb270ed
@ -1,5 +1,7 @@
|
||||
2005-07-12 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* tests/testcairo.c (draw): Fix the same confusion here, too.
|
||||
|
||||
* gdk/gdkgc.c (make_stipple_tile_surface): Fix
|
||||
cairo_content_t <-> cairo_format_t confusion. (#310086,
|
||||
Carlos Garnacho Parro)
|
||||
|
@ -1,5 +1,7 @@
|
||||
2005-07-12 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* tests/testcairo.c (draw): Fix the same confusion here, too.
|
||||
|
||||
* gdk/gdkgc.c (make_stipple_tile_surface): Fix
|
||||
cairo_content_t <-> cairo_format_t confusion. (#310086,
|
||||
Carlos Garnacho Parro)
|
||||
|
@ -1,5 +1,7 @@
|
||||
2005-07-12 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* tests/testcairo.c (draw): Fix the same confusion here, too.
|
||||
|
||||
* gdk/gdkgc.c (make_stipple_tile_surface): Fix
|
||||
cairo_content_t <-> cairo_format_t confusion. (#310086,
|
||||
Carlos Garnacho Parro)
|
||||
|
@ -129,19 +129,19 @@ draw (cairo_t *cr,
|
||||
double yc = height / 2.;
|
||||
|
||||
overlay = cairo_surface_create_similar (cairo_get_target (cr),
|
||||
CAIRO_FORMAT_ARGB32,
|
||||
CAIRO_CONTENT_COLOR_ALPHA,
|
||||
width, height);
|
||||
if (overlay == NULL)
|
||||
return;
|
||||
|
||||
punch = cairo_surface_create_similar (cairo_get_target (cr),
|
||||
CAIRO_FORMAT_A8,
|
||||
CAIRO_CONTENT_ALPHA,
|
||||
width, height);
|
||||
if (punch == NULL)
|
||||
return;
|
||||
|
||||
circles = cairo_surface_create_similar (cairo_get_target (cr),
|
||||
CAIRO_FORMAT_ARGB32,
|
||||
CAIRO_FORMAT_COLOR_ALPHA,
|
||||
width, height);
|
||||
if (circles == NULL)
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user