Gegl.TileBackend¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w |
Cache tiles will be flushed before the backend is destroyed |
||
r/w/co |
babl format |
||
r |
Size of a single pixel in bytes |
||
r/w/co |
Tile height in pixels |
||
r |
Size of the tiles linear buffer in bytes |
||
r/w/co |
Tile width in pixels |
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent_instance |
r |
Class Details¶
- class Gegl.TileBackend(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- classmethod unlink_swap(path)¶
- Parameters:
path (
str
) – the path where the gegl tile backend has swapped.
Delete a swap file from disk. This must be used by tile backends which may swap to disk under certain circonstances.
For safety, this function will check that the swap file is in the swap directory before deletion but it won’t perform any other check.
Deprecated since version 0.4.14: This function is not compatible with a dynamically- changing swap path. Use
Gegl.Buffer.swap_remove_file
() instead.
- command(command, x, y, z, data)¶
- Parameters:
- Returns:
Command result.
- Return type:
The default tile-backend command handler. Tile backends should forward commands they don’t handle themselves to this function.
- peek_storage()¶
- Returns:
the #GeglTileStorage
- Return type:
Gets a pointer to the GeglTileStorage that uses the backend
- set_extent(rectangle)¶
- Parameters:
rectangle (
Gegl.Rectangle
) – the new extent
Specify the extent of the backend, can be used to pre-prime the backend with the width/height information when constructing proxy GeglBuffers to interact with other systems
Property Details¶
- Gegl.TileBackend.props.flush_on_destroy¶
-
Cache tiles will be flushed before the backend is destroyed
- Gegl.TileBackend.props.format¶
- Name:
format
- Type:
- Default Value:
- Flags:
babl format
- Gegl.TileBackend.props.px_size¶
-
Size of a single pixel in bytes
- Gegl.TileBackend.props.tile_height¶
- Name:
tile-height
- Type:
- Default Value:
0
- Flags:
Tile height in pixels
- Gegl.TileBackend.props.tile_size¶
-
Size of the tiles linear buffer in bytes
- Gegl.TileBackend.props.tile_width¶
- Name:
tile-width
- Type:
- Default Value:
0
- Flags:
Tile width in pixels