Renderer.this

Creates an appropriate GskRenderer 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.

  1. this(GskRenderer* gskRenderer, bool ownedRef)
  2. this(Surface surface)
    class Renderer

Parameters

surface Surface

a GdkSurface

Return Value

a GskRenderer

Throws

ConstructionException GTK+ fails to create the object.

Meta