Method

GeglTileHandlerget_tile

Declaration [src]

GeglTile*
gegl_tile_handler_get_tile (
  GeglTileHandler* handler,
  gint x,
  gint y,
  gint z,
  gboolean preserve_data
)

Description [src]

Fetches the tile at the given coordinates from handler. If the tile doesn’t exist, creates a new tile associated with this tile handler.

If preserve_data is FALSE, the tile contents are unspecified.

This method is not directly available to language bindings.

Parameters

x gint
 

The tile space x coordinate for the tile.

y gint
 

The tile space y coordinate for the tile.

z gint
 

The tile space z coordinate for the tile.

preserve_data gboolean
 

Whether existing tile data should be preserved.

Return value

Returns: GeglTile
 

The tile.

 The data is owned by the instance.