GNOME Bugzilla – Bug 152846
Angular GIH brushes wrong stroke
Last modified: 2004-11-17 19:06:38 UTC
Julien made an example for gimp-help, a GIH Brushes with four layers containing numbers 1,2,3,4 saved with parameters : Dimension 1, Ranks 4, Selection Angular. When I stroke a selection square with this brush it's fine. For a circle or a diamond it's not correct I think (I also tested an ellipse it's alos not correct for me). Also with Gimp 1.2.4 it's the same results. Here are the brush : http://raymond.ostertag.free.fr/pub/bugzilla/1234.gih Here are the results (gimp 2.0.4 ) : http://raymond.ostertag.free.fr/pub/bugzilla/1234_results.xcf @+ Raymond
This problem is not easily fixed. The reason for this behaviour is that the line stroked is exactly where the marching ants are drawn. So stroking a boundary that moves to the upper right will switch between the "up" and "right" cursors depending on the stairs that the marching ants show. The underlying problem is the same as in bug #50730, it might be useful to mark it as a duplicate.
I forgot to add: The GIH works perfectly when stroking a path.
Yes, I think this should be marked as a duplicate. And we should really do something about bug #50730.
*** This bug has been marked as a duplicate of 50730 ***
Actually, there is a difference in this bug - the problem here is fixable by adding another parameter to GIH brushes that have angular selections: an offset angle. If ones purpose is, for instance, have 4 arrows pointing each to up, down, left and right, changing the threshold angle to 45 degrees, instead of the default 0 degrees would make it work. Without that, the work around is to have 8 layers instead of 4.