Re: [Tuxpaint-devel] Bugs [brush spacing]
An award-winning drawing program for children of all ages
Brought to you by:
wkendrick
|
From: Bill K. <nb...@so...> - 2022-01-10 06:11:18
|
On Fri, Jan 07, 2022 at 03:29:53PM +0200, ΑΡΕΤΗ ΤΣΟΛΑΚΙΔΟΥ wrote: > Hello there, > I am new to this project and I was trying to confurm how this project works > all this days. My main purpose was to use as many tools and brushes as > possible and I think I found some issues that may need to be remaked. Hi, thanks for jumping over to the mailing list. > When I select "lines" as tool and "star" as brush, the stars are not > obvious because each star appears very close to each other. What i think is > better is that every star should appear next to each other but having a > small distance. With this thing done, the users will be able to make a > better and more obvious line made by stars. > Also, this bug can be found in more brushes such as in flowers, polygons, > hearts and more. > I am sending you also an image of some samples in order to make more clear > what I am trying to say. As I mentioned in my reply on the wiki, spacing for brushes can be defined. You can make an adjustment to (or adding, if one doesn't exist) the brush's configuration file. (See https://tuxpaint.org/docs/en/html/EXTENDING.html#brush_options) "star.png" has no such config. file, and hence the spacing will be a default that Tux Paint chooses. (Looking back at the code, it's the height of the brush, divided by 4.) As "star.png" is 40x37, that means the spacing will be 9 pixels, hence the overlap. By adding a file "star.dat" containing, for example: spacing=45 The brush can be spaced out to avoid overlap. I'm guessing some users may be confused by things changing between versions, but at least it's a simple matter to change it back (remove or alter their own local copy of the .dat file), if they complain. :) If you'd like to suggest which brushes would benefit from particular spacing values, please feel free to! Alternatively, you could open a ticket in the SourceForge project, and we can work to address it there. If you haven't been able to tell, things are quite informal (and low-traffic) around here. It can be a few years between releases, or it can be only a few months. It depends on how much time people have to work on the project in their spare time -- especially me, since I'm the main person 'managing' the project, doing the final source code releases, and rallying the porting volunteers, and posting their files. :) -- -bill! Sent from my computer |