Implemented "Darken" magic tool.
Updated README to discuss new magic tools.
This commit is contained in:
parent
6a26679fa1
commit
9c9ea3cfe1
4 changed files with 178 additions and 90 deletions
|
|
@ -8,6 +8,8 @@ http://www.newbreedsoftware.com/tuxpaint/
|
||||||
|
|
||||||
|
|
||||||
2004.December.11 (0.9.15)
|
2004.December.11 (0.9.15)
|
||||||
|
* Added "Darken" magic tool. (Works the opposite of "Fade")
|
||||||
|
|
||||||
* Lockfile now cleared upon exit, allowing Tux Paint to be re-launched
|
* Lockfile now cleared upon exit, allowing Tux Paint to be re-launched
|
||||||
immediately.
|
immediately.
|
||||||
|
|
||||||
|
|
|
||||||
195
docs/README.txt
195
docs/README.txt
|
|
@ -1,4 +1,4 @@
|
||||||
[1]Tux Paint
|
Tux Paint
|
||||||
version 0.9.15
|
version 0.9.15
|
||||||
|
|
||||||
A simple drawing program for children
|
A simple drawing program for children
|
||||||
|
|
@ -6,10 +6,10 @@
|
||||||
Copyright 2004 by Bill Kendrick
|
Copyright 2004 by Bill Kendrick
|
||||||
New Breed Software
|
New Breed Software
|
||||||
|
|
||||||
[2]bill@newbreedsoftware.com
|
bill@newbreedsoftware.com
|
||||||
[3]http://www.newbreedsoftware.com/tuxpaint/
|
http://www.newbreedsoftware.com/tuxpaint/
|
||||||
|
|
||||||
June 14, 2002 - October 24, 2004
|
June 14, 2002 - December 11, 2004
|
||||||
|
|
||||||
---------------------------------------------------------------------------
|
---------------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
@ -30,7 +30,7 @@ License:
|
||||||
behind the program is available. (This allows others to add features,
|
behind the program is available. (This allows others to add features,
|
||||||
fix bugs, and use parts of the program in their own GPL'd software.)
|
fix bugs, and use parts of the program in their own GPL'd software.)
|
||||||
|
|
||||||
See [4]COPYING.txt for the full text of the GPL license.
|
See COPYING.txt for the full text of the GPL license.
|
||||||
|
|
||||||
Objectives:
|
Objectives:
|
||||||
|
|
||||||
|
|
@ -88,7 +88,7 @@ Loading Tux Paint
|
||||||
|
|
||||||
Windows Users
|
Windows Users
|
||||||
|
|
||||||
[5][Icon]
|
[Icon]
|
||||||
Tux Paint
|
Tux Paint
|
||||||
|
|
||||||
If you installed Tux Paint on your computer using the
|
If you installed Tux Paint on your computer using the
|
||||||
|
|
@ -122,7 +122,7 @@ Title Screen
|
||||||
|
|
||||||
When Tux Paint first loads, a title/credits screen will appear.
|
When Tux Paint first loads, a title/credits screen will appear.
|
||||||
|
|
||||||
[6][Title Screenshot]
|
[Title Screenshot]
|
||||||
|
|
||||||
Once loading is complete, press a key or click on the mouse to
|
Once loading is complete, press a key or click on the mouse to
|
||||||
continue. (Or, after about 30 seconds, the title screen will go away
|
continue. (Or, after about 30 seconds, the title screen will go away
|
||||||
|
|
@ -138,15 +138,15 @@ Main Screen
|
||||||
|
|
||||||
The toolbar contains the drawing and editing controls.
|
The toolbar contains the drawing and editing controls.
|
||||||
|
|
||||||
[7][Tools: Paint, Stamp, Lines, Shapes, Text, Magic, Undo, Redo, Eraser,
|
[Tools: Paint, Stamp, Lines, Shapes, Text, Magic, Undo, Redo, Eraser, New,
|
||||||
New, Open, Save, Print, Quit]
|
Open, Save, Print, Quit]
|
||||||
|
|
||||||
Middle: Drawing Canvas
|
Middle: Drawing Canvas
|
||||||
|
|
||||||
The largest part of the screen, in the center, is the drawing
|
The largest part of the screen, in the center, is the drawing
|
||||||
canvas. This is, obviously, where you draw!
|
canvas. This is, obviously, where you draw!
|
||||||
|
|
||||||
[8][(Canvas)]
|
[(Canvas)]
|
||||||
|
|
||||||
Right Side: Selector
|
Right Side: Selector
|
||||||
|
|
||||||
|
|
@ -155,14 +155,14 @@ Main Screen
|
||||||
the various brushes available. When the Rubber Stamp tool is
|
the various brushes available. When the Rubber Stamp tool is
|
||||||
selected, it shows the different shapes you can use.
|
selected, it shows the different shapes you can use.
|
||||||
|
|
||||||
[9][Selectors - Brushes, Letters, Shapes, Stamps]
|
[Selectors - Brushes, Letters, Shapes, Stamps]
|
||||||
|
|
||||||
Lower: Colors
|
Lower: Colors
|
||||||
|
|
||||||
A palette of available colors are shown near the bottom of the
|
A palette of available colors are shown near the bottom of the
|
||||||
screen.
|
screen.
|
||||||
|
|
||||||
[10][Colors - Black, White, Red, Pink, Orange, Yellow, Green, Cyan, Blue,
|
[Colors - Black, White, Red, Pink, Orange, Yellow, Green, Cyan, Blue,
|
||||||
Purple, Brown, Grey]
|
Purple, Brown, Grey]
|
||||||
|
|
||||||
Bottom: Help Area
|
Bottom: Help Area
|
||||||
|
|
@ -170,9 +170,9 @@ Main Screen
|
||||||
At the very bottom of the screen, Tux, the Linux Penguin,
|
At the very bottom of the screen, Tux, the Linux Penguin,
|
||||||
provides tips and other information while you draw.
|
provides tips and other information while you draw.
|
||||||
|
|
||||||
[11](For example: 'Pick a shape. Click to pick the center, drag, then let
|
(For example: 'Pick a shape. Click to pick the center, drag, then let go
|
||||||
go when it is the size you want. Move around to rotate it, and click to
|
when it is the size you want. Move around to rotate it, and click to draw
|
||||||
draw it.)
|
it.)
|
||||||
|
|
||||||
---------------------------------------------------------------------------
|
---------------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
@ -181,6 +181,7 @@ Available Tools
|
||||||
Drawing Tools
|
Drawing Tools
|
||||||
|
|
||||||
Paint (Brush)
|
Paint (Brush)
|
||||||
|
[IMG]
|
||||||
|
|
||||||
The Paint Brush tool lets you draw freehand, using various
|
The Paint Brush tool lets you draw freehand, using various
|
||||||
brushes (chosen in the Selector on the right) and colors
|
brushes (chosen in the Selector on the right) and colors
|
||||||
|
|
@ -192,9 +193,12 @@ Available Tools
|
||||||
As you draw, a sound is played. The bigger the brush, the
|
As you draw, a sound is played. The bigger the brush, the
|
||||||
lower the pitch.
|
lower the pitch.
|
||||||
|
|
||||||
|
[IMG]
|
||||||
|
|
||||||
---------------------------------------------------------------------------
|
---------------------------------------------------------------------------
|
||||||
|
|
||||||
Stamp (Rubber Stamp)
|
Stamp (Rubber Stamp)
|
||||||
|
[IMG]
|
||||||
|
|
||||||
The Stamp tool is like a rubber stamp, or stickers. It lets
|
The Stamp tool is like a rubber stamp, or stickers. It lets
|
||||||
you paste pre-drawn or photographic images (like a picture
|
you paste pre-drawn or photographic images (like a picture
|
||||||
|
|
@ -212,11 +216,14 @@ Available Tools
|
||||||
|
|
||||||
(NOTE: If the "nostampcontrols" option is set, Tux Paint
|
(NOTE: If the "nostampcontrols" option is set, Tux Paint
|
||||||
won't display the Mirror, Flip, Shrink and Grow controls for
|
won't display the Mirror, Flip, Shrink and Grow controls for
|
||||||
stamps. See the "[12]Options" documentation.)
|
stamps. See the "Options" documentation.)
|
||||||
|
|
||||||
|
[IMG]
|
||||||
|
|
||||||
---------------------------------------------------------------------------
|
---------------------------------------------------------------------------
|
||||||
|
|
||||||
Lines
|
Lines
|
||||||
|
[IMG]
|
||||||
|
|
||||||
This tool lets you draw straight lines using the various
|
This tool lets you draw straight lines using the various
|
||||||
brushes and colors you normally use with the Paint Brush.
|
brushes and colors you normally use with the Paint Brush.
|
||||||
|
|
@ -228,9 +235,12 @@ Available Tools
|
||||||
Let go of the mouse to complete the line. A "sproing!" sound
|
Let go of the mouse to complete the line. A "sproing!" sound
|
||||||
will play.
|
will play.
|
||||||
|
|
||||||
|
[IMG]
|
||||||
|
|
||||||
---------------------------------------------------------------------------
|
---------------------------------------------------------------------------
|
||||||
|
|
||||||
Shapes
|
Shapes
|
||||||
|
[IMG]
|
||||||
|
|
||||||
This tool lets you draw some simple filled, and un-filled
|
This tool lets you draw some simple filled, and un-filled
|
||||||
shapes.
|
shapes.
|
||||||
|
|
@ -259,9 +269,12 @@ Available Tools
|
||||||
drawn on the canvas when you let go of the
|
drawn on the canvas when you let go of the
|
||||||
mouse button. (There's no rotation step.)
|
mouse button. (There's no rotation step.)
|
||||||
|
|
||||||
|
[IMG]
|
||||||
|
|
||||||
---------------------------------------------------------------------------
|
---------------------------------------------------------------------------
|
||||||
|
|
||||||
Text
|
Text
|
||||||
|
[IMG]
|
||||||
|
|
||||||
Choose a font (from the 'Letters' available on the right)
|
Choose a font (from the 'Letters' available on the right)
|
||||||
and a color (from the color palette near the bottom). Click
|
and a color (from the color palette near the bottom). Click
|
||||||
|
|
@ -274,9 +287,12 @@ Available Tools
|
||||||
Click elsewhere in the picture and the current line of text
|
Click elsewhere in the picture and the current line of text
|
||||||
will move there, where you can continue editing.
|
will move there, where you can continue editing.
|
||||||
|
|
||||||
|
[IMG]
|
||||||
|
|
||||||
---------------------------------------------------------------------------
|
---------------------------------------------------------------------------
|
||||||
|
|
||||||
Magic (Special Effects)
|
Magic (Special Effects)
|
||||||
|
[IMG]
|
||||||
|
|
||||||
The 'Magic' tool is actually a set of special tools. Select
|
The 'Magic' tool is actually a set of special tools. Select
|
||||||
one of the "magic" effects from the selector on the right,
|
one of the "magic" effects from the selector on the right,
|
||||||
|
|
@ -306,27 +322,27 @@ Available Tools
|
||||||
This makes the picture fuzzy wherever you drag
|
This makes the picture fuzzy wherever you drag
|
||||||
the mouse.
|
the mouse.
|
||||||
|
|
||||||
Blocks
|
Smudge
|
||||||
This makes the picture blocky looking
|
This pushes the colors around under the mouse,
|
||||||
("pixelated") wherever you drag the mouse.
|
like finger painting with wet paint.
|
||||||
|
|
||||||
Negative
|
|
||||||
This inverts the colors wherever you drag the
|
|
||||||
mouse. (e.g., white becomes black, and vice
|
|
||||||
versa.)
|
|
||||||
|
|
||||||
Fade
|
Fade
|
||||||
This fades the colors wherever you drag the
|
This fades the colors wherever you drag the
|
||||||
mouse. (Do it to the same spot many times, and
|
mouse. (Do it to the same spot many times, and
|
||||||
it will eventually become white.)
|
it will eventually become white.)
|
||||||
|
|
||||||
|
Darken
|
||||||
|
This dakrens the colors wherever you drag the
|
||||||
|
mouse. (Do it to the same spot many times, and
|
||||||
|
it will eventually become black.)
|
||||||
|
|
||||||
Chalk
|
Chalk
|
||||||
This makes parts of the picture (where you move
|
This makes parts of the picture (where you move
|
||||||
the mouse) look like a chalk drawing.
|
the mouse) look like a chalk drawing.
|
||||||
|
|
||||||
Drip
|
Blocks
|
||||||
This makes the paint "drip" wherever you move
|
This makes the picture blocky looking
|
||||||
the mouse.
|
("pixelated") wherever you drag the mouse.
|
||||||
|
|
||||||
Thick
|
Thick
|
||||||
This makes the darker colors in the picture
|
This makes the darker colors in the picture
|
||||||
|
|
@ -336,6 +352,24 @@ Available Tools
|
||||||
Similar to "Thick," except dark colors become
|
Similar to "Thick," except dark colors become
|
||||||
thinner (light colors become thicker).
|
thinner (light colors become thicker).
|
||||||
|
|
||||||
|
Negative
|
||||||
|
This inverts the colors wherever you drag the
|
||||||
|
mouse. (e.g., white becomes black, and vice
|
||||||
|
versa.)
|
||||||
|
|
||||||
|
Tint
|
||||||
|
This changes the parts of the picture to the
|
||||||
|
selected color.
|
||||||
|
|
||||||
|
Drip
|
||||||
|
This makes the paint "drip" wherever you move
|
||||||
|
the mouse.
|
||||||
|
|
||||||
|
Cartoon
|
||||||
|
This makes the picture look like a cartoon --
|
||||||
|
with thick outlines and solid colors --
|
||||||
|
wherever you move the mouse.
|
||||||
|
|
||||||
Fill
|
Fill
|
||||||
This floods the picture with a color. It lets
|
This floods the picture with a color. It lets
|
||||||
you quickly fill parts of the picture, as if it
|
you quickly fill parts of the picture, as if it
|
||||||
|
|
@ -344,6 +378,7 @@ Available Tools
|
||||||
---------------------------------------------------------------------------
|
---------------------------------------------------------------------------
|
||||||
|
|
||||||
Eraser
|
Eraser
|
||||||
|
[IMG]
|
||||||
|
|
||||||
This tool is similar to the Paint Brush. Wherever you click
|
This tool is similar to the Paint Brush. Wherever you click
|
||||||
(or click and drag), the picture will be erased either to
|
(or click and drag), the picture will be erased either to
|
||||||
|
|
@ -364,6 +399,7 @@ Available Tools
|
||||||
Other Controls
|
Other Controls
|
||||||
|
|
||||||
Undo
|
Undo
|
||||||
|
[IMG]
|
||||||
|
|
||||||
Clicking this tool will undo the last drawing action. You
|
Clicking this tool will undo the last drawing action. You
|
||||||
can even undo more than once!
|
can even undo more than once!
|
||||||
|
|
@ -374,6 +410,7 @@ Available Tools
|
||||||
---------------------------------------------------------------------------
|
---------------------------------------------------------------------------
|
||||||
|
|
||||||
Redo
|
Redo
|
||||||
|
[IMG]
|
||||||
|
|
||||||
Clicking this tool will redo the drawing action you just
|
Clicking this tool will redo the drawing action you just
|
||||||
"undid" with the 'Undo' button.
|
"undid" with the 'Undo' button.
|
||||||
|
|
@ -387,6 +424,7 @@ Available Tools
|
||||||
---------------------------------------------------------------------------
|
---------------------------------------------------------------------------
|
||||||
|
|
||||||
New
|
New
|
||||||
|
[IMG]
|
||||||
|
|
||||||
Clicking the "New" button will start a new drawing. You will
|
Clicking the "New" button will start a new drawing. You will
|
||||||
first be asked whether you really want to do this.
|
first be asked whether you really want to do this.
|
||||||
|
|
@ -397,25 +435,34 @@ Available Tools
|
||||||
---------------------------------------------------------------------------
|
---------------------------------------------------------------------------
|
||||||
|
|
||||||
Open
|
Open
|
||||||
|
[IMG]
|
||||||
|
|
||||||
This shows you a list of all of the pictures you've saved.
|
This shows you a list of all of the pictures you've saved.
|
||||||
If there are more than can fit on the screen, use the "Up"
|
If there are more than can fit on the screen, use the "Up"
|
||||||
and "Down" arrows at the top and bottom of the list to
|
and "Down" arrows at the top and bottom of the list to
|
||||||
scroll through the list of pictures.
|
scroll through the list of pictures.
|
||||||
|
|
||||||
|
[IMG]
|
||||||
|
|
||||||
Click a picture to select it, then...
|
Click a picture to select it, then...
|
||||||
|
|
||||||
* Click the green "Open" button at the lower left of
|
* [IMG]
|
||||||
|
|
||||||
|
Click the green "Open" button at the lower left of
|
||||||
the list to load the selected picture.
|
the list to load the selected picture.
|
||||||
|
|
||||||
(Alternatively, you can double-click a picture's icon
|
(Alternatively, you can double-click a picture's icon
|
||||||
to load it.)
|
to load it.)
|
||||||
|
|
||||||
* Click the brown "Erase" (trash can) button at the
|
* [IMG]
|
||||||
|
|
||||||
|
Click the brown "Erase" (trash can) button at the
|
||||||
lower right of the list to erase the selected
|
lower right of the list to erase the selected
|
||||||
picture. (You will be asked to confirm.)
|
picture. (You will be asked to confirm.)
|
||||||
|
|
||||||
* Or click the red "Back" arrow button at the lower
|
* [IMG]
|
||||||
|
|
||||||
|
Or click the red "Back" arrow button at the lower
|
||||||
right of the list to cancel and return to the picture
|
right of the list to cancel and return to the picture
|
||||||
you were drawing.
|
you were drawing.
|
||||||
|
|
||||||
|
|
@ -436,7 +483,7 @@ Available Tools
|
||||||
|
|
||||||
If choose to open a picture, and your current drawing hasn't
|
If choose to open a picture, and your current drawing hasn't
|
||||||
been saved, you will be prompted as to whether you want to
|
been saved, you will be prompted as to whether you want to
|
||||||
save it or not. (See "[13]Save," below.)
|
save it or not. (See "Save," below.)
|
||||||
|
|
||||||
Note: You can also press [Control]-[O] on the keyboard to
|
Note: You can also press [Control]-[O] on the keyboard to
|
||||||
get the 'Open' dialog.
|
get the 'Open' dialog.
|
||||||
|
|
@ -444,6 +491,7 @@ Available Tools
|
||||||
---------------------------------------------------------------------------
|
---------------------------------------------------------------------------
|
||||||
|
|
||||||
Save
|
Save
|
||||||
|
[IMG]
|
||||||
|
|
||||||
This saves your current picture.
|
This saves your current picture.
|
||||||
|
|
||||||
|
|
@ -460,8 +508,10 @@ Available Tools
|
||||||
asked whether you want to save over the old version, or
|
asked whether you want to save over the old version, or
|
||||||
create a new entry (a new file).
|
create a new entry (a new file).
|
||||||
|
|
||||||
|
[IMG]
|
||||||
|
|
||||||
(NOTE: If either the "saveover" or "saveovernew" options are
|
(NOTE: If either the "saveover" or "saveovernew" options are
|
||||||
set, it won't ask before saving over. See the "[14]Options"
|
set, it won't ask before saving over. See the "Options"
|
||||||
documentation.)
|
documentation.)
|
||||||
|
|
||||||
Note: You can also press [Control]-[S] on the keyboard to
|
Note: You can also press [Control]-[S] on the keyboard to
|
||||||
|
|
@ -470,6 +520,7 @@ Available Tools
|
||||||
---------------------------------------------------------------------------
|
---------------------------------------------------------------------------
|
||||||
|
|
||||||
Print
|
Print
|
||||||
|
[IMG]
|
||||||
|
|
||||||
Click this button and your picture will be printed!
|
Click this button and your picture will be printed!
|
||||||
|
|
||||||
|
|
@ -481,7 +532,7 @@ Available Tools
|
||||||
command-line), the "Print" button will be
|
command-line), the "Print" button will be
|
||||||
disabled.
|
disabled.
|
||||||
|
|
||||||
See the "[15]Options" documentation.)
|
See the "Options" documentation.)
|
||||||
|
|
||||||
Restricting Printing
|
Restricting Printing
|
||||||
|
|
||||||
|
|
@ -494,7 +545,7 @@ Available Tools
|
||||||
For example, with "printdelay=60", you can
|
For example, with "printdelay=60", you can
|
||||||
print only once a minute.
|
print only once a minute.
|
||||||
|
|
||||||
See the "[16]Options" documentation.)
|
See the "Options" documentation.)
|
||||||
|
|
||||||
Printing Command
|
Printing Command
|
||||||
|
|
||||||
|
|
@ -510,7 +561,7 @@ Available Tools
|
||||||
"printcommand" value in Tux Paint's
|
"printcommand" value in Tux Paint's
|
||||||
configuration file.
|
configuration file.
|
||||||
|
|
||||||
See the "[17]Options" documentation.)
|
See the "Options" documentation.)
|
||||||
|
|
||||||
Printer Settings
|
Printer Settings
|
||||||
|
|
||||||
|
|
@ -537,18 +588,19 @@ Available Tools
|
||||||
"userdata/print.cfg". Any changes will be saved
|
"userdata/print.cfg". Any changes will be saved
|
||||||
there as well.
|
there as well.
|
||||||
|
|
||||||
See the "[18]Options" documentation.)
|
See the "Options" documentation.)
|
||||||
|
|
||||||
---------------------------------------------------------------------------
|
---------------------------------------------------------------------------
|
||||||
|
|
||||||
Quit
|
Quit
|
||||||
|
[IMG]
|
||||||
|
|
||||||
Clicking the "Quit" button, closing the Tux Paint window, or
|
Clicking the "Quit" button, closing the Tux Paint window, or
|
||||||
pushing the "Escape" key will quit Tux Paint.
|
pushing the "Escape" key will quit Tux Paint.
|
||||||
|
|
||||||
(NOTE: The "Quit" button can be disabled (e.g., with the
|
(NOTE: The "Quit" button can be disabled (e.g., with the
|
||||||
"--noquit" command-line option), but the [Escape] key will
|
"--noquit" command-line option), but the [Escape] key will
|
||||||
still work. See the "[19]Options" documentation.)
|
still work. See the "Options" documentation.)
|
||||||
|
|
||||||
You will first be prompted as to whether you really want to
|
You will first be prompted as to whether you really want to
|
||||||
quit.
|
quit.
|
||||||
|
|
@ -556,7 +608,7 @@ Available Tools
|
||||||
If you choose to quit, and you haven't saved the current
|
If you choose to quit, and you haven't saved the current
|
||||||
picture, you will first be asked if wish to save it. If it's
|
picture, you will first be asked if wish to save it. If it's
|
||||||
not a new image, you will then be asked if you want to save
|
not a new image, you will then be asked if you want to save
|
||||||
over the old version, or create a new entry. (See "[20]Save"
|
over the old version, or create a new entry. (See "Save"
|
||||||
above.)
|
above.)
|
||||||
|
|
||||||
NOTE: If the image is saved, it will be reloaded
|
NOTE: If the image is saved, it will be reloaded
|
||||||
|
|
@ -724,6 +776,8 @@ Brushes
|
||||||
The brushes used for drawing with the 'Brush' and 'Lines' tools in
|
The brushes used for drawing with the 'Brush' and 'Lines' tools in
|
||||||
Tux Paint are simply greyscale PNG images.
|
Tux Paint are simply greyscale PNG images.
|
||||||
|
|
||||||
|
[IMG]
|
||||||
|
|
||||||
The alpha (transparency) of the PNG image is used to determine the
|
The alpha (transparency) of the PNG image is used to determine the
|
||||||
shape of the brush, which means that the shape can be 'anti-aliased'
|
shape of the brush, which means that the shape can be 'anti-aliased'
|
||||||
and even partially-transparent!
|
and even partially-transparent!
|
||||||
|
|
@ -752,6 +806,8 @@ Stamps
|
||||||
files. The one file that is required is, of course, the picture
|
files. The one file that is required is, of course, the picture
|
||||||
itself.
|
itself.
|
||||||
|
|
||||||
|
[IMG]
|
||||||
|
|
||||||
The Stamps used by Tux Paint are PNG pictures. They can be
|
The Stamps used by Tux Paint are PNG pictures. They can be
|
||||||
full-color or greyscale. The alpha (transparency) of the PNG is used
|
full-color or greyscale. The alpha (transparency) of the PNG is used
|
||||||
to determine the actual shape of the picture (otherwise you'll stamp
|
to determine the actual shape of the picture (otherwise you'll stamp
|
||||||
|
|
@ -851,6 +907,8 @@ Stamps
|
||||||
Nothing about the original image is used except the transparency
|
Nothing about the original image is used except the transparency
|
||||||
("alpha" channel). The color of the stamp comes out solid.
|
("alpha" channel). The color of the stamp comes out solid.
|
||||||
|
|
||||||
|
[IMG]
|
||||||
|
|
||||||
Add the word "colorable" to the stamp's data file.
|
Add the word "colorable" to the stamp's data file.
|
||||||
|
|
||||||
Tinted
|
Tinted
|
||||||
|
|
@ -860,6 +918,8 @@ Stamps
|
||||||
the original image is used, but its hue is changed, based on the
|
the original image is used, but its hue is changed, based on the
|
||||||
currently-selected color.)
|
currently-selected color.)
|
||||||
|
|
||||||
|
[IMG]
|
||||||
|
|
||||||
Add the word "tintable" to the stamp's data file.
|
Add the word "tintable" to the stamp's data file.
|
||||||
|
|
||||||
Sometimes you don't want the white or gray parts of an image
|
Sometimes you don't want the white or gray parts of an image
|
||||||
|
|
@ -886,6 +946,20 @@ Stamps
|
||||||
To keep a stamp from being mirrored, add the option "nomirror" to
|
To keep a stamp from being mirrored, add the option "nomirror" to
|
||||||
the stamp's data file.
|
the stamp's data file.
|
||||||
|
|
||||||
|
Initial Stamp Size
|
||||||
|
|
||||||
|
By default, Tux Paint assumes that your stamp is sized
|
||||||
|
appropriately for unscaled display on a 608x472 canvas. This is
|
||||||
|
the original Tux Paint canvas size, provided by a 640x480 screen.
|
||||||
|
Tux Paint will then adjust the stamp according to the current
|
||||||
|
canvas size and, if enabled, the user's stamp size controls.
|
||||||
|
|
||||||
|
If your stamp would be too big or too small, you can specify a
|
||||||
|
scale factor. If your stamp would be 2.5 times as wide (or tall)
|
||||||
|
as it should be, add the option "scale 40%" or "scale 5/2" or
|
||||||
|
"scale 2.5" or "scale 2:5" to your image. You may include an "="
|
||||||
|
if you wish, as in "scale=40%".
|
||||||
|
|
||||||
Windows Users
|
Windows Users
|
||||||
|
|
||||||
You can use NotePad or WordPad to create these file. Be sure to
|
You can use NotePad or WordPad to create these file. Be sure to
|
||||||
|
|
@ -913,6 +987,8 @@ Stamps
|
||||||
|
|
||||||
Fonts
|
Fonts
|
||||||
|
|
||||||
|
[IMG]
|
||||||
|
|
||||||
The fonts used by Tux Paint are TrueType Fonts (TTF).
|
The fonts used by Tux Paint are TrueType Fonts (TTF).
|
||||||
|
|
||||||
Simply place them in the "fonts" directory. Tux Paint will load the
|
Simply place them in the "fonts" directory. Tux Paint will load the
|
||||||
|
|
@ -923,6 +999,8 @@ Fonts
|
||||||
|
|
||||||
'Starters'
|
'Starters'
|
||||||
|
|
||||||
|
[IMG]
|
||||||
|
|
||||||
'Starter' images appear in the 'Open' dialog, along with pictures
|
'Starter' images appear in the 'Open' dialog, along with pictures
|
||||||
you've created. They have a green button background, instead of blue.
|
you've created. They have a green button background, instead of blue.
|
||||||
|
|
||||||
|
|
@ -999,18 +1077,18 @@ Fonts
|
||||||
Other documentation included with Tux Paint (in the "docs"
|
Other documentation included with Tux Paint (in the "docs"
|
||||||
folder/directory) include:
|
folder/directory) include:
|
||||||
|
|
||||||
* [21]AUTHORS.txt
|
* AUTHORS.txt
|
||||||
List of authors and contributors
|
List of authors and contributors
|
||||||
* [22]CHANGES.txt
|
* CHANGES.txt
|
||||||
Summary of changed between releases
|
Summary of changed between releases
|
||||||
* [23]COPYING.txt
|
* COPYING.txt
|
||||||
Copying license (The GNU General Public License)
|
Copying license (The GNU General Public License)
|
||||||
* [24]INSTALL.txt
|
* INSTALL.txt
|
||||||
Instructions for compiling/installing, when applicable
|
Instructions for compiling/installing, when applicable
|
||||||
* [25]OPTIONS.html
|
* OPTIONS.html
|
||||||
Detailed instructions on command-line and configuration-file
|
Detailed instructions on command-line and configuration-file
|
||||||
options, for those who don't want to use Tux Paint Config.
|
options, for those who don't want to use Tux Paint Config.
|
||||||
* [26]PNG.txt
|
* PNG.txt
|
||||||
Notes on creating PNG format images for use in Tux Paint
|
Notes on creating PNG format images for use in Tux Paint
|
||||||
|
|
||||||
---------------------------------------------------------------------------
|
---------------------------------------------------------------------------
|
||||||
|
|
@ -1019,34 +1097,9 @@ Fonts
|
||||||
|
|
||||||
If you need help, feel free to contact New Breed Software:
|
If you need help, feel free to contact New Breed Software:
|
||||||
|
|
||||||
[28]http://www.newbreedsoftware.com/
|
http://www.newbreedsoftware.com/
|
||||||
|
|
||||||
You may also wish to participate in the numerous Tux Paint mailing
|
You may also wish to participate in the numerous Tux Paint mailing
|
||||||
lists:
|
lists:
|
||||||
|
|
||||||
[29]http://www.newbreedsoftware.com/tuxpaint/lists/
|
http://www.newbreedsoftware.com/tuxpaint/lists/
|
||||||
|
|
||||||
References
|
|
||||||
|
|
||||||
Visible links
|
|
||||||
2. mailto:bill@newbreedsoftware.com
|
|
||||||
3. http://www.newbreedsoftware.com/tuxpaint/
|
|
||||||
4. file:///home/kendrick/Development/tux/tp/tuxpaint/docs/COPYING.txt
|
|
||||||
12. file:///home/kendrick/Development/tux/tp/tuxpaint/docs/html/OPTIONS.html
|
|
||||||
13. file:///home/kendrick/Development/tux/tp/tuxpaint/docs/html/README.html#save
|
|
||||||
14. file:///home/kendrick/Development/tux/tp/tuxpaint/docs/html/OPTIONS.html
|
|
||||||
15. file:///home/kendrick/Development/tux/tp/tuxpaint/docs/html/OPTIONS.html
|
|
||||||
16. file:///home/kendrick/Development/tux/tp/tuxpaint/docs/html/OPTIONS.html
|
|
||||||
17. file:///home/kendrick/Development/tux/tp/tuxpaint/docs/html/OPTIONS.html
|
|
||||||
18. file:///home/kendrick/Development/tux/tp/tuxpaint/docs/html/OPTIONS.html
|
|
||||||
19. file:///home/kendrick/Development/tux/tp/tuxpaint/docs/html/OPTIONS.html
|
|
||||||
20. file:///home/kendrick/Development/tux/tp/tuxpaint/docs/html/README.html#save
|
|
||||||
21. file:///home/kendrick/Development/tux/tp/tuxpaint/docs/AUTHORS.txt
|
|
||||||
22. file:///home/kendrick/Development/tux/tp/tuxpaint/docs/CHANGES.txt
|
|
||||||
23. file:///home/kendrick/Development/tux/tp/tuxpaint/docs/COPYING.txt
|
|
||||||
24. file:///home/kendrick/Development/tux/tp/tuxpaint/docs/INSTALL.txt
|
|
||||||
25. file:///home/kendrick/Development/tux/tp/tuxpaint/docs/html/OPTIONS.html
|
|
||||||
26. file:///home/kendrick/Development/tux/tp/tuxpaint/docs/PNG.txt
|
|
||||||
27. file:///home/kendrick/Development/tux/tp/tuxpaint/docs/TODO.txt
|
|
||||||
28. http://www.newbreedsoftware.com/
|
|
||||||
29. http://www.newbreedsoftware.com/tuxpaint/lists/
|
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ New Breed Software</p>
|
||||||
<p><a href="mailto:bill@newbreedsoftware.com">bill@newbreedsoftware.com</a><br>
|
<p><a href="mailto:bill@newbreedsoftware.com">bill@newbreedsoftware.com</a><br>
|
||||||
<a href="http://www.newbreedsoftware.com/tuxpaint/">http://www.newbreedsoftware.com/tuxpaint/</a></p>
|
<a href="http://www.newbreedsoftware.com/tuxpaint/">http://www.newbreedsoftware.com/tuxpaint/</a></p>
|
||||||
|
|
||||||
<p>June 14, 2002 - October 24, 2004</p>
|
<p>June 14, 2002 - December 11, 2004</p>
|
||||||
</center>
|
</center>
|
||||||
|
|
||||||
<hr size=2 noshade>
|
<hr size=2 noshade>
|
||||||
|
|
@ -434,16 +434,10 @@ New Breed Software</p>
|
||||||
This makes the picture fuzzy wherever you drag the mouse.
|
This makes the picture fuzzy wherever you drag the mouse.
|
||||||
</dd>
|
</dd>
|
||||||
|
|
||||||
<dt><b>Blocks</b></dt>
|
<dt><b>Smudge</b></dt>
|
||||||
<dd>
|
<dd>
|
||||||
This makes the picture blocky looking ("pixelated") wherever
|
This pushes the colors around under the mouse, like finger painting
|
||||||
you drag the mouse.
|
with wet paint.
|
||||||
</dd>
|
|
||||||
|
|
||||||
<dt><b>Negative</b></dt>
|
|
||||||
<dd>
|
|
||||||
This inverts the colors wherever you drag the mouse.
|
|
||||||
(e.g., white becomes black, and vice versa.)
|
|
||||||
</dd>
|
</dd>
|
||||||
|
|
||||||
<dt><b>Fade</b></dt>
|
<dt><b>Fade</b></dt>
|
||||||
|
|
@ -453,15 +447,23 @@ New Breed Software</p>
|
||||||
white.)
|
white.)
|
||||||
</dd>
|
</dd>
|
||||||
|
|
||||||
|
<dt><b>Darken</b></dt>
|
||||||
|
<dd>
|
||||||
|
This dakrens the colors wherever you drag the mouse.
|
||||||
|
(Do it to the same spot many times, and it will eventually become
|
||||||
|
black.)
|
||||||
|
</dd>
|
||||||
|
|
||||||
<dt><b>Chalk</b></dt>
|
<dt><b>Chalk</b></dt>
|
||||||
<dd>
|
<dd>
|
||||||
This makes parts of the picture (where you move the mouse)
|
This makes parts of the picture (where you move the mouse)
|
||||||
look like a chalk drawing.
|
look like a chalk drawing.
|
||||||
</dd>
|
</dd>
|
||||||
|
|
||||||
<dt><b>Drip</b></dt>
|
<dt><b>Blocks</b></dt>
|
||||||
<dd>
|
<dd>
|
||||||
This makes the paint "drip" wherever you move the mouse.
|
This makes the picture blocky looking ("pixelated") wherever
|
||||||
|
you drag the mouse.
|
||||||
</dd>
|
</dd>
|
||||||
|
|
||||||
<dt><b>Thick</b></dt>
|
<dt><b>Thick</b></dt>
|
||||||
|
|
@ -476,6 +478,28 @@ New Breed Software</p>
|
||||||
(light colors become thicker).
|
(light colors become thicker).
|
||||||
</dd>
|
</dd>
|
||||||
|
|
||||||
|
<dt><b>Negative</b></dt>
|
||||||
|
<dd>
|
||||||
|
This inverts the colors wherever you drag the mouse.
|
||||||
|
(e.g., white becomes black, and vice versa.)
|
||||||
|
</dd>
|
||||||
|
|
||||||
|
<dt><b>Tint</b></dt>
|
||||||
|
<dd>
|
||||||
|
This changes the parts of the picture to the selected color.
|
||||||
|
</dd>
|
||||||
|
|
||||||
|
<dt><b>Drip</b></dt>
|
||||||
|
<dd>
|
||||||
|
This makes the paint "drip" wherever you move the mouse.
|
||||||
|
</dd>
|
||||||
|
|
||||||
|
<dt><b>Cartoon</b></dt>
|
||||||
|
<dd>
|
||||||
|
This makes the picture look like a cartoon — with thick
|
||||||
|
outlines and solid colors — wherever you move the mouse.
|
||||||
|
</dd>
|
||||||
|
|
||||||
<dt><b>Fill</b></dt>
|
<dt><b>Fill</b></dt>
|
||||||
<dd>
|
<dd>
|
||||||
This floods the picture with a color. It lets you quickly
|
This floods the picture with a color. It lets you quickly
|
||||||
|
|
|
||||||
|
|
@ -4232,7 +4232,7 @@ static void blit_magic(int x, int y, int button_down)
|
||||||
SDL_UnlockSurface(canvas);
|
SDL_UnlockSurface(canvas);
|
||||||
SDL_UnlockSurface(last);
|
SDL_UnlockSurface(last);
|
||||||
}
|
}
|
||||||
else if (cur_magic == MAGIC_FADE)
|
else if (cur_magic == MAGIC_FADE || cur_magic == MAGIC_DARKEN)
|
||||||
{
|
{
|
||||||
SDL_LockSurface(last);
|
SDL_LockSurface(last);
|
||||||
SDL_LockSurface(canvas);
|
SDL_LockSurface(canvas);
|
||||||
|
|
@ -4246,9 +4246,18 @@ static void blit_magic(int x, int y, int button_down)
|
||||||
SDL_GetRGB(getpixel(last, xx, yy), last->format,
|
SDL_GetRGB(getpixel(last, xx, yy), last->format,
|
||||||
&r, &g, &b);
|
&r, &g, &b);
|
||||||
|
|
||||||
r = min(r + 48, 255);
|
if (cur_magic == MAGIC_FADE)
|
||||||
g = min(g + 48, 255);
|
{
|
||||||
b = min(b + 48, 255);
|
r = min(r + 48, 255);
|
||||||
|
g = min(g + 48, 255);
|
||||||
|
b = min(b + 48, 255);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
r = max(r - 48, 0);
|
||||||
|
g = max(g - 48, 0);
|
||||||
|
b = max(b - 48, 0);
|
||||||
|
}
|
||||||
|
|
||||||
putpixel(canvas, xx, yy, SDL_MapRGB(canvas->format, r, g, b));
|
putpixel(canvas, xx, yy, SDL_MapRGB(canvas->format, r, g, b));
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue