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"
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
,
20 void sheet_object_image_set_crop (SheetObjectImage
*soi
,
21 double crop_left
, double crop_top
,
22 double crop_right
, double crop_bottom
);
26 #endif /* _GNM_SHEET_OBJECT_IMAGE_H_ */