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/)
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
Copyright © 2002-2021 by various contributors; see AUTHORS.
|
||||
http://www.tuxpaint.org/
|
||||
|
||||
May 31, 2021
|
||||
September 6, 2021
|
||||
|
||||
----------------------------------------------------------------------
|
||||
|
||||
|
|
@ -212,17 +212,26 @@ Brushes
|
|||
Add a line containing the word "directional" to the brush's data
|
||||
file.
|
||||
|
||||
Animated Directional Brushes
|
||||
Rotating Brushes
|
||||
|
||||
You may mix both animated and directional features into one brush.
|
||||
Use both options ("frames=N" and "directional"), in separate lines
|
||||
in the brush's ".dat" file.
|
||||
As of Tux Paint version 0.9.27, you may now create rotating brushes.
|
||||
As the brush is used, it is rotated 360 degrees, depending on the
|
||||
direction the brush is going.
|
||||
|
||||
Lay the brush out so that each 3x3 set of directional shapes are
|
||||
laid out across a wide PNG image. For example, if the brush is 30x30
|
||||
and there are 5 frames, it would be 450x90. (The leftmost 150x90
|
||||
pixels of the image represent the 9 direction shapes for the first
|
||||
frame, for example.)
|
||||
Add a line containing the word "rotate" to the brush's data file.
|
||||
|
||||
Animated Directional or Rotating Brushes
|
||||
|
||||
You may mix both animated and either directional or rotating
|
||||
features into one brush. Use both options desired ("frames=N" and
|
||||
"directional" or "rotate"), in separate lines in the brush's ".dat"
|
||||
file.
|
||||
|
||||
For directional brushes, lay the brush out so that each 3x3 set of
|
||||
directional shapes are laid out across a wide PNG image. For
|
||||
example, if the brush is 30x30 and there are 5 frames, it would be
|
||||
450x90. (The leftmost 150x90 pixels of the image represent the 9
|
||||
direction shapes for the first frame, for example.)
|
||||
|
||||
Place the brush image PNGs (and any data text files) in the "brushes"
|
||||
directory.
|
||||
|
|
|
|||
|
|
@ -37,9 +37,10 @@ Requirements
|
|||
Lesser General Public License (LGPL).
|
||||
|
||||
Along with libSDL, Tux Paint depends on a number of other SDL 'helper'
|
||||
libraries: SDL_Image (for graphics files), SDL_TTF and (optionally)
|
||||
SDL_Pango (for True Type Font support) and, optionally, SDL_Mixer (for
|
||||
sound effects).
|
||||
libraries: SDL_Image (for graphics files), SDL_gfx (for some graphical
|
||||
functions, like rotation), SDL_TTF and (optionally) SDL_Pango (for
|
||||
True Type Font support) and, optionally, SDL_Mixer (for sound
|
||||
effects).
|
||||
|
||||
Linux/Unix Users:
|
||||
|
||||
|
|
@ -49,6 +50,9 @@ Requirements
|
|||
|
||||
* libSDL: http://www.libsdl.org/
|
||||
* SDL_Image: http://www.libsdl.org/projects/SDL_image/
|
||||
* SDL_gfx:
|
||||
https://www.ferzkopp.net/wordpress/2016/01/02/sdl_gfx-sdl2_gfx/
|
||||
(https://sourceforge.net/projects/sdlgfx/)
|
||||
* SDL_TTF: http://www.libsdl.org/projects/SDL_ttf/
|
||||
* SDL_Pango: http://sourceforge.net/projects/sdlpango/ (optional)
|
||||
* SDL_Mixer: http://www.libsdl.org/projects/SDL_mixer/ (optional)
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@
|
|||
</p>
|
||||
|
||||
<p>
|
||||
May 31, 2021 </p>
|
||||
September 6, 2021 </p>
|
||||
</center>
|
||||
|
||||
<hr size="2"
|
||||
|
|
@ -367,14 +367,25 @@
|
|||
</blockquote>
|
||||
|
||||
<h4>
|
||||
Animated Directional Brushes </h4>
|
||||
Rotating Brushes </h4>
|
||||
|
||||
<blockquote>
|
||||
<p>
|
||||
You may mix both animated and directional features into one brush. Use both options ("<code><b>frames=<i>N</i></b></code>" and "<code><b>directional</b></code>"), in separate lines in the brush's "<code>.dat</code>" file. </p>
|
||||
As of Tux Paint version 0.9.27, you may now create rotating brushes. As the brush is used, it is rotated 360 degrees, depending on the direction the brush is going. </p>
|
||||
|
||||
<p>
|
||||
Lay the brush out so that each 3x3 set of directional shapes are laid out across a wide PNG image. For example, if the brush is 30x30 and there are 5 frames, it would be 450x90. (The leftmost 150x90 pixels of the image represent the 9 direction shapes for the first frame, for example.) </p>
|
||||
Add a line containing the word "<code><b>rotate</b></code>" to the brush's data file. </p>
|
||||
</blockquote>
|
||||
|
||||
<h4>
|
||||
Animated Directional or Rotating Brushes </h4>
|
||||
|
||||
<blockquote>
|
||||
<p>
|
||||
You may mix both animated and either directional or rotating features into one brush. Use both options desired ("<code><b>frames=<i>N</i></b></code>" and "<code><b>directional</b></code>" or "<code><b>rotate</b></code>"), in separate lines in the brush's "<code>.dat</code>" file. </p>
|
||||
|
||||
<p>
|
||||
For directional brushes, lay the brush out so that each 3x3 set of directional shapes are laid out across a wide PNG image. For example, if the brush is 30x30 and there are 5 frames, it would be 450x90. (The leftmost 150x90 pixels of the image represent the 9 direction shapes for the first frame, for example.) </p>
|
||||
</blockquote>
|
||||
</blockquote>
|
||||
|
||||
|
|
|
|||
|
|
@ -107,7 +107,7 @@
|
|||
Tux Paint requires the Simple DirectMedia Layer Library (libSDL), an Open Source multimedia programming library available under the GNU Lesser General Public License (LGPL). </p>
|
||||
|
||||
<p>
|
||||
Along with libSDL, Tux Paint depends on a number of other SDL 'helper' libraries: SDL_Image (for graphics files), SDL_TTF and (optionally) SDL_Pango (for True Type Font support) and, optionally, SDL_Mixer (for sound effects). </p>
|
||||
Along with libSDL, Tux Paint depends on a number of other SDL 'helper' libraries: SDL_Image (for graphics files), SDL_gfx (for some graphical functions, like rotation), SDL_TTF and (optionally) SDL_Pango (for True Type Font support) and, optionally, SDL_Mixer (for sound effects). </p>
|
||||
|
||||
<h4>Linux/Unix Users:</h4>
|
||||
<blockquote>
|
||||
|
|
@ -116,6 +116,7 @@
|
|||
<ul>
|
||||
<li>libSDL: <a href="http://www.libsdl.org/">http://www.libsdl.org/</a></li>
|
||||
<li>SDL_Image: <a href="http://www.libsdl.org/projects/SDL_image/">http://www.libsdl.org/projects/SDL_image/</a></li>
|
||||
<li>SDL_gfx: <a href="https://www.ferzkopp.net/wordpress/2016/01/02/sdl_gfx-sdl2_gfx/">https://www.ferzkopp.net/wordpress/2016/01/02/sdl_gfx-sdl2_gfx/</a> (<a href="https://sourceforge.net/projects/sdlgfx/">https://sourceforge.net/projects/sdlgfx/</a>)</li>
|
||||
<li>SDL_TTF: <a href="http://www.libsdl.org/projects/SDL_ttf/">http://www.libsdl.org/projects/SDL_ttf/</a></li>
|
||||
<li>SDL_Pango: <a href="http://sourceforge.net/projects/sdlpango/">http://sourceforge.net/projects/sdlpango/</a> (optional)</li>
|
||||
<li>SDL_Mixer: <a href="http://www.libsdl.org/projects/SDL_mixer/">http://www.libsdl.org/projects/SDL_mixer/</a> (optional)</li>
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
Copyright © 2002-2021 by various contributors; see AUTHORS.
|
||||
http://www.tuxpaint.org/
|
||||
|
||||
mayo 31, 2021
|
||||
septiembre 6, 2021
|
||||
|
||||
----------------------------------------------------------------------
|
||||
|
||||
|
|
@ -212,17 +212,26 @@ Brushes
|
|||
Add a line containing the word "directional" to the brush's data
|
||||
file.
|
||||
|
||||
Animated Directional Brushes
|
||||
Rotating Brushes
|
||||
|
||||
You may mix both animated and directional features into one brush.
|
||||
Use both options ("frames=N" and "directional"), in separate lines
|
||||
in the brush's ".dat" file.
|
||||
As of Tux Paint version 0.9.27, you may now create rotating brushes.
|
||||
As the brush is used, it is rotated 360 degrees, depending on the
|
||||
direction the brush is going.
|
||||
|
||||
Lay the brush out so that each 3x3 set of directional shapes are
|
||||
laid out across a wide PNG image. For example, if the brush is 30x30
|
||||
and there are 5 frames, it would be 450x90. (The leftmost 150x90
|
||||
pixels of the image represent the 9 direction shapes for the first
|
||||
frame, for example.)
|
||||
Add a line containing the word "rotate" to the brush's data file.
|
||||
|
||||
Animated Directional or Rotating Brushes
|
||||
|
||||
You may mix both animated and either directional or rotating
|
||||
features into one brush. Use both options desired ("frames=N" and
|
||||
"directional" or "rotate"), in separate lines in the brush's ".dat"
|
||||
file.
|
||||
|
||||
For directional brushes, lay the brush out so that each 3x3 set of
|
||||
directional shapes are laid out across a wide PNG image. For
|
||||
example, if the brush is 30x30 and there are 5 frames, it would be
|
||||
450x90. (The leftmost 150x90 pixels of the image represent the 9
|
||||
direction shapes for the first frame, for example.)
|
||||
|
||||
Place the brush image PNGs (and any data text files) in the "brushes"
|
||||
directory.
|
||||
|
|
|
|||
|
|
@ -37,9 +37,10 @@ Requirements
|
|||
Lesser General Public License (LGPL).
|
||||
|
||||
Along with libSDL, Tux Paint depends on a number of other SDL 'helper'
|
||||
libraries: SDL_Image (for graphics files), SDL_TTF and (optionally)
|
||||
SDL_Pango (for True Type Font support) and, optionally, SDL_Mixer (for
|
||||
sound effects).
|
||||
libraries: SDL_Image (for graphics files), SDL_gfx (for some graphical
|
||||
functions, like rotation), SDL_TTF and (optionally) SDL_Pango (for
|
||||
True Type Font support) and, optionally, SDL_Mixer (for sound
|
||||
effects).
|
||||
|
||||
Linux/Unix Users:
|
||||
|
||||
|
|
@ -49,6 +50,9 @@ Requirements
|
|||
|
||||
* libSDL: http://www.libsdl.org/
|
||||
* SDL_Image: http://www.libsdl.org/projects/SDL_image/
|
||||
* SDL_gfx:
|
||||
https://www.ferzkopp.net/wordpress/2016/01/02/sdl_gfx-sdl2_gfx/
|
||||
(https://sourceforge.net/projects/sdlgfx/)
|
||||
* SDL_TTF: http://www.libsdl.org/projects/SDL_ttf/
|
||||
* SDL_Pango: http://sourceforge.net/projects/sdlpango/ (optional)
|
||||
* SDL_Mixer: http://www.libsdl.org/projects/SDL_mixer/ (optional)
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@
|
|||
</p>
|
||||
|
||||
<p>
|
||||
mayo 31, 2021 </p>
|
||||
septiembre 6, 2021 </p>
|
||||
</center>
|
||||
|
||||
<hr size="2"
|
||||
|
|
@ -367,14 +367,25 @@
|
|||
</blockquote>
|
||||
|
||||
<h4>
|
||||
Animated Directional Brushes </h4>
|
||||
Rotating Brushes </h4>
|
||||
|
||||
<blockquote>
|
||||
<p>
|
||||
You may mix both animated and directional features into one brush. Use both options ("<code><b>frames=<i>N</i></b></code>" and "<code><b>directional</b></code>"), in separate lines in the brush's "<code>.dat</code>" file. </p>
|
||||
As of Tux Paint version 0.9.27, you may now create rotating brushes. As the brush is used, it is rotated 360 degrees, depending on the direction the brush is going. </p>
|
||||
|
||||
<p>
|
||||
Lay the brush out so that each 3x3 set of directional shapes are laid out across a wide PNG image. For example, if the brush is 30x30 and there are 5 frames, it would be 450x90. (The leftmost 150x90 pixels of the image represent the 9 direction shapes for the first frame, for example.) </p>
|
||||
Add a line containing the word "<code><b>rotate</b></code>" to the brush's data file. </p>
|
||||
</blockquote>
|
||||
|
||||
<h4>
|
||||
Animated Directional or Rotating Brushes </h4>
|
||||
|
||||
<blockquote>
|
||||
<p>
|
||||
You may mix both animated and either directional or rotating features into one brush. Use both options desired ("<code><b>frames=<i>N</i></b></code>" and "<code><b>directional</b></code>" or "<code><b>rotate</b></code>"), in separate lines in the brush's "<code>.dat</code>" file. </p>
|
||||
|
||||
<p>
|
||||
For directional brushes, lay the brush out so that each 3x3 set of directional shapes are laid out across a wide PNG image. For example, if the brush is 30x30 and there are 5 frames, it would be 450x90. (The leftmost 150x90 pixels of the image represent the 9 direction shapes for the first frame, for example.) </p>
|
||||
</blockquote>
|
||||
</blockquote>
|
||||
|
||||
|
|
|
|||
|
|
@ -107,7 +107,7 @@
|
|||
Tux Paint requires the Simple DirectMedia Layer Library (libSDL), an Open Source multimedia programming library available under the GNU Lesser General Public License (LGPL). </p>
|
||||
|
||||
<p>
|
||||
Along with libSDL, Tux Paint depends on a number of other SDL 'helper' libraries: SDL_Image (for graphics files), SDL_TTF and (optionally) SDL_Pango (for True Type Font support) and, optionally, SDL_Mixer (for sound effects). </p>
|
||||
Along with libSDL, Tux Paint depends on a number of other SDL 'helper' libraries: SDL_Image (for graphics files), SDL_gfx (for some graphical functions, like rotation), SDL_TTF and (optionally) SDL_Pango (for True Type Font support) and, optionally, SDL_Mixer (for sound effects). </p>
|
||||
|
||||
<h4>Linux/Unix Users:</h4>
|
||||
<blockquote>
|
||||
|
|
@ -116,6 +116,7 @@
|
|||
<ul>
|
||||
<li>libSDL: <a href="http://www.libsdl.org/">http://www.libsdl.org/</a></li>
|
||||
<li>SDL_Image: <a href="http://www.libsdl.org/projects/SDL_image/">http://www.libsdl.org/projects/SDL_image/</a></li>
|
||||
<li>SDL_gfx: <a href="https://www.ferzkopp.net/wordpress/2016/01/02/sdl_gfx-sdl2_gfx/">https://www.ferzkopp.net/wordpress/2016/01/02/sdl_gfx-sdl2_gfx/</a> (<a href="https://sourceforge.net/projects/sdlgfx/">https://sourceforge.net/projects/sdlgfx/</a>)</li>
|
||||
<li>SDL_TTF: <a href="http://www.libsdl.org/projects/SDL_ttf/">http://www.libsdl.org/projects/SDL_ttf/</a></li>
|
||||
<li>SDL_Pango: <a href="http://sourceforge.net/projects/sdlpango/">http://sourceforge.net/projects/sdlpango/</a> (optional)</li>
|
||||
<li>SDL_Mixer: <a href="http://www.libsdl.org/projects/SDL_mixer/">http://www.libsdl.org/projects/SDL_mixer/</a> (optional)</li>
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
Copyright &copie; 2002-2021 par divers contributeurs; voir AUTHORS.
|
||||
http://www.tuxpaint.org/
|
||||
|
||||
mai 31, 2021
|
||||
septembre 6, 2021
|
||||
|
||||
----------------------------------------------------------------------
|
||||
|
||||
|
|
@ -230,17 +230,27 @@ Pinceaux
|
|||
Ajoute une ligne contenant le mot "directional" au fichier de
|
||||
données brosse.
|
||||
|
||||
Pinceaux animés orientables
|
||||
Rotating Brushes
|
||||
|
||||
Vous pouvez mélanger animation et orientation dans un même pinceau.
|
||||
Utilisez les deux options ("frames=N" et "directional") en deux
|
||||
lignes séparées dans le fichier ".dat" qui concerne le pinceau.
|
||||
As of Tux Paint version 0.9.27, you may now create rotating brushes.
|
||||
As the brush is used, it is rotated 360 degrees, depending on the
|
||||
direction the brush is going.
|
||||
|
||||
Disposez le pinceau de manière à ce que chaque ensemble 3x3 de
|
||||
formes orientables soit disposé sur une grande image PNG. Par
|
||||
exemple, si le pinceau mesure 30x30 et qu'il y a 5 cadres, ce sera
|
||||
450x90. (Les 150x90 pixels les plus à gauche de l'image représentent
|
||||
les 9 formes de direction pour la première image, par exemple).
|
||||
Ajoute une ligne contenant le mot "rotate" au fichier de données
|
||||
brosse.
|
||||
|
||||
Animated Directional or Rotating Brushes
|
||||
|
||||
You may mix both animated and either directional or rotating
|
||||
features into one brush. Use both options desired ("frames=N" and
|
||||
"directional" or "rotate"), in separate lines in the brush's ".dat"
|
||||
file.
|
||||
|
||||
For directional brushes, lay the brush out so that each 3x3 set of
|
||||
directional shapes are laid out across a wide PNG image. For
|
||||
example, if the brush is 30x30 and there are 5 frames, it would be
|
||||
450x90. (The leftmost 150x90 pixels of the image represent the 9
|
||||
direction shapes for the first frame, for example.)
|
||||
|
||||
Placez les PNG de l'image du pinceau (et tous les fichiers texte de
|
||||
données) dans le répertoire "brushes".
|
||||
|
|
|
|||
|
|
@ -36,10 +36,11 @@ Exigences
|
|||
(libSDL), une bibliothèque de programmation multimédia Open Source
|
||||
disponible sous la Licence publique générale limitée GNU (LGPL).
|
||||
|
||||
Avec libSDL, Tux Paint dépend d'un certain nombre d'autres
|
||||
bibliothèques SDL : SDL_Image (pour les fichiers graphiques), SDL_TTF
|
||||
et (en option) SDL_Pango (pour la prise en charge des polices True
|
||||
Type) et, éventuellement, SDL_Mixer (pour les effets sonores).
|
||||
Along with libSDL, Tux Paint depends on a number of other SDL 'helper'
|
||||
libraries: SDL_Image (for graphics files), SDL_gfx (for some graphical
|
||||
functions, like rotation), SDL_TTF and (optionally) SDL_Pango (for
|
||||
True Type Font support) and, optionally, SDL_Mixer (for sound
|
||||
effects).
|
||||
|
||||
Utilisateurs de Linux/Unix :
|
||||
|
||||
|
|
@ -49,6 +50,9 @@ Exigences
|
|||
|
||||
* libSDL: http://www.libsdl.org/
|
||||
* SDL_Image: http://www.libsdl.org/projects/SDL_image/
|
||||
* SDL_gfx:
|
||||
https://www.ferzkopp.net/wordpress/2016/01/02/sdl_gfx-sdl2_gfx/
|
||||
(https://sourceforge.net/projects/sdlgfx/)
|
||||
* SDL_TTF: http://www.libsdl.org/projects/SDL_ttf/
|
||||
* SDL_Pango: http://sourceforge.net/projects/sdlpango/ (optionnel)
|
||||
* SDL_Mixer: http://www.libsdl.org/projects/SDL_mixer/ (optionnel)
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@
|
|||
</p>
|
||||
|
||||
<p>
|
||||
mai 31, 2021 </p>
|
||||
septembre 6, 2021 </p>
|
||||
</center>
|
||||
|
||||
<hr size="2"
|
||||
|
|
@ -367,14 +367,25 @@
|
|||
</blockquote>
|
||||
|
||||
<h4>
|
||||
Pinceaux animés orientables </h4>
|
||||
Rotating Brushes </h4>
|
||||
|
||||
<blockquote>
|
||||
<p>
|
||||
Vous pouvez mélanger animation et orientation dans un même pinceau. Utilisez les deux options ("<code><b>frames=<i>N</i></b></code>" et "<code><b>directional</b></code>") en deux lignes séparées dans le fichier "<code>.dat</code>" qui concerne le pinceau. </p>
|
||||
As of Tux Paint version 0.9.27, you may now create rotating brushes. As the brush is used, it is rotated 360 degrees, depending on the direction the brush is going. </p>
|
||||
|
||||
<p>
|
||||
Disposez le pinceau de manière à ce que chaque ensemble 3x3 de formes orientables soit disposé sur une grande image PNG. Par exemple, si le pinceau mesure 30x30 et qu'il y a 5 cadres, ce sera 450x90. (Les 150x90 pixels les plus à gauche de l'image représentent les 9 formes de direction pour la première image, par exemple). </p>
|
||||
Ajoute une ligne contenant le mot "<code><b>rotate</b></code>" au fichier de données brosse. </p>
|
||||
</blockquote>
|
||||
|
||||
<h4>
|
||||
Animated Directional or Rotating Brushes </h4>
|
||||
|
||||
<blockquote>
|
||||
<p>
|
||||
You may mix both animated and either directional or rotating features into one brush. Use both options desired ("<code><b>frames=<i>N</i></b></code>" and "<code><b>directional</b></code>" or "<code><b>rotate</b></code>"), in separate lines in the brush's "<code>.dat</code>" file. </p>
|
||||
|
||||
<p>
|
||||
For directional brushes, lay the brush out so that each 3x3 set of directional shapes are laid out across a wide PNG image. For example, if the brush is 30x30 and there are 5 frames, it would be 450x90. (The leftmost 150x90 pixels of the image represent the 9 direction shapes for the first frame, for example.) </p>
|
||||
</blockquote>
|
||||
</blockquote>
|
||||
|
||||
|
|
|
|||
|
|
@ -107,7 +107,7 @@
|
|||
Tux Paint nécessite la bibliothèque de couches DirectMedia simple (libSDL), une bibliothèque de programmation multimédia Open Source disponible sous la Licence publique générale limitée GNU (LGPL). </p>
|
||||
|
||||
<p>
|
||||
Avec libSDL, Tux Paint dépend d'un certain nombre d'autres bibliothèques SDL : SDL_Image (pour les fichiers graphiques), SDL_TTF et (en option) SDL_Pango (pour la prise en charge des polices True Type) et, éventuellement, SDL_Mixer (pour les effets sonores). </p>
|
||||
Along with libSDL, Tux Paint depends on a number of other SDL 'helper' libraries: SDL_Image (for graphics files), SDL_gfx (for some graphical functions, like rotation), SDL_TTF and (optionally) SDL_Pango (for True Type Font support) and, optionally, SDL_Mixer (for sound effects). </p>
|
||||
|
||||
<h4>Utilisateurs de Linux/Unix :</h4>
|
||||
<blockquote>
|
||||
|
|
@ -116,6 +116,7 @@
|
|||
<ul>
|
||||
<li>libSDL: <a href="http://www.libsdl.org/">http://www.libsdl.org/</a></li>
|
||||
<li>SDL_Image: <a href="http://www.libsdl.org/projects/SDL_image/">http://www.libsdl.org/projects/SDL_image/</a></li>
|
||||
<li>SDL_gfx: <a href="https://www.ferzkopp.net/wordpress/2016/01/02/sdl_gfx-sdl2_gfx/">https://www.ferzkopp.net/wordpress/2016/01/02/sdl_gfx-sdl2_gfx/</a> (<a href="https://sourceforge.net/projects/sdlgfx/">https://sourceforge.net/projects/sdlgfx/</a>)</li>
|
||||
<li>SDL_TTF: <a href="http://www.libsdl.org/projects/SDL_ttf/">http://www.libsdl.org/projects/SDL_ttf/</a></li>
|
||||
<li>SDL_Pango: <a href="http://sourceforge.net/projects/sdlpango/">http://sourceforge.net/projects/sdlpango/</a> (optionnel)</li>
|
||||
<li>SDL_Mixer: <a href="http://www.libsdl.org/projects/SDL_mixer/">http://www.libsdl.org/projects/SDL_mixer/</a> (optionnel)</li>
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
Copyright © 2002-2021 por varios colaboradores; vexa AUTHORS (AUTORES).
|
||||
http://www.tuxpaint.org/
|
||||
|
||||
31 de Maio de 2021
|
||||
6 de Setembro de 2021
|
||||
|
||||
----------------------------------------------------------------------
|
||||
|
||||
|
|
@ -221,17 +221,27 @@ Pinceis
|
|||
Engada unha liña que conteña a palabra «directional» ao ficheiro de
|
||||
datos debrush's.
|
||||
|
||||
Pinceis direccionais animados
|
||||
Rotating Brushes
|
||||
|
||||
Pode mesturar funcións animadas e direccionais nun pincel. Use ambas
|
||||
as opcións («frames=N» e «directional»), en liñas separadas no
|
||||
ficheiro «.dat» do pincel.
|
||||
As of Tux Paint version 0.9.27, you may now create rotating brushes.
|
||||
As the brush is used, it is rotated 360 degrees, depending on the
|
||||
direction the brush is going.
|
||||
|
||||
Coloque o pincel de xeito que cada conxunto de formas 3x3 de
|
||||
dirección estea distribuído nunha ampla imaxe PNG. Por exemplo, se o
|
||||
pincel ten 30x30 e hai 5 fotogramas, sería de 450x90. (Os píxeles
|
||||
máis a esquerda de 150x90 da imaxe representan as 9 formas de
|
||||
dirección do primeiro cadro, por exemplo).
|
||||
Engada unha liña que conteña a palabra «rotate» ao ficheiro de datos
|
||||
debrush's.
|
||||
|
||||
Animated Directional or Rotating Brushes
|
||||
|
||||
You may mix both animated and either directional or rotating
|
||||
features into one brush. Use both options desired ("frames=N" and
|
||||
"directional" or "rotate"), in separate lines in the brush's ".dat"
|
||||
file.
|
||||
|
||||
For directional brushes, lay the brush out so that each 3x3 set of
|
||||
directional shapes are laid out across a wide PNG image. For
|
||||
example, if the brush is 30x30 and there are 5 frames, it would be
|
||||
450x90. (The leftmost 150x90 pixels of the image represent the 9
|
||||
direction shapes for the first frame, for example.)
|
||||
|
||||
Coloque os ficheiros PNG de pincel (e calquera ficheiro de texto de
|
||||
datos) no directorio «brushes».
|
||||
|
|
|
|||
|
|
@ -36,10 +36,11 @@ Requirements
|
|||
biblioteca de programación multimedia de código aberto dispoñíbel
|
||||
baixo a licenza pública GNU Lesser General Public License (LGPL).
|
||||
|
||||
Xunto con libSDL, Tux Paint depende doutras bibliotecas «de axuda» de
|
||||
SDL: SDL_Image (para ficheiros gráficos), SDL_TTF e (opcionalmente)
|
||||
SDL_Pango (para compatibilidade de tipo True Type) e, opcionalmente,
|
||||
SDL_Mixer (para efectos de son).
|
||||
Along with libSDL, Tux Paint depends on a number of other SDL 'helper'
|
||||
libraries: SDL_Image (for graphics files), SDL_gfx (for some graphical
|
||||
functions, like rotation), SDL_TTF and (optionally) SDL_Pango (for
|
||||
True Type Font support) and, optionally, SDL_Mixer (for sound
|
||||
effects).
|
||||
|
||||
Usuarios de Linux/Unix:
|
||||
|
||||
|
|
@ -49,6 +50,9 @@ Requirements
|
|||
|
||||
* libSDL: http://www.libsdl.org/
|
||||
* SDL_Image: http://www.libsdl.org/projects/SDL_image/
|
||||
* SDL_gfx:
|
||||
https://www.ferzkopp.net/wordpress/2016/01/02/sdl_gfx-sdl2_gfx/
|
||||
(https://sourceforge.net/projects/sdlgfx/)
|
||||
* SDL_TTF: http://www.libsdl.org/projects/SDL_ttf/
|
||||
* SDL_Pango: http://sourceforge.net/projects/sdlpango/ (opcional)
|
||||
* SDL_Mixer: http://www.libsdl.org/projects/SDL_mixer/ (opcional)
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@
|
|||
</p>
|
||||
|
||||
<p>
|
||||
31 de Maio de 2021 </p>
|
||||
6 de Setembro de 2021 </p>
|
||||
</center>
|
||||
|
||||
<hr size="2"
|
||||
|
|
@ -367,14 +367,25 @@
|
|||
</blockquote>
|
||||
|
||||
<h4>
|
||||
Pinceis direccionais animados </h4>
|
||||
Rotating Brushes </h4>
|
||||
|
||||
<blockquote>
|
||||
<p>
|
||||
Pode mesturar funcións animadas e direccionais nun pincel. Use ambas as opcións («<code><b>frames=<i>N</i></b></code>» e «<code><b>directional</b></code>»), en liñas separadas no ficheiro «<code>.dat</code>» do pincel. </p>
|
||||
As of Tux Paint version 0.9.27, you may now create rotating brushes. As the brush is used, it is rotated 360 degrees, depending on the direction the brush is going. </p>
|
||||
|
||||
<p>
|
||||
Coloque o pincel de xeito que cada conxunto de formas 3x3 de dirección estea distribuído nunha ampla imaxe PNG. Por exemplo, se o pincel ten 30x30 e hai 5 fotogramas, sería de 450x90. (Os píxeles máis a esquerda de 150x90 da imaxe representan as 9 formas de dirección do primeiro cadro, por exemplo). </p>
|
||||
Engada unha liña que conteña a palabra «<code><b>rotate</b></code>» ao ficheiro de datos debrush's. </p>
|
||||
</blockquote>
|
||||
|
||||
<h4>
|
||||
Animated Directional or Rotating Brushes </h4>
|
||||
|
||||
<blockquote>
|
||||
<p>
|
||||
You may mix both animated and either directional or rotating features into one brush. Use both options desired ("<code><b>frames=<i>N</i></b></code>" and "<code><b>directional</b></code>" or "<code><b>rotate</b></code>"), in separate lines in the brush's "<code>.dat</code>" file. </p>
|
||||
|
||||
<p>
|
||||
For directional brushes, lay the brush out so that each 3x3 set of directional shapes are laid out across a wide PNG image. For example, if the brush is 30x30 and there are 5 frames, it would be 450x90. (The leftmost 150x90 pixels of the image represent the 9 direction shapes for the first frame, for example.) </p>
|
||||
</blockquote>
|
||||
</blockquote>
|
||||
|
||||
|
|
|
|||
|
|
@ -107,7 +107,7 @@
|
|||
Tux Paint require a «Simple DirectMedia Layer Library (libSDL)», unha biblioteca de programación multimedia de código aberto dispoñíbel baixo a licenza pública GNU Lesser General Public License (LGPL). </p>
|
||||
|
||||
<p>
|
||||
Xunto con libSDL, Tux Paint depende doutras bibliotecas «de axuda» de SDL: SDL_Image (para ficheiros gráficos), SDL_TTF e (opcionalmente) SDL_Pango (para compatibilidade de tipo True Type) e, opcionalmente, SDL_Mixer (para efectos de son). </p>
|
||||
Along with libSDL, Tux Paint depends on a number of other SDL 'helper' libraries: SDL_Image (for graphics files), SDL_gfx (for some graphical functions, like rotation), SDL_TTF and (optionally) SDL_Pango (for True Type Font support) and, optionally, SDL_Mixer (for sound effects). </p>
|
||||
|
||||
<h4>Usuarios de Linux/Unix:</h4>
|
||||
<blockquote>
|
||||
|
|
@ -116,6 +116,7 @@
|
|||
<ul>
|
||||
<li>libSDL: <a href="http://www.libsdl.org/">http://www.libsdl.org/</a></li>
|
||||
<li>SDL_Image: <a href="http://www.libsdl.org/projects/SDL_image/">http://www.libsdl.org/projects/SDL_image/</a></li>
|
||||
<li>SDL_gfx: <a href="https://www.ferzkopp.net/wordpress/2016/01/02/sdl_gfx-sdl2_gfx/">https://www.ferzkopp.net/wordpress/2016/01/02/sdl_gfx-sdl2_gfx/</a> (<a href="https://sourceforge.net/projects/sdlgfx/">https://sourceforge.net/projects/sdlgfx/</a>)</li>
|
||||
<li>SDL_TTF: <a href="http://www.libsdl.org/projects/SDL_ttf/">http://www.libsdl.org/projects/SDL_ttf/</a></li>
|
||||
<li>SDL_Pango: <a href="http://sourceforge.net/projects/sdlpango/">http://sourceforge.net/projects/sdlpango/</a> (opcional)</li>
|
||||
<li>SDL_Mixer: <a href="http://www.libsdl.org/projects/SDL_mixer/">http://www.libsdl.org/projects/SDL_mixer/</a> (opcional)</li>
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
Copyright © 2002-2021 by various contributors; "AUTHORS" 参照.
|
||||
http://www.tuxpaint.org/
|
||||
|
||||
2021年5月31日
|
||||
2021年9月 6日
|
||||
|
||||
----------------------------------------------------------------------
|
||||
|
||||
|
|
@ -212,17 +212,26 @@ Brushes
|
|||
Add a line containing the word "directional" to the brush's data
|
||||
file.
|
||||
|
||||
Animated Directional Brushes
|
||||
Rotating Brushes
|
||||
|
||||
You may mix both animated and directional features into one brush.
|
||||
Use both options ("frames=N" and "directional"), in separate lines
|
||||
in the brush's ".dat" file.
|
||||
As of Tux Paint version 0.9.27, you may now create rotating brushes.
|
||||
As the brush is used, it is rotated 360 degrees, depending on the
|
||||
direction the brush is going.
|
||||
|
||||
Lay the brush out so that each 3x3 set of directional shapes are
|
||||
laid out across a wide PNG image. For example, if the brush is 30x30
|
||||
and there are 5 frames, it would be 450x90. (The leftmost 150x90
|
||||
pixels of the image represent the 9 direction shapes for the first
|
||||
frame, for example.)
|
||||
Add a line containing the word "rotate" to the brush's data file.
|
||||
|
||||
Animated Directional or Rotating Brushes
|
||||
|
||||
You may mix both animated and either directional or rotating
|
||||
features into one brush. Use both options desired ("frames=N" and
|
||||
"directional" or "rotate"), in separate lines in the brush's ".dat"
|
||||
file.
|
||||
|
||||
For directional brushes, lay the brush out so that each 3x3 set of
|
||||
directional shapes are laid out across a wide PNG image. For
|
||||
example, if the brush is 30x30 and there are 5 frames, it would be
|
||||
450x90. (The leftmost 150x90 pixels of the image represent the 9
|
||||
direction shapes for the first frame, for example.)
|
||||
|
||||
Place the brush image PNGs (and any data text files) in the "brushes"
|
||||
directory.
|
||||
|
|
|
|||
|
|
@ -37,9 +37,10 @@ Requirements
|
|||
Lesser General Public License (LGPL).
|
||||
|
||||
Along with libSDL, Tux Paint depends on a number of other SDL 'helper'
|
||||
libraries: SDL_Image (for graphics files), SDL_TTF and (optionally)
|
||||
SDL_Pango (for True Type Font support) and, optionally, SDL_Mixer (for
|
||||
sound effects).
|
||||
libraries: SDL_Image (for graphics files), SDL_gfx (for some graphical
|
||||
functions, like rotation), SDL_TTF and (optionally) SDL_Pango (for
|
||||
True Type Font support) and, optionally, SDL_Mixer (for sound
|
||||
effects).
|
||||
|
||||
Linux/Unix Users:
|
||||
|
||||
|
|
@ -49,6 +50,9 @@ Requirements
|
|||
|
||||
* libSDL: http://www.libsdl.org/
|
||||
* SDL_Image: http://www.libsdl.org/projects/SDL_image/
|
||||
* SDL_gfx:
|
||||
https://www.ferzkopp.net/wordpress/2016/01/02/sdl_gfx-sdl2_gfx/
|
||||
(https://sourceforge.net/projects/sdlgfx/)
|
||||
* SDL_TTF: http://www.libsdl.org/projects/SDL_ttf/
|
||||
* SDL_Pango: http://sourceforge.net/projects/sdlpango/ (optional)
|
||||
* SDL_Mixer: http://www.libsdl.org/projects/SDL_mixer/ (optional)
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@
|
|||
</p>
|
||||
|
||||
<p>
|
||||
2021年5月31日 </p>
|
||||
2021年9月 6日 </p>
|
||||
</center>
|
||||
|
||||
<hr size="2"
|
||||
|
|
@ -367,14 +367,25 @@
|
|||
</blockquote>
|
||||
|
||||
<h4>
|
||||
Animated Directional Brushes </h4>
|
||||
Rotating Brushes </h4>
|
||||
|
||||
<blockquote>
|
||||
<p>
|
||||
You may mix both animated and directional features into one brush. Use both options ("<code><b>frames=<i>N</i></b></code>" and "<code><b>directional</b></code>"), in separate lines in the brush's "<code>.dat</code>" file. </p>
|
||||
As of Tux Paint version 0.9.27, you may now create rotating brushes. As the brush is used, it is rotated 360 degrees, depending on the direction the brush is going. </p>
|
||||
|
||||
<p>
|
||||
Lay the brush out so that each 3x3 set of directional shapes are laid out across a wide PNG image. For example, if the brush is 30x30 and there are 5 frames, it would be 450x90. (The leftmost 150x90 pixels of the image represent the 9 direction shapes for the first frame, for example.) </p>
|
||||
Add a line containing the word "<code><b>rotate</b></code>" to the brush's data file. </p>
|
||||
</blockquote>
|
||||
|
||||
<h4>
|
||||
Animated Directional or Rotating Brushes </h4>
|
||||
|
||||
<blockquote>
|
||||
<p>
|
||||
You may mix both animated and either directional or rotating features into one brush. Use both options desired ("<code><b>frames=<i>N</i></b></code>" and "<code><b>directional</b></code>" or "<code><b>rotate</b></code>"), in separate lines in the brush's "<code>.dat</code>" file. </p>
|
||||
|
||||
<p>
|
||||
For directional brushes, lay the brush out so that each 3x3 set of directional shapes are laid out across a wide PNG image. For example, if the brush is 30x30 and there are 5 frames, it would be 450x90. (The leftmost 150x90 pixels of the image represent the 9 direction shapes for the first frame, for example.) </p>
|
||||
</blockquote>
|
||||
</blockquote>
|
||||
|
||||
|
|
|
|||
|
|
@ -107,7 +107,7 @@
|
|||
Tux Paint requires the Simple DirectMedia Layer Library (libSDL), an Open Source multimedia programming library available under the GNU Lesser General Public License (LGPL). </p>
|
||||
|
||||
<p>
|
||||
Along with libSDL, Tux Paint depends on a number of other SDL 'helper' libraries: SDL_Image (for graphics files), SDL_TTF and (optionally) SDL_Pango (for True Type Font support) and, optionally, SDL_Mixer (for sound effects). </p>
|
||||
Along with libSDL, Tux Paint depends on a number of other SDL 'helper' libraries: SDL_Image (for graphics files), SDL_gfx (for some graphical functions, like rotation), SDL_TTF and (optionally) SDL_Pango (for True Type Font support) and, optionally, SDL_Mixer (for sound effects). </p>
|
||||
|
||||
<h4>Linux/Unix Users:</h4>
|
||||
<blockquote>
|
||||
|
|
@ -116,6 +116,7 @@
|
|||
<ul>
|
||||
<li>libSDL: <a href="http://www.libsdl.org/">http://www.libsdl.org/</a></li>
|
||||
<li>SDL_Image: <a href="http://www.libsdl.org/projects/SDL_image/">http://www.libsdl.org/projects/SDL_image/</a></li>
|
||||
<li>SDL_gfx: <a href="https://www.ferzkopp.net/wordpress/2016/01/02/sdl_gfx-sdl2_gfx/">https://www.ferzkopp.net/wordpress/2016/01/02/sdl_gfx-sdl2_gfx/</a> (<a href="https://sourceforge.net/projects/sdlgfx/">https://sourceforge.net/projects/sdlgfx/</a>)</li>
|
||||
<li>SDL_TTF: <a href="http://www.libsdl.org/projects/SDL_ttf/">http://www.libsdl.org/projects/SDL_ttf/</a></li>
|
||||
<li>SDL_Pango: <a href="http://sourceforge.net/projects/sdlpango/">http://sourceforge.net/projects/sdlpango/</a> (optional)</li>
|
||||
<li>SDL_Mixer: <a href="http://www.libsdl.org/projects/SDL_mixer/">http://www.libsdl.org/projects/SDL_mixer/</a> (optional)</li>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue