Introspection: add col/row manipulations
[gnumeric.git] / src / sheet-object-image.h
blob84559455c5c00aa77d42f995d927dee35d35cb84
1 /* vim: set sw=8: -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2 #ifndef _GNM_SHEET_OBJECT_IMAGE_H_
3 # define _GNM_SHEET_OBJECT_IMAGE_H_
5 #include "sheet-object.h"
7 G_BEGIN_DECLS
9 #define GNM_SO_IMAGE_TYPE (sheet_object_image_get_type ())
10 #define GNM_SO_IMAGE(o) (G_TYPE_CHECK_INSTANCE_CAST((o), GNM_SO_IMAGE_TYPE, SheetObjectImage))
11 #define GNM_IS_SO_IMAGE(o) (G_TYPE_CHECK_INSTANCE_TYPE((o), GNM_SO_IMAGE_TYPE))
13 typedef struct _SheetObjectImage SheetObjectImage;
15 GType sheet_object_image_get_type (void);
16 void sheet_object_image_set_image (SheetObjectImage *soi,
17 char const *type,
18 gconstpointer data,
19 unsigned data_len);
20 void sheet_object_image_set_crop (SheetObjectImage *soi,
21 double crop_left, double crop_top,
22 double crop_right, double crop_bottom);
24 G_END_DECLS
26 #endif /* _GNM_SHEET_OBJECT_IMAGE_H_ */