Lines Matching defs:bgscale
136 static int bgscale = 16;
755 int xidx, yidx, yidx_max = (bgscale-1);
777 colors (N == bgscale).
795 yidx = row % bgscale;
796 even_odd_vert = (row / bgscale) & 1;
814 even_odd_horiz = (i / bgscale) & 1;
845 Soft gradient-diamonds with scale = bgscale. Code contributed by Adam
851 hmax = (bgscale-1)/2; /* half the max weight of a color */
862 yidx = row % bgscale;
864 yidx = bgscale-1 - yidx;
867 xidx = i % bgscale;
869 xidx = bgscale-1 - xidx;
879 soids will equal bgscale?]. This one is slow but very cool. Code con-