#96 Brushes don't space right when painting from bottom to up

v0.9.19
closed
Interface (41)
5
2012-10-03
2008-01-24
No

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

Discussion

  • Pere Pujal i Carabantes

    generated with diff -urN tuxpaint.c tuxpaint.c.modified >directional.diff

     
  • William Kendrick

    Logged In: YES
    user_id=132410
    Originator: NO

    Applied patch, thanks. Fixed in 0.9.20.

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks