Added info on Grow/Shrink to docs. More playing with hq4x before bedtime.

This commit is contained in:
William Kendrick 2003-12-21 01:23:42 +00:00
parent 8ab8165e6b
commit e65e4799f9
6 changed files with 31 additions and 11 deletions

View file

@ -9,7 +9,7 @@
bill@newbreedsoftware.com
http://www.newbreedsoftware.com/tuxpaint/
June 14, 2002 - December 19, 2003
June 14, 2002 - December 20, 2003
----------------------------------------------------------------------
@ -829,8 +829,15 @@ Available Tools
showing where the stamp will be placed.
Different stamps can have different sound effects. Some
stamps can be colored or tinted. Many stamps can be flipped
vertically, or displayed as a mirror-image.
stamps can be colored or tinted.
Stamps and be shrunk and expanded, and many stamps can be
flipped vertically, or displayed as a mirror-image, using
controls at the bottom right of the screen.
(NOTE: If the "nostampcontrols" option is set, Tux Paint
won't display the Mirror, Flip, Shrink and Grow controls for
stamps. See the "Options" section of this document, above.)
----------------------------------------------------------------------

View file

@ -6,7 +6,7 @@ Copyright (c) 2003 by Bill Kendrick
bill@newbreedsoftware.com
http://www.newbreedsoftware.com/tuxpaint/
December 18, 2003
December 20, 2003
LOW-PRIORITY DOCUMENTATION CHANGES:
@ -96,6 +96,8 @@ LOW-PRIORITY TRANSLATION STUFF:
FEATURE IDEAS:
--------------
* "Cartoonify" magic tool. Kind of like posterize, but different?
* Create symbolic link "~/TuxPaintPictures" that points to
"~/.tuxpaint/saved/"???
FREQUENTLY REQUESTED

View file

@ -23,7 +23,7 @@ New Breed Software</p>
<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>
<p>June 14, 2002 - December 19, 2003</p>
<p>June 14, 2002 - December 20, 2003</p>
</center>
<hr size=2 noshade>
@ -1257,8 +1257,16 @@ New Breed Software</p>
mouse, showing where the stamp will be placed.</p>
<p>Different stamps can have different sound effects.
Some stamps can be colored or tinted. Many stamps can be
flipped vertically, or displayed as a mirror-image.</p>
Some stamps can be colored or tinted.</p>
<p>Stamps and be shrunk and expanded, and many stamps can be
flipped vertically, or displayed as a mirror-image, using
controls at the bottom right of the screen.</p>
<p>(NOTE: If the "<code>nostampcontrols</code>" option is set,
Tux&nbsp;Paint won't display the Mirror, Flip, Shrink and Grow
controls for stamps. See the "Options" section of this document,
above.)</p>
<br clear=all>

View file

@ -36,7 +36,7 @@
#define PIXEL00_80 Interp8(dest, x * 4 + 0, y * 4 + 0, w[5], w[1], a)
#define PIXEL00_81 Interp8(dest, x * 4 + 0, y * 4 + 0, w[5], w[4], a)
#define PIXEL00_82 Interp8(dest, x * 4 + 0, y * 4 + 0, w[5], w[2], a)
#define PIXEL01_0 Interp0(dest, x * 4 + 0, y * 4 + 0, w[5], a)
#define PIXEL01_0 Interp0(dest, x * 4 + 1, y * 4 + 0, w[5], a)
#define PIXEL01_10 Interp1(dest, x * 4 + 1, y * 4 + 0, w[5], w[1], a)
#define PIXEL01_12 Interp1(dest, x * 4 + 1, y * 4 + 0, w[5], w[2], a)
#define PIXEL01_14 Interp1(dest, x * 4 + 1, y * 4 + 0, w[2], w[5], a)

View file

@ -89,6 +89,9 @@ Uint16 hqxx_getpixel(SDL_Surface * surface, int x, int y, Uint8 * alpha)
SDL_GetRGBA(pixel, surface->format, &r, &g, &b, alpha);
/* (Perhaps reducing the number of colors by chopping off the bottoms of
R, G and B will help?) */
pixel16 = ((r >> 3) << 11) | ((g >> 2) << 5) | (b >> 3);
return pixel16;

View file

@ -35,9 +35,9 @@
//trU in 32 = 0x00000700
//trV in 32 = 0x00000006
#define trY 0x3000
#define trU 0x00C0
#define trV 0x0006
#define trY ((0x30 & 0xF8) << 8)
#define trU ((0x07 & 0x7E) << 3)
#define trV ((0x06 & 0x1F))
Uint16 hqxx_getpixel(SDL_Surface * surface, int x, int y, Uint8 * alpha);