|
Classes |
struct | a_image |
struct | a_image_family |
struct | a_image_file |
struct | a_file_image |
Defines |
#define | MAXIMAGEFAMILIES 3000 |
#define | computed_rowbytes(w, pixelsize) (((w * pixelsize) + 7) / 8) |
#define | hextoi(c) (((c) >= '0' && (c) <= '9') ? ((c) - '0') : ((c) - 'a' + 10)) |
#define | for_all_images(imf, img) for ((img) = (imf)->images; (img) != NULL; (img) = (img)->next) |
#define | best_image(imf, w, h) best_image_in_range(imf, w, h, 0, 0, -1, -1) |
Typedefs |
typedef a_image | Image |
typedef a_image_family | ImageFamily |
typedef a_image_file | ImageFile |
typedef a_file_image | FileImage |
typedef void(* | readimf_hook )(ImageFamily *, int) |
Functions |
ImageFamily * | clone_imf (ImageFamily *imf) |
ImageFamily * | get_imf (char *name) |
ImageFamily * | find_imf (char *name) |
Image * | find_img (ImageFamily *imf, int w, int h) |
Image * | get_img (ImageFamily *imf, int w, int h) |
int | valid_imf_name (char *name) |
ImageFile * | get_image_file (char *name) |
void | load_image_families (FILE *fp, int loadnow, readimf_hook callback) |
int | load_imf_file (char *filename, readimf_hook callback) |
void | interp_imf_form (Obj *form, char *filename, readimf_hook callback) |
ImageFamily * | interp_imf (Obj *form) |
void | interp_imf_contents (ImageFamily *imf, Obj *form) |
void | interp_image (ImageFamily *imf, Obj *size, Obj *parts) |
void | interp_bytes (Obj *datalist, int numbytes, char *destaddr, int jump) |
Image * | best_image_in_range (ImageFamily *imf, int w, int h, int wmin, int hmin, int wmax, int hmax) |
Image * | smallest_image (ImageFamily *imf) |
int | emblem_position (Image *uimg, char *ename, ImageFamily *eimf, int sw, int sh, int vpuh, int vphh, int *exxp, int *eyyp, int *ewp, int *ehp) |
void | blacken_masked_area (ImageFamily *imf, Image *img, int r, int g, int b) |
void | blacken_mono_masked_area (ImageFamily *imf, Image *img, int r, int g, int b) |
void | make_raw_palette (Image *img) |
void | sort_all_images (void) |
void | check_imf (ImageFamily *imf) |
void | write_imf (FILE *fp, ImageFamily *imf) |
void | make_generic_image_data (ImageFamily *imf) |
void | validify_imf_name (char *buf) |
void | compute_image_bboxes (ImageFamily *imf) |
void | compute_image_bbox (Image *img) |
void | write_imf_dir (char *filename, ImageFamily **imfimages, int num) |
char * | find_color_name (int r, int g, int b) |
void | parse_lisp_palette_entry (Obj *palentry, int *c, int *r, int *g, int *b) |
void | make_image_from_file_image (ImageFamily *imf, Image *img, Image *subimg, int subi) |
void | load_file_image (FileImage *fimg) |
void | copy_from_file_image (Image *img, FileImage *fimg, int xoffset, int yoffset, int actualw, int actualh) |
int | get_gif (FileImage *fimg) |
void | make_raw_mono_data (Image *img, int force) |
FileImage * | get_file_image (char *fname) |
ImageFamily * | get_generic_images (char *name) |
Variables |
ImageFamily ** | images |
int | numimages |
ImageFile * | image_files |
FileImage * | file_images |
ImageFamily *(* | imf_load_hook )(ImageFamily *imf) |
ImageFamily *(* | imf_interp_hook )(ImageFamily *imf, Image *img, int force) |
int | use_clip_mask |
short | poor_memory |