Re: Cairo now a dependency of HEAD GTK+
- From: Havoc Pennington <hp redhat com>
- To: Owen Taylor <otaylor redhat com>
- Cc: James Henstridge <james jamesh id au>, gtk-devel-list gnome org
- Subject: Re: Cairo now a dependency of HEAD GTK+
- Date: Fri, 04 Feb 2005 09:56:30 -0500
On Thu, 2005-02-03 at 18:31 -0500, Owen Taylor wrote:
> One API is added:
>
> /**
> * gdk_drawable_set_cairo_target:
> * @drawable: a #GdkDrawable
> * @cr: a cairo context
> *
> * Sets the given drawable as the target surface for a Cairo context.
> * Note that when @drawable is a window and gdk_window_begin_paint()
> * has been called, the target surface will be set to the temporary
> * backing pixmap, so you can only use the Cairo context until
> * the matching call to gdk_window_end_paint().
> *
> * Since: 2.10
> **/
> void
> gdk_drawable_set_cairo_target (GdkDrawable *drawable,
> cairo_t *cr);
This is backward, right? It should be:
cairo_set_gdk_drawable_target (cairo_t *cr, GdkDrawable *drawable);
How about
gdk_set_cairo_target (cairo_t *cr, GdkDrawable *drawable)
or
gdk_drawable_set_as_cairo_target (GdkDrawable *drawable,
cairo_t *cr);
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]