to_surface


Description:

public Surface to_surface (bool include_layers)

Will generate a XlibSurface that represents the current view of the map.

Without any markers or layers. If the current Renderer used does not support this, this function will return null.

If include_layers is set to true all layers that implement Exportable will be included in the surface.

The View also need to be in DONE state.

Parameters:

this

a View

include_layers

Set to true if you want to include layers

Returns:

a XlibSurface or null on failure. Free with cairo_surface_destroy when done.




2022 vala-language.org