CVSROOT:        /cvs/gnome
Module name:    gimp
Changes by:     mitch   06/11/16 10:11:27

Modified files:
        .              : ChangeLog 
        app/paint      : gimppaintoptions.c gimppaintoptions.h 
                         gimpbrushcore.c gimpbrushcore.h 
        app/tools      : gimpbrushtool.c gimppaintoptions-gui.c 

Log message:
2006-11-16  Michael Natterer  <[EMAIL PROTECTED]>

Made all brushes scalable from the tool options. So far only
downscaling is supported since we lack an algorithm for bitmap
brush upscaling. Addresses bug #65030 
[http://bugzilla.gnome.org/show_bug.cgi?id=65030].

* app/paint/gimppaintoptions.[ch]: added "brush-scale" property.

* app/paint/gimpbrushcore.[ch]: separate pressure logic from brush
scaling logic and take paint_options->brush_scale into account.
Added gimp_brush_core_create_bound_segs() which returns BoundSegs
of the correctly scaled brush mask for the brush preview on the
canvas.

* app/tools/gimpbrushtool.c: use gimp_brush_core_create_bound_segs()
instead of doing this here (also removes all knowledge about lowlevel
stuff from this file). Connect to notify::brush-scale of the
paint options and invalidate the brush core's brush accordingly.

* app/tools/gimppaintoptions-gui.c: added brush scale slider.

URL : 
http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=gimp&who=mitch&date=explicit&mindate=2006-11-16%2010:10&maxdate=2006-11-16%2010:12

_______________________________________________
cvs-commits-list mailing list
cvs-commits-list@gnome.org
http://mail.gnome.org/mailman/listinfo/cvs-commits-list

Reply via email to