#ifndef GNM_SHEET_OBJECT_IMAGE_H_
#define GNM_SHEET_OBJECT_IMAGE_H_

#include <sheet-object.h>

G_BEGIN_DECLS

#define GNM_SO_IMAGE_TYPE  (sheet_object_image_get_type ())
#define GNM_SO_IMAGE(o)	 (G_TYPE_CHECK_INSTANCE_CAST((o), GNM_SO_IMAGE_TYPE, SheetObjectImage))
#define GNM_IS_SO_IMAGE(o) (G_TYPE_CHECK_INSTANCE_TYPE((o), GNM_SO_IMAGE_TYPE))

typedef struct _SheetObjectImage SheetObjectImage;

GType	     sheet_object_image_get_type (void);
void sheet_object_image_set_image (SheetObjectImage *soi,
				   char const   *type,
				   gconstpointer data,
				   unsigned	 data_len);
void sheet_object_image_set_crop (SheetObjectImage *soi,
				  double crop_left,  double crop_top,
				  double crop_right, double crop_bottom);

G_END_DECLS

#endif /* GNM_SHEET_OBJECT_IMAGE_H_ */
