Method

ShumateFileCacheget_tile_async

Declaration [src]

void
shumate_file_cache_get_tile_async (
  ShumateFileCache* self,
  int x,
  int y,
  int zoom_level,
  GCancellable* cancellable,
  GAsyncReadyCallback callback,
  gpointer user_data
)

Description [src]

Gets tile data from the cache, if it is available.

Parameters

x int
 

The X coordinate of the tile.

y int
 

The Y coordinate of the tile.

zoom_level int
 

The zoom level of the tile.

cancellable GCancellable
 

A GCancellable.

 The argument can be NULL.
 The data is owned by the caller of the function.
callback GAsyncReadyCallback
 

A GAsyncReadyCallback to execute upon completion.

 The argument can be NULL.
user_data gpointer
 

Closure data for callback.

 The argument can be NULL.
 The data is owned by the caller of the function.