Skip to content
  • Michael Natterer's avatar
    added "offset_x" and "offset_y" parameters to GimpDrawable::set_tiles(). · 1ef5fa93
    Michael Natterer authored
    2004-03-15  Michael Natterer  <mitch@gimp.org>
    
    	* app/core/gimpdrawable.[ch]: added "offset_x" and "offset_y"
    	parameters to GimpDrawable::set_tiles().
    
    	(gimp_drawable_set_tiles): removed the "GimpImageType" parameter.
    
    	(gimp_drawable_set_tiles_full): new function adding type, offset_x
    	and offset_y parameters.
    
    	(gimp_drawable_real_set_tiles): set the drawable's offsets from
    	the offset parameters and its size from the passed TileManager's
    	size. Emit "size_changed" accordingly.
    
    	* app/core/gimpchannel.c
    	* app/core/gimpdrawable-offset.c
    	* app/core/gimpdrawable-transform.c
    	* app/core/gimpimage-convert.c
    	* app/core/gimpimage-undo-push.c
    	* app/core/gimplayer.c
    	* app/text/gimptextlayer.c
    	* app/tools/gimptransformtool.c: changed accordingly: removed
    	calls to gimp_viewable_size_changed() and all sorts of hackish
    	assignments of the drawable's width/height/offset_x/offset_y
    	properties.
    1ef5fa93
To find the state of this project's repository at the time of any of these versions, check out the tags.