gimp/app/paint
Michael Natterer 1186dfd256 Properly abstract brush scaling:
2006-11-09  Michael Natterer  <mitch@gimp.org>

	Properly abstract brush scaling:

	* app/core/gimpbrush.[ch]: added virtual functions
	GimpBrush::scale_mask() and ::scale_pixmap() and default
	implementations which call the functions in base/brush-scale.c.

	* app/core/gimpbrushgenerated.c: factored out brush calculation to
	an internal utility function and call that function from ::dirty()
	and from the new ::scale_mask().

	* app/core/gimpbrushcore.c: use gimp_brush_scale_mask/pixmap()
	instead of using the lowlevel scale functions directly. Fixes the
	uglyness that we were scaling generated brushes instead of simply
	recalculating them in the right size.
2006-11-09 14:54:49 +00:00
..
.cvsignore Core/UI separation for the paint tools: 2002-02-14 19:31:16 +00:00
Makefile.am Merged the "soc-2006-perspective-clone" branch. That branch is now 2006-09-07 17:10:22 +00:00
gimp-paint.c Merged the "soc-2006-perspective-clone" branch. That branch is now 2006-09-07 17:10:22 +00:00
gimp-paint.h app/paint/Makefile.am removed... ...and added. 2003-09-18 13:51:10 +00:00
gimpairbrush.c removed erroneous semicolon after G_DEFINE_TYPE macros. 2006-05-15 09:46:31 +00:00
gimpairbrush.h took the fade options out of GimpGradientOptions and added them to the new 2003-07-15 15:38:24 +00:00
gimpairbrushoptions.c removed erroneous semicolon after G_DEFINE_TYPE macros. 2006-05-15 09:46:31 +00:00
gimpairbrushoptions.h Added object properties for almost all tool_options values and registered 2003-02-07 17:12:21 +00:00
gimpbrushcore-kernels.h fixed rounding so that all brush kernels are created with a constant sum 2004-12-31 16:20:51 +00:00
gimpbrushcore.c Properly abstract brush scaling: 2006-11-09 14:54:49 +00:00
gimpbrushcore.h app/*.[ch] converted tabs to spaces. 2006-04-12 12:49:29 +00:00
gimpclone.c changed GimpDrawable parameter to "GimpImageType dest_type". 2006-10-25 22:14:36 +00:00
gimpclone.h renamed enum GimpCloneAlignMode to GimpSourceAlignMode. 2006-09-02 22:39:26 +00:00
gimpcloneoptions.c added non-property boolean member "use_source" which defalts to TRUE. 2006-09-03 14:38:42 +00:00
gimpcloneoptions.h renamed enum GimpCloneAlignMode to GimpSourceAlignMode. 2006-09-02 22:39:26 +00:00
gimpconvolve.c removed erroneous semicolon after G_DEFINE_TYPE macros. 2006-05-15 09:46:31 +00:00
gimpconvolve.h app/paint/Makefile.am app/paint/gimpbrushcore-kernels.h new GimpPaintCore 2004-05-25 20:41:09 +00:00
gimpconvolveoptions.c removed erroneous semicolon after G_DEFINE_TYPE macros. 2006-05-15 09:46:31 +00:00
gimpconvolveoptions.h Added object properties for almost all tool_options values and registered 2003-02-07 17:12:21 +00:00
gimpdodgeburn.c removed erroneous semicolon after G_DEFINE_TYPE macros. 2006-05-15 09:46:31 +00:00
gimpdodgeburn.h app/paint/Makefile.am app/paint/gimpbrushcore-kernels.h new GimpPaintCore 2004-05-25 20:41:09 +00:00
gimpdodgeburnoptions.c removed erroneous semicolon after G_DEFINE_TYPE macros. 2006-05-15 09:46:31 +00:00
gimpdodgeburnoptions.h Added object properties for almost all tool_options values and registered 2003-02-07 17:12:21 +00:00
gimperaser.c changed GimpDrawable parameter to "GimpImageType dest_type". 2006-10-25 22:14:36 +00:00
gimperaser.h app/paint/Makefile.am app/paint/gimpbrushcore-kernels.h new GimpPaintCore 2004-05-25 20:41:09 +00:00
gimperaseroptions.c removed erroneous semicolon after G_DEFINE_TYPE macros. 2006-05-15 09:46:31 +00:00
gimperaseroptions.h removed "gboolean hard" member/property... 2003-07-14 14:50:41 +00:00
gimpheal.c app/actions/brush-editor-actions.c app/base/tile-manager-crop.c 2006-10-30 10:13:06 +00:00
gimpheal.h removed enum GimpHealAlignMode, we use the GimpSourceAlignMode now and can 2006-09-04 15:40:56 +00:00
gimpink-blob.c app/*.[ch] converted tabs to spaces. 2006-04-12 12:49:29 +00:00
gimpink-blob.h added GIMP_UNDO_INK. 2005-01-14 20:13:54 +00:00
gimpink-undo.c did a global gimage -> image substitution. 2006-03-28 17:08:36 +00:00
gimpink-undo.h did a global gimage -> image substitution. 2006-03-28 17:08:36 +00:00
gimpink.c changed GimpDrawable parameter to "GimpImageType dest_type". 2006-10-25 22:14:36 +00:00
gimpink.h added GIMP_UNDO_INK. 2005-01-14 20:13:54 +00:00
gimpinkoptions.c removed erroneous semicolon after G_DEFINE_TYPE macros. 2006-05-15 09:46:31 +00:00
gimpinkoptions.h app/paint/Makefile.am app/paint/gimpink-blob.[ch] app/paint/gimpink.[ch] 2004-05-26 15:34:45 +00:00
gimppaintbrush.c changed GimpDrawable parameter to "GimpImageType dest_type". 2006-10-25 22:14:36 +00:00
gimppaintbrush.h app/paint/Makefile.am app/paint/gimpbrushcore-kernels.h new GimpPaintCore 2004-05-25 20:41:09 +00:00
gimppaintcore-stroke.c added GError** parameter to GimpPaintCore::start(). 2006-09-26 20:55:40 +00:00
gimppaintcore-stroke.h Fixed & cleaned up paint function registration to work without GUI. 2003-08-30 13:22:20 +00:00
gimppaintcore-undo.c app/actions/brush-editor-actions.c app/base/tile-manager-crop.c 2006-10-30 10:13:06 +00:00
gimppaintcore-undo.h did a global gimage -> image substitution. 2006-03-28 17:08:36 +00:00
gimppaintcore.c added GError** parameter to GimpPaintCore::start(). 2006-09-26 20:55:40 +00:00
gimppaintcore.h added GError** parameter to GimpPaintCore::start(). 2006-09-26 20:55:40 +00:00
gimppaintoptions.c Changed GimpViewable preview rendering to have a context to get 2006-08-29 21:44:51 +00:00
gimppaintoptions.h did a global gimage -> image substitution. 2006-03-28 17:08:36 +00:00
gimppencil.c removed erroneous semicolon after G_DEFINE_TYPE macros. 2006-05-15 09:46:31 +00:00
gimppencil.h use G_DEFINE_TYPE(). 2005-12-07 21:11:53 +00:00
gimppenciloptions.c removed erroneous semicolon after G_DEFINE_TYPE macros. 2006-05-15 09:46:31 +00:00
gimppenciloptions.h app/paint/gimppencil.h app/paint/gimppenciloptions.h 2005-08-21 17:28:18 +00:00
gimpperspectiveclone.c app/paint/gimpclone.c app/paint/gimpheal.c 2006-09-26 21:53:43 +00:00
gimpperspectiveclone.h made gimp_source_core_motion() a public function for the time being, 2006-09-12 12:57:55 +00:00
gimpperspectivecloneoptions.c made gimp_source_core_motion() a public function for the time being, 2006-09-12 12:57:55 +00:00
gimpperspectivecloneoptions.h made gimp_source_core_motion() a public function for the time being, 2006-09-12 12:57:55 +00:00
gimpsmudge.c cosmetic cleanups, renamed gimp_smudge_nonclipped_painthit_coords() to 2006-09-13 17:32:36 +00:00
gimpsmudge.h app/paint/Makefile.am app/paint/gimpbrushcore-kernels.h new GimpPaintCore 2004-05-25 20:41:09 +00:00
gimpsmudgeoptions.c removed erroneous semicolon after G_DEFINE_TYPE macros. 2006-05-15 09:46:31 +00:00
gimpsmudgeoptions.h Added object properties for almost all tool_options values and registered 2003-02-07 17:12:21 +00:00
gimpsourcecore.c added GError** parameter to GimpPaintCore::start(). 2006-09-26 20:55:40 +00:00
gimpsourcecore.h made gimp_source_core_motion() a public function for the time being, 2006-09-12 12:57:55 +00:00
gimpsourceoptions.c added non-property boolean member "use_source" which defalts to TRUE. 2006-09-03 14:38:42 +00:00
gimpsourceoptions.h added non-property boolean member "use_source" which defalts to TRUE. 2006-09-03 14:38:42 +00:00
makefile.msc updated 2006-09-08 11:45:06 +00:00
paint-enums.c Merged the "soc-2006-perspective-clone" branch. That branch is now 2006-09-07 17:10:22 +00:00
paint-enums.h Merged the "soc-2006-perspective-clone" branch. That branch is now 2006-09-07 17:10:22 +00:00
paint-types.h Fixed incomplete core/ui separation of paint tools and paint methods: 2005-12-27 18:57:01 +00:00