The R Project SVN R

Rev

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

Rev 29909 Rev 30104
Line 450... Line 450...
450
  BMPW(1);	/* biPlanes - must be 1 */
450
  BMPW(1);	/* biPlanes - must be 1 */
451
  BMPW(biBitCount); /* biBitCount */
451
  BMPW(biBitCount); /* biBitCount */
452
  BMPDW(0); /* biCompression=BI_RGB */
452
  BMPDW(0); /* biCompression=BI_RGB */
453
  BMPDW(0); /* biSizeImage (with BI_RGB not needed)*/
453
  BMPDW(0); /* biSizeImage (with BI_RGB not needed)*/
454
  lres = (long)(0.5 + res/0.0254);
454
  lres = (long)(0.5 + res/0.0254);
455
  Rprintf("%d %d %x\n", res, lres, lres);
-
 
456
  BMPLONG(lres); /* XPels/M <- used only by Windows?*/
455
  BMPLONG(lres); /* XPels/M <- used only by Windows?*/
457
  BMPLONG(lres); /* XPels/M */
456
  BMPLONG(lres); /* XPels/M */
458
  BMPDW(biClrUsed); /* biClrUsed */
457
  BMPDW(biClrUsed); /* biClrUsed */
459
  BMPDW(0) ; /* biClrImportant All colours are important */
458
  BMPDW(0) ; /* biClrImportant All colours are important */
460
 
459