Brushes don't space right when painting from bottom to up
An award-winning drawing program for children of all ages
Brought to you by:
wkendrick
Start tuxpaint, select the arrow brush and the line tool, draw from the
bottom to the up various times.
I get the brush not right distributed, some are close, some are
separate. The cat brush does something similar, the paint tool with
those brushes too.
This occurs as well with non directional brushes, but is better seen in wide spaced ones.
This problem seems to occur because y axis is reversed to allow counting up in brush_draw() and instead, blit_brush() counts continually up to brush spacing
The attached file is a path I propose, it removes the reverse of y axis and instead adds a counting down.
Double check it, I'm not a programmer.
Hope this helps.
Pere
generated with diff -urN tuxpaint.c tuxpaint.c.modified >directional.diff
Logged In: YES
user_id=132410
Originator: NO
Applied patch, thanks. Fixed in 0.9.20.