[wip] show_image(): Introduce crop_box to specify visible part of the image
[elinks/images.git] / src / terminal / image.h
blob41156b32c673f3b86f2962a8961609d51529fa6d
1 #ifndef EL__TERMINAL_IMAGE_H
2 #define EL__TERMINAL_IMAGE_H
4 struct box;
5 struct cache_entry;
6 struct terminal;
8 extern void show_image(struct terminal *term, int imgid, struct box *img_box, struct box *crop_box, struct cache_entry *ce);
9 extern void sync_images(struct terminal *term);
11 extern void get_image_size(struct cache_entry *ce, int *w, int *h);
13 #endif