Lines Matching defs:bgscale
142 static int bgscale = 16;
858 int xidx, yidx, yidx_max = (bgscale-1);
882 colors (N == bgscale).
900 yidx = (int)(row % bgscale);
901 even_odd_vert = (int)((row / bgscale) & 1);
919 even_odd_horiz = (int)((i / bgscale) & 1);
950 Soft gradient-diamonds with scale = bgscale. Code contributed by Adam
956 hmax = (bgscale-1)/2; /* half the max weight of a color */
967 yidx = (int)(row % bgscale);
969 yidx = bgscale-1 - yidx;
972 xidx = (int)(i % bgscale);
974 xidx = bgscale-1 - xidx;
984 soids will equal bgscale?]. This one is slow but very cool. Code con-