Lines Matching refs:bgscale
164 static int bgscale = 16;
814 int xidx, yidx, yidx_max = (bgscale-1);
836 colors (N == bgscale).
854 yidx = row % bgscale;
855 even_odd_vert = (row / bgscale) & 1;
873 even_odd_horiz = (i / bgscale) & 1;
904 Soft gradient-diamonds with scale = bgscale. Code contributed by Adam
910 hmax = (bgscale-1)/2; /* half the max weight of a color */
921 yidx = row % bgscale;
923 yidx = bgscale-1 - yidx;
926 xidx = i % bgscale;
928 xidx = bgscale-1 - xidx;
938 soids will equal bgscale?]. This one is slow but very cool. Code con-