Skip to content
  • Jon K Hellan's avatar
    Declare typedef ObjectImage. · 04bb7d17
    Jon K Hellan authored
    2002-02-25  Jon K Hellan  <hellan@acm.org>
    
    	* src/sheet-object-image.h: Declare typedef ObjectImage.
    
    	* src/sheet-object-image.c (struct _SheetObjectImage): Add
    	cropping parameters.
    	(sheet_object_image_new): Initialize cropping parameters.
    	(sheet_object_image_set_crop): New function. Set cropping
    	parameters.
    	(soi_get_cropped_pixbuf): New function. Get the cropped image from
    	pixbuf.
    	(soi_get_pixbuf): Do cropping by calling soi_get_cropped_pixbuf.
    	(sheet_object_image_init): Initialize cropping parameters.
    
    2002-02-25  Jon K Hellan  <hellan@acm.org>
    
    	* ms-excel-read.c (ms_sheet_create_image): New function. Factor
    	image creation out of ms_sheet_create_obj and also handle cropping.
    	(ms_sheet_create_obj): Call ms_sheet_create_image.
    04bb7d17