Package: gsk

Function gsk:renderer-new-for-surface

Lambda List

gsk:renderer-new-for-surface (surface)

Arguments

surface -- a gdk:surface object

Return Value

The new gsk:renderer instance.

Details

Creates an appropriate gsk:renderer instance for the given surface. If the GSK_RENDERER environment variable is set, GSK will try that renderer first, before trying the backend-specific default. The ultimate fallback is the Cairo renderer.

The renderer will be realized before it is returned.
 

See also

2024-11-7