gimp/app/paint
Michael Natterer 78262ef745 removed "gboolean hard" member/property...
2003-07-14  Michael Natterer  <mitch@gimp.org>

	* app/paint/gimperaseroptions.[ch]: removed "gboolean hard"
	member/property...

	* app/paint/gimppaintoptions.[ch]: ...and added it here. Added
	gimp_paint_options_get_brush_mode() utility function.

	* app/paint/gimpairbrush.c
	* app/paint/gimpclone.c
	* app/paint/gimpconvolve.c
	* app/paint/gimpdodgeburn.c
	* app/paint/gimperaser.c
	* app/paint/gimppaintbrush.c
	* app/paint/gimppaintcore.h
	* app/paint/gimppencil.c
	* app/paint/gimpsmudge.c: use the new utility funtion where
	appropriate. Removed trailing whitespace.

	* app/tools/gimpdrawtool.[ch] (gimp_paint_tool_draw_boundary):
	changed offset parameters from gint to gdouble so we can show the
	brush preview at sub-pixel positions.

	* app/tools/gimppainttool.c: use sub-pixel coordinates for the
	brush preview if paint_options->hard is FALSE (doesn't work for
	the pencil yet).

	The new brush preview unveiled that the positioning of even-sized
	brushes if off by 0.5 for soft brush application mode and off by
	1.0 for hard application mode:

	* app/paint/gimppaintcore.[ch] (gimp_paint_core_subsample_mask):
	offset painting by 0.5 pixels on the brushes' even sized axes by
	shuffling the subsample matrices around.

	Added "subsampling" for HARD brush application mode since a pixel
	of an even sized brush can snap to up to four different image
	pixels depending on the sub-pixel coordinates of the stroke.
2003-07-14 14:50:41 +00:00
..
.cvsignore Core/UI separation for the paint tools: 2002-02-14 19:31:16 +00:00
gimpairbrush.c removed "gboolean hard" member/property... 2003-07-14 14:50:41 +00:00
gimpairbrush.h Made GimpToolOptions a GimpContext subclass and objectified all tool 2003-02-05 14:39:40 +00:00
gimpairbrushoptions.c Added object properties for almost all tool_options values and registered 2003-02-07 17:12:21 +00:00
gimpairbrushoptions.h Added object properties for almost all tool_options values and registered 2003-02-07 17:12:21 +00:00
gimpclone.c removed "gboolean hard" member/property... 2003-07-14 14:50:41 +00:00
gimpclone.h Made GimpToolOptions a GimpContext subclass and objectified all tool 2003-02-05 14:39:40 +00:00
gimpcloneoptions.c Added object properties for almost all tool_options values and registered 2003-02-07 17:12:21 +00:00
gimpcloneoptions.h Added object properties for almost all tool_options values and registered 2003-02-07 17:12:21 +00:00
gimpconvolve.c removed "gboolean hard" member/property... 2003-07-14 14:50:41 +00:00
gimpconvolve.h Made GimpToolOptions a GimpContext subclass and objectified all tool 2003-02-05 14:39:40 +00:00
gimpconvolveoptions.c Added object properties for almost all tool_options values and registered 2003-02-07 17:12:21 +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 "gboolean hard" member/property... 2003-07-14 14:50:41 +00:00
gimpdodgeburn.h Made GimpToolOptions a GimpContext subclass and objectified all tool 2003-02-05 14:39:40 +00:00
gimpdodgeburnoptions.c Added object properties for almost all tool_options values and registered 2003-02-07 17:12:21 +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 removed "gboolean hard" member/property... 2003-07-14 14:50:41 +00:00
gimperaser.h Made GimpToolOptions a GimpContext subclass and objectified all tool 2003-02-05 14:39:40 +00:00
gimperaseroptions.c removed "gboolean hard" member/property... 2003-07-14 14:50:41 +00:00
gimperaseroptions.h removed "gboolean hard" member/property... 2003-07-14 14:50:41 +00:00
gimpink-blob.c added app/display/ and app/plug-in/. Empty for now except for the types 2001-08-17 14:27:31 +00:00
gimpink-blob.h Made GimpToolOptions a GimpContext subclass and objectified all tool 2003-02-05 14:39:40 +00:00
gimpink.c app/gui/edit-commands.c added "Fill with Pattern" menu entry as suggested 2003-07-02 18:01:19 +00:00
gimpink.h Removed support for pluggable tools: 2003-04-15 14:20:19 +00:00
gimpinkoptions.c Getting rid of some legacy filenames: 2003-06-29 20:40:45 +00:00
gimpinkoptions.h simplified everything a lot by merging the public GimpContextPropType enum 2003-02-09 17:32:52 +00:00
gimppaintbrush.c removed "gboolean hard" member/property... 2003-07-14 14:50:41 +00:00
gimppaintbrush.h app/core/Makefile.am new object for registering GimpPaintCore subclasses, 2002-02-27 13:57:49 +00:00
gimppaintcore-kernels.h cleanup. Removed trailing whitespace in generated output. 2003-07-14 14:14:30 +00:00
gimppaintcore-stroke.c Save brush pointer before first stroke and restore it after. Fixes bug 2003-05-02 12:10:40 +00:00
gimppaintcore-stroke.h added gimp_paint_core_stroke_vectors() which strokes the whole vector 2002-02-26 03:19:47 +00:00
gimppaintcore-undo.c Makefile.am removed this header file. 2003-03-25 16:38:19 +00:00
gimppaintcore-undo.h Moved the undo step implementations to the core and pass around lots of 2003-02-14 14:14:29 +00:00
gimppaintcore.c removed "gboolean hard" member/property... 2003-07-14 14:50:41 +00:00
gimppaintcore.h removed "gboolean hard" member/property... 2003-07-14 14:50:41 +00:00
gimppaintoptions.c removed "gboolean hard" member/property... 2003-07-14 14:50:41 +00:00
gimppaintoptions.h removed "gboolean hard" member/property... 2003-07-14 14:50:41 +00:00
gimppencil.c removed "gboolean hard" member/property... 2003-07-14 14:50:41 +00:00
gimppencil.h Made GimpToolOptions a GimpContext subclass and objectified all tool 2003-02-05 14:39:40 +00:00
gimpsmudge.c removed "gboolean hard" member/property... 2003-07-14 14:50:41 +00:00
gimpsmudge.h Made GimpToolOptions a GimpContext subclass and objectified all tool 2003-02-05 14:39:40 +00:00
gimpsmudgeoptions.c Added object properties for almost all tool_options values and registered 2003-02-07 17:12:21 +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 removed "gboolean hard" member/property... 2003-07-14 14:50:41 +00:00
gimpsourcecore.h Made GimpToolOptions a GimpContext subclass and objectified all tool 2003-02-05 14:39:40 +00:00
gimpsourceoptions.c Added object properties for almost all tool_options values and registered 2003-02-07 17:12:21 +00:00
gimpsourceoptions.h Added object properties for almost all tool_options values and registered 2003-02-07 17:12:21 +00:00
Makefile.am more gimp-intl.h fixes 2003-03-25 17:52:47 +00:00
makefile.msc app/text/makefile.msc (new file) */makefile.msc */*/makefile.msc : updated 2003-03-03 18:14:31 +00:00
paint-enums.c Makefile.am removed this header file. 2003-03-25 16:38:19 +00:00
paint-enums.h app/base/base-enums.h app/paint/paint-enums.h use /*< pdb-skip, skip >*/, 2003-07-01 10:53:38 +00:00
paint-types.h Moved the undo step implementations to the core and pass around lots of 2003-02-14 14:14:29 +00:00
paint.c Moved the undo step implementations to the core and pass around lots of 2003-02-14 14:14:29 +00:00
paint.h Added some kind of paint core registry. It's ugly and will change... 2002-02-26 02:00:02 +00:00