Lines Matching refs:swidth
536 int swidth = width + gsize;
543 data = malloc (swidth * sheight * sizeof (unsigned char));
552 swidth, sheight, 8, swidth * sizeof (unsigned char));
569 memset(data, d, sheight * swidth);
578 if (xlimit > swidth / 2)
579 xlimit = (swidth + 1) / 2;
588 data[y * swidth + x] = d;
589 data[(sheight - y - 1) * swidth + x] = d;
590 data[(sheight - y - 1) * swidth + (swidth - x - 1)] = d;
591 data[y * swidth + (swidth - x - 1)] = d;
597 x_diff = swidth - (gsize * 2);
606 memset (&data[y * swidth + gsize], d, x_diff);
607 memset (&data[(sheight - y - 1) * swidth + gsize], d, x_diff);
623 data[y * swidth + x] = d;
624 data[y * swidth + (swidth - x - 1)] = d;