if (fillStyle == FillOpaqueStippled) { do { if ((sbits & smask) != 0) *pdst = fgfill; else *pdst = bgfill; pdst++; smask <<= 1; } while (pdst < pdstmax); } else { do { if ((sbits & smask) != 0) *pdst = fgfill; pdst++; smask <<= 1; } while (pdst < pdstmax); }
do { if ((sbits & smask) != 0) *pdst = fgfill; pdst++; smask <<= 1; } while (pdst < pdstmax);
pxStippleBuf(PixmapPtr pStipple, u_int32_t *pdst, int width, int fillStyle,	     u_int32_t fgfill, u_int32_t bgfill, int xorg, int yorg){	int sx, sy, sxmin, sxmax, w;	u_int sbits, smask;	u_int32_t *sptr, *pdstmax;	PX_TRACE("pxStippleBuf");	sx = pStipple->drawable.x + xorg % pStipple->drawable.width;	sy = pStipple->drawable.y + yorg % pStipple->drawable.height;	sxmin = pStipple->drawable.x;	sxmax = pStipple->drawable.x + pStipple->drawable.width;	sptr = (u_int32_t *)((u_int8_t *)pStipple->devPrivate.ptr +	    sy * pStipple->devKind);	while (width > 0) {		w = min(width, sxmax - sx);		w = min(w, 32 - (sx & 31));		width -= w;		sbits = sptr[sx >> 5];		smask = 1 << (sx & 31);		pdstmax = pdst + w;		if ((sx += w) >= sxmax)			sx = sxmin;		if (fillStyle == FillOpaqueStippled) {			do {				if ((sbits & smask) != 0)					*pdst = fgfill;				else					*pdst = bgfill;				pdst++;				smask <<= 1;			} while (pdst < pdstmax);		} else {			do {				if ((sbits & smask) != 0)					*pdst = fgfill;				pdst++;				smask <<= 1;			} while (pdst < pdstmax);		}	}}