terom@0: #ifndef PNGTILE_IMAGE_H terom@0: #define PNGTILE_IMAGE_H terom@0: terom@0: /** terom@0: * @file terom@0: * terom@0: * Internal pt_image state terom@0: */ terom@0: #include "pngtile.h" terom@0: terom@0: struct pt_image { terom@0: /** Associated global state */ terom@0: struct pt_ctx *ctx; terom@0: terom@0: /** Path to .png */ terom@1: char *path; terom@0: terom@0: /** Cache object */ terom@0: struct pt_cache *cache; terom@7: terom@7: /** Image info */ terom@7: struct pt_image_info info; terom@0: }; terom@0: terom@56: /** terom@56: * Open the image's FILE terom@56: */ terom@56: int pt_image_open_file (struct pt_image *image, FILE **file_ptr); terom@0: terom@0: #endif