Ignore:
Timestamp:
Jan 13, 2009, 12:50:53 AM (13 years ago)
Author:
Sam Hocevar
Message:

Create basic tile handling functions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpipi/trunk/pipi/pipi.h

    r3164 r3339  
    102102pipi_pixels_t;
    103103
     104/* pipi_tile_t: the internal tile type */
     105typedef struct pipi_tile pipi_tile_t;
     106
    104107/* pipi_image_t: the main image type */
    105108typedef struct pipi_image pipi_image_t;
     
    127130__extern pipi_command_t const *pipi_get_command_list(void);
    128131__extern int pipi_command(pipi_context_t *, char const *, ...);
     132
     133__extern pipi_tile_t *pipi_get_tile(pipi_image_t *, int, int, int,
     134                                    pipi_format_t, int);
     135__extern void pipi_release_tile(pipi_image_t *, pipi_tile_t *);
     136__extern pipi_tile_t *pipi_create_tile(pipi_format_t, int);
    129137
    130138__extern pipi_image_t *pipi_load(char const *);
Note: See TracChangeset for help on using the changeset viewer.