CVSROOT: /cvs/gnome Module name: gimp Changes by: tml 05/06/24 19:28:38
Modified files: . : ChangeLog app/display : gimpcanvas.h gimpcanvas.c app/tools : gimpdrawtool.c Log message: 2005-06-24 Tor Lillqvist <[EMAIL PROTECTED]> * app/display/gimpcanvas.h: Add new GimpCanvasStyle value, GIMP_CANVAS_STYLE_XOR_DOTTED. * app/display/gimpcanvas.c (gimp_canvas_gc_new): Implement it like GIMP_CANVAS_STYLE_XOR_DASHED, except that we set the dash pattern to a single-pixel on-off one. * app/tools/gimpdrawtool.c (gimp_draw_tool_draw_boundary): Sort the boundary so that we can draw each connected group of segments using gimp_canvas_draw_lines(). (Even if we would still use gimp_canvas_draw_segments(), the boundary would have to be sorted so that the XOR drawing and GDK_CAP_NOT_LAST cooperate properly.) Use GIMP_CANVAS_STYLE_XOR_DOTTED so the outline doesn't look too heavy. Remove the dubious code snippet that offset some segments by one pixel. It didn't do what the comment claimed, and why one would need to do what the comment said, or what it actually did, is unclear. Now brush outlines shouldn't have gaps any longer. (#308710) URL : http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=gimp&who=tml&date=explicit&mindate=2005-06-24%2019:27&maxdate=2005-06-24%2019:29 _______________________________________________ cvs-commits-list mailing list cvs-commits-list@gnome.org http://mail.gnome.org/mailman/listinfo/cvs-commits-list