tile-manager

tile-manager

Synopsis

void                tile_manager_exit                   (void);
TileManager *       tile_manager_new                    (gint width,
                                                         gint height,
                                                         gint bpp);
TileManager *       tile_manager_ref                    (TileManager *tm);
void                tile_manager_unref                  (TileManager *tm);
TileManager *       tile_manager_duplicate              (TileManager *tm);
void                tile_manager_set_validate_proc      (TileManager *tm,
                                                         TileValidateProc proc,
                                                         gpointer user_data);
void                tile_manager_validate_tile          (TileManager *tm,
                                                         Tile *tile);
void                tile_manager_invalidate_area        (TileManager *tm,
                                                         gint x,
                                                         gint y,
                                                         gint w,
                                                         gint h);
Tile *              tile_manager_get                    (TileManager *tm,
                                                         gint tile_num,
                                                         gboolean wantread,
                                                         gboolean wantwrite);
Tile *              tile_manager_get_at                 (TileManager *tm,
                                                         gint tile_col,
                                                         gint tile_row,
                                                         gboolean wantread,
                                                         gboolean wantwrite);
Tile *              tile_manager_get_tile               (TileManager *tm,
                                                         gint xpixel,
                                                         gint ypixel,
                                                         gboolean wantread,
                                                         gboolean wantwrite);
void                tile_manager_get_tile_col_row       (TileManager *tm,
                                                         Tile *tile,
                                                         gint *tile_col,
                                                         gint *tile_row);
void                tile_manager_map_tile               (TileManager *tm,
                                                         gint xpixel,
                                                         gint ypixel,
                                                         Tile *srctile);
void                tile_manager_map                    (TileManager *tm,
                                                         gint tile_num,
                                                         Tile *srctile);
gint                tile_manager_width                  (const TileManager *tm);
gint                tile_manager_height                 (const TileManager *tm);
gint                tile_manager_bpp                    (const TileManager *tm);
gint64              tile_manager_get_memsize            (const TileManager *tm,
                                                         gboolean sparse);
void                tile_manager_get_tile_coordinates   (TileManager *tm,
                                                         Tile *tile,
                                                         gint *x,
                                                         gint *y);
void                tile_manager_map_over_tile          (TileManager *tm,
                                                         Tile *tile,
                                                         Tile *srctile);
void                tile_manager_read_pixel_data        (TileManager *tm,
                                                         gint x1,
                                                         gint y1,
                                                         gint x2,
                                                         gint y2,
                                                         guchar *buffer,
                                                         guint stride);
void                tile_manager_write_pixel_data       (TileManager *tm,
                                                         gint x1,
                                                         gint y1,
                                                         gint x2,
                                                         gint y2,
                                                         const guchar *buffer,
                                                         guint stride);
void                tile_manager_read_pixel_data_1      (TileManager *tm,
                                                         gint x,
                                                         gint y,
                                                         guchar *buffer);
void                tile_manager_write_pixel_data_1     (TileManager *tm,
                                                         gint x,
                                                         gint y,
                                                         const guchar *buffer);

Description

Details

tile_manager_exit ()

void                tile_manager_exit                   (void);


tile_manager_new ()

TileManager *       tile_manager_new                    (gint width,
                                                         gint height,
                                                         gint bpp);


tile_manager_ref ()

TileManager *       tile_manager_ref                    (TileManager *tm);


tile_manager_unref ()

void                tile_manager_unref                  (TileManager *tm);


tile_manager_duplicate ()

TileManager *       tile_manager_duplicate              (TileManager *tm);


tile_manager_set_validate_proc ()

void                tile_manager_set_validate_proc      (TileManager *tm,
                                                         TileValidateProc proc,
                                                         gpointer user_data);


tile_manager_validate_tile ()

void                tile_manager_validate_tile          (TileManager *tm,
                                                         Tile *tile);


tile_manager_invalidate_area ()

void                tile_manager_invalidate_area        (TileManager *tm,
                                                         gint x,
                                                         gint y,
                                                         gint w,
                                                         gint h);


tile_manager_get ()

Tile *              tile_manager_get                    (TileManager *tm,
                                                         gint tile_num,
                                                         gboolean wantread,
                                                         gboolean wantwrite);


tile_manager_get_at ()

Tile *              tile_manager_get_at                 (TileManager *tm,
                                                         gint tile_col,
                                                         gint tile_row,
                                                         gboolean wantread,
                                                         gboolean wantwrite);


tile_manager_get_tile ()

Tile *              tile_manager_get_tile               (TileManager *tm,
                                                         gint xpixel,
                                                         gint ypixel,
                                                         gboolean wantread,
                                                         gboolean wantwrite);


tile_manager_get_tile_col_row ()

void                tile_manager_get_tile_col_row       (TileManager *tm,
                                                         Tile *tile,
                                                         gint *tile_col,
                                                         gint *tile_row);


tile_manager_map_tile ()

void                tile_manager_map_tile               (TileManager *tm,
                                                         gint xpixel,
                                                         gint ypixel,
                                                         Tile *srctile);


tile_manager_map ()

void                tile_manager_map                    (TileManager *tm,
                                                         gint tile_num,
                                                         Tile *srctile);


tile_manager_width ()

gint                tile_manager_width                  (const TileManager *tm);


tile_manager_height ()

gint                tile_manager_height                 (const TileManager *tm);


tile_manager_bpp ()

gint                tile_manager_bpp                    (const TileManager *tm);


tile_manager_get_memsize ()

gint64              tile_manager_get_memsize            (const TileManager *tm,
                                                         gboolean sparse);


tile_manager_get_tile_coordinates ()

void                tile_manager_get_tile_coordinates   (TileManager *tm,
                                                         Tile *tile,
                                                         gint *x,
                                                         gint *y);


tile_manager_map_over_tile ()

void                tile_manager_map_over_tile          (TileManager *tm,
                                                         Tile *tile,
                                                         Tile *srctile);


tile_manager_read_pixel_data ()

void                tile_manager_read_pixel_data        (TileManager *tm,
                                                         gint x1,
                                                         gint y1,
                                                         gint x2,
                                                         gint y2,
                                                         guchar *buffer,
                                                         guint stride);


tile_manager_write_pixel_data ()

void                tile_manager_write_pixel_data       (TileManager *tm,
                                                         gint x1,
                                                         gint y1,
                                                         gint x2,
                                                         gint y2,
                                                         const guchar *buffer,
                                                         guint stride);


tile_manager_read_pixel_data_1 ()

void                tile_manager_read_pixel_data_1      (TileManager *tm,
                                                         gint x,
                                                         gint y,
                                                         guchar *buffer);


tile_manager_write_pixel_data_1 ()

void                tile_manager_write_pixel_data_1     (TileManager *tm,
                                                         gint x,
                                                         gint y,
                                                         const guchar *buffer);