The R Project SVN R

Rev

Rev 76910 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 76910 Rev 87180
Line 209... Line 209...
209
		data[i]   = getblue(colour);
209
		data[i]   = getblue(colour);
210
		data[i+1] = getgreen(colour);
210
		data[i+1] = getgreen(colour);
211
		data[i+2] = getred(colour);
211
		data[i+2] = getred(colour);
212
	    }
212
	    }
213
	}
213
	}
-
 
214
    else if (height && width)
214
    else memcpy(data, pixel32, 4*height*width);
215
	memcpy(data, pixel32, 4*height*width);
215
 
216
 
216
    /* Create the bitmap from the DIB data.
217
    /* Create the bitmap from the DIB data.
217
       Could also use CreateDIBsection */
218
       Could also use CreateDIBsection */
218
 
219
 
219
    HDC screendc = GetDC(0);
220
    HDC screendc = GetDC(0);