Re: deprecated gtk_cairo_create



Le 30/12/2016 à 18:25, Jim Charlton a écrit :
If one does want to draw into a cairo_surface_t, one can create a cairo
context for drawing? E.g.

cairo_t <https://cairographics.org/manual/cairo-cairo-t.html#cairo-t>  *
cairo_create (/|cairo_surface_t
<https://cairographics.org/manual/cairo-cairo-surface-t.html#cairo-surface-t>
*target|/);

That use of cairo_create() is not deprecated... (I assume).

cairo_create() is not deprecated, only gdk_cairo_create() is.
And yeah, that use is perfectly valid and fine.

Regards,
Colomban


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