~exec64/imv

ref: 4c0123bb3b449a2ea45b3e831db725d853bb03a1 imv/src/image.h -rw-r--r-- 603 bytes
4c0123bb — Harry Jeffery Release v4.0.1 3 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#ifndef IMV_IMAGE_H
#define IMV_IMAGE_H

#include "bitmap.h"

#ifdef IMV_BACKEND_LIBRSVG
#include <librsvg/rsvg.h>
#endif

struct imv_image;

struct imv_image *imv_image_create_from_bitmap(struct imv_bitmap *bmp);

#ifdef IMV_BACKEND_LIBRSVG
struct imv_image *imv_image_create_from_svg(RsvgHandle *handle);
#endif

/* Cleans up an imv_image instance */
void imv_image_free(struct imv_image *image);

/* Get the image width */
int imv_image_width(const struct imv_image *image);

/* Get the image height */
int imv_image_height(const struct imv_image *image);

#endif


/* vim:set ts=2 sts=2 sw=2 et: */