libmypaint
1.6.0
|
Tile request used by MyPaintTiledSurface and MyPaintTiledSurface2. More...
#include <mypaint-tiled-surface.h>
Public Member Functions | |
void | mypaint_tile_request_init (MyPaintTileRequest *data, int level, int tx, int ty, gboolean readonly) |
Initiatilze a tile request. More... | |
Data Fields | |
int | tx |
The x-coordinate of the requested tile. More... | |
int | ty |
The y-coordinate of the requested tile. More... | |
gboolean | readonly |
Whether the tile data should be considered read-only. More... | |
guint16 * | buffer |
Pointer to the tile buffer, set by receiver of the request. More... | |
gpointer | context |
Additional data to be used by surface implementations __(unused)__. More... | |
int | thread_id |
Identifier of the thread from which the request is made. More... | |
int | mipmap_level |
The mipmap level for which to fetch the tile __(unused)__. More... | |
Tile request used by MyPaintTiledSurface and MyPaintTiledSurface2.
Request for tile data for a given tile coordinate (tx, ty), also acting as the response by defining fields to be populated by the receiver of the request.
void mypaint_tile_request_init | ( | MyPaintTileRequest * | data, |
int | level, | ||
int | tx, | ||
int | ty, | ||
gboolean | readonly | ||
) |
Initiatilze a tile request.
guint16* MyPaintTileRequest::buffer |
Pointer to the tile buffer, set by receiver of the request.
gpointer MyPaintTileRequest::context |
Additional data to be used by surface implementations __(unused)__.
int MyPaintTileRequest::mipmap_level |
The mipmap level for which to fetch the tile __(unused)__.
gboolean MyPaintTileRequest::readonly |
Whether the tile data should be considered read-only.
int MyPaintTileRequest::thread_id |
Identifier of the thread from which the request is made.
int MyPaintTileRequest::tx |
The x-coordinate of the requested tile.
int MyPaintTileRequest::ty |
The y-coordinate of the requested tile.