mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 10:50: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>
|
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
|
* gdk/gdkgc.c (make_stipple_tile_surface): Fix
|
||||||
cairo_content_t <-> cairo_format_t confusion. (#310086,
|
cairo_content_t <-> cairo_format_t confusion. (#310086,
|
||||||
Carlos Garnacho Parro)
|
Carlos Garnacho Parro)
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
2005-07-12 Matthias Clasen <mclasen@redhat.com>
|
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
|
* gdk/gdkgc.c (make_stipple_tile_surface): Fix
|
||||||
cairo_content_t <-> cairo_format_t confusion. (#310086,
|
cairo_content_t <-> cairo_format_t confusion. (#310086,
|
||||||
Carlos Garnacho Parro)
|
Carlos Garnacho Parro)
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
2005-07-12 Matthias Clasen <mclasen@redhat.com>
|
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
|
* gdk/gdkgc.c (make_stipple_tile_surface): Fix
|
||||||
cairo_content_t <-> cairo_format_t confusion. (#310086,
|
cairo_content_t <-> cairo_format_t confusion. (#310086,
|
||||||
Carlos Garnacho Parro)
|
Carlos Garnacho Parro)
|
||||||
|
@ -129,19 +129,19 @@ draw (cairo_t *cr,
|
|||||||
double yc = height / 2.;
|
double yc = height / 2.;
|
||||||
|
|
||||||
overlay = cairo_surface_create_similar (cairo_get_target (cr),
|
overlay = cairo_surface_create_similar (cairo_get_target (cr),
|
||||||
CAIRO_FORMAT_ARGB32,
|
CAIRO_CONTENT_COLOR_ALPHA,
|
||||||
width, height);
|
width, height);
|
||||||
if (overlay == NULL)
|
if (overlay == NULL)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
punch = cairo_surface_create_similar (cairo_get_target (cr),
|
punch = cairo_surface_create_similar (cairo_get_target (cr),
|
||||||
CAIRO_FORMAT_A8,
|
CAIRO_CONTENT_ALPHA,
|
||||||
width, height);
|
width, height);
|
||||||
if (punch == NULL)
|
if (punch == NULL)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
circles = cairo_surface_create_similar (cairo_get_target (cr),
|
circles = cairo_surface_create_similar (cairo_get_target (cr),
|
||||||
CAIRO_FORMAT_ARGB32,
|
CAIRO_FORMAT_COLOR_ALPHA,
|
||||||
width, height);
|
width, height);
|
||||||
if (circles == NULL)
|
if (circles == NULL)
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user