Re: Deprecate GdkGC?



On Fri, 2005-12-02 at 09:43 +0100, milosz derezynski wrote:
> Well, i volunteer for this. I have used cairo extensively for coding
> bmpx and i'm going to get to a very good point in documenting at least
> all the equivalents of gdk_draw_*()
> 
> Federico: In which format should i write this, anything that would be
> preferred? 
> 
> PS: I've created a bug
> (http://bugzilla.gnome.org/show_bug.cgi?id=322996) and added a patch
> that adds a function gdk_cairo_set_source_drawable (), it's just 2
> function calls but i think it's more logical to the API user and makes
> for a more consistent API, and _gdk_drawable_ref_cairo_surface () is
> private anyway 

There is already a bug filed on this:
http://bugzilla.gnome.org/show_bug.cgi?id=318805

I don't think _drawable is a good name, because if you actually try to
use this with a window as source you'll get into problems (because a
window isn't fully backed, and might be offscreen).

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Alexander Larsson                                            Red Hat, Inc 
                   alexl redhat com    alla lysator liu se 
He's a scrappy overambitious inventor with a robot buddy named Sparky. She's a 
mistrustful kleptomaniac safe cracker with a birthmark shaped like Liberty's 
torch. They fight crime! 




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]