mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-21 12:02:32 +00:00
v1.05: Sub-pixel jitter is now less severe and less coarse.
Mon Dec 11 20:29:55 GMT 2000 Adam D. Moss <adam@gimp.org> * plug-ins/common/gee.c: v1.05: Sub-pixel jitter is now less severe and less coarse.
This commit is contained in:
parent
01412f0ba2
commit
ec5a515e9b
|
@ -1,3 +1,8 @@
|
|||
Mon Dec 11 20:29:55 GMT 2000 Adam D. Moss <adam@gimp.org>
|
||||
|
||||
* plug-ins/common/gee.c: v1.05: Sub-pixel jitter is
|
||||
now less severe and less coarse.
|
||||
|
||||
2000-12-11 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* app/paint_core.c: clamp scale factor between 0.0 and 1.0 to avoid
|
||||
|
|
|
@ -1,12 +1,15 @@
|
|||
/*
|
||||
* Adam D. Moss : 1998/1999 : adam@gimp.org : adam@foxbox.org
|
||||
* Adam D. Moss : 1998-2000 : adam@gimp.org : adam@foxbox.org
|
||||
*
|
||||
* This is part of the GIMP package and is released under the GNU
|
||||
* Public License.
|
||||
*/
|
||||
|
||||
/*
|
||||
* Version 1.04 : 99.03.29
|
||||
* Version 1.05 : 2000-12-11
|
||||
*
|
||||
* 1.05:
|
||||
* Sub-pixel jitter is now less severe and less coarse.
|
||||
*
|
||||
* 1.04:
|
||||
* Wigglyness and button-click fun.
|
||||
|
@ -354,8 +357,8 @@ domap1 (unsigned char *src, unsigned char *dest,
|
|||
bycxmcybx = 1;
|
||||
|
||||
/* A little sub-pixel jitter to liven things up. */
|
||||
basesx = (((RAND_FUNC ()%89)<<19)/bycxmcybx) + ((-128-((128*256)/(cx+bx)))<<11);
|
||||
basesy = (((RAND_FUNC ()%89)<<19)/bycxmcybx) + ((-128-((128*256)/(cy+by)))<<11);
|
||||
basesx = (((RAND_FUNC ()%(29<<19))/bycxmcybx)) + ((-128-((128*256)/(cx+bx)))<<11);
|
||||
basesy = (((RAND_FUNC ()%(29<<19))/bycxmcybx)) + ((-128-((128*256)/(cy+by)))<<11);
|
||||
|
||||
bx2 = ((bx)<<19)/bycxmcybx;
|
||||
cx2 = ((cx)<<19)/bycxmcybx;
|
||||
|
|
Loading…
Reference in a new issue