Description Usage Arguments Details Value Author(s)
Gets the target surface for the cairo context as passed to
cairoCreate
.
1 | cairoGetTarget(cr)
|
|
[ |
This function will always return a valid pointer, but the result
can be a "nil" surface if cr
is already in an error state,
(ie. cairoStatus
!=
CAIRO_STATUS_SUCCESS
).
A nil surface is indicated by cairoSurfaceStatus
!=
CAIRO_STATUS_SUCCESS
.
[CairoSurface
] the target surface. To
keep a reference to it,
Derived by RGtkGen from GTK+ documentation
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.