Re: Wrapping pangocairo.h



Scribit Jonathon Jongsma dies 30/05/2006 hora 07:28:
> I wonder if this function:
> static Glib::RefPtr<Layout> create_from_cairo_context(const
> Cairo::RefPtr<Cairo::Context>& context);
> 
> could be replaced with a simple overloaded create function, e.g.:
> static Glib::RefPtr<Layout> create(const
> Cairo::RefPtr<Cairo::Context>& context);

Why use a helper function (I suppose that it is one) instead of a
constructor? Is it because you want it to return a RefPtr?

Curiously,
Nowhere man
-- 
nowhere man levallois eu org
OpenPGP 0xD9D50D8A

Attachment: signature.asc
Description: Digital signature



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