CVSROOT: /cvs/gnome
Module name: gimp
Changes by: mitch 06/11/09 09:54:49
Modified files:
. : ChangeLog
app/paint : gimpbrushcore.c
app/core : gimpbrush.c gimpbrush.h gimpbrushgenerated.c
Log message:
2006-11-09 Michael Natterer <[EMAIL PROTECTED]>
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.
URL :
http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=gimp&who=mitch&date=explicit&mindate=2006-11-09%2009:53&maxdate=2006-11-09%2009:55
_______________________________________________
cvs-commits-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/cvs-commits-list