cairo_create
Description:
Warning: cairo_create is deprecated since 4.18.
Retrieves a Cairo context to be used to draw on the `GdkSurface` of context.
Note:
Drawing content with Cairo should be done via Cairo rendernodes, not by using renderers.
A call to [method@Gdk.DrawContext.begin_frame] with this context must have been done or this function will return
null.
The returned context is guaranteed to be valid until [method@Gdk.DrawContext.end_frame] is called.
Parameters:
| this |
a `GdkCairoContext` that is currently drawing |
Returns:
|
a Cairo context to draw on `GdkSurface |