gimp r22213 - in trunk: . app/base app/core



Author: mitch
Date: 2007-04-01 14:38:22 +0100 (Sun, 01 Apr 2007)
New Revision: 22213
ViewCVS link: http://svn.gnome.org/viewcvs/gimp?rev=22213&view=rev

Added:
   trunk/app/core/gimpbrush-scale.c
   trunk/app/core/gimpbrush-scale.h
Removed:
   trunk/app/base/brush-scale.c
   trunk/app/base/brush-scale.h
Modified:
   trunk/ChangeLog
   trunk/app/base/Makefile.am
   trunk/app/core/Makefile.am
   trunk/app/core/gimpbrush.c
Log:
2007-04-01  Michael Natterer  <mitch gimp org>

	* app/base/Makefile.am
	* app/base/brush-scale.[ch]: removed these files.

	* app/core/Makefile.am
	* app/core/gimpbrush-scale.[ch]: added the functions here as
	static utility functions. Also move the default implementations of
	GimpBrush::scale_size(), ::scale_mask() and ::scale_pixmap() here,
	including their utility functions.

	* app/core/gimpbrush.c: remove all scale stuff and
	include "gimpbrush-scale.h" instead.

	(gimp_brush_get_new_preview): use GimpBrush's scale functions
	instead of the now private ones. Cleanup.

	(gimp_brush_scale_mask)
	(gimp_brush_scale_pixmap): return a copy of the buf for
	scale == 1.0.






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]