WIP Rotational brushes now supported
Unlike "directional" brushes, in which a 3x3 grid representing the 8 cardinal directions (45 degree steps) is used, only a single brush image is required, and Tux Paint will rotate it between 0 and 360 degrees, depending on the direction the mouse is going. The brush's ".dat" file should contain a line consisting of the word "rotate". Note: This adds a dependency on "SDL_gfx" library (Homepage: https://www.ferzkopp.net/wordpress/2016/01/02/sdl_gfx-sdl2_gfx/ SourceForge project page: https://sourceforge.net/projects/sdlgfx/) as this feature use it's "rotozoom" functionality. WIP -- Doesn't handle animated brushes correctly yet! Closes https://sourceforge.net/p/tuxpaint/feature-requests/122/
This commit is contained in:
parent
8a97e83a7b
commit
a3080eef18
27 changed files with 316 additions and 110 deletions
|
|
@ -33,6 +33,23 @@ $Id$
|
|||
|
||||
* Other Improvements:
|
||||
-------------------
|
||||
* WIP Rotational brushes now supported. Unlike "directional"
|
||||
brushes, in which a 3x3 grid representing the 8 cardinal
|
||||
directions (45 degree steps) is used, only a single brush image
|
||||
is required, and Tux Paint will rotate it between 0 and 360 degrees,
|
||||
depending on the direction the mouse is going. The brush's ".dat"
|
||||
file should contain a line consisting of the word "rotate".
|
||||
* FIXME: WIP -- Doesn't handle animated brushes correctly!
|
||||
* Note: This adds a dependency on "SDL_gfx" library
|
||||
(Homepage: https://www.ferzkopp.net/wordpress/2016/01/02/sdl_gfx-sdl2_gfx/
|
||||
SourceForge project page: https://sourceforge.net/projects/sdlgfx/)
|
||||
as this feature use it's "rotozoom" functionality.
|
||||
(Closes https://sourceforge.net/p/tuxpaint/feature-requests/122/)
|
||||
|
||||
* Replaced the "arrow_compass_points" brush with a single
|
||||
arrow which can rotate at any angle, using the new
|
||||
"rotational" brush feature.
|
||||
|
||||
* Small icons appear on brush selection buttons denoting
|
||||
when the brush is animated and/or directional.
|
||||
(Closes https://sourceforge.net/p/tuxpaint/bugs/183/)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue