# include "Ximage.h"

bDrawBuffer *bDrawIt () {

  int i;
  bDrawBuffer *buffer;
  bDrawColor black;

  black = KapaColorByName ("black");

  buffer = bDrawBufferCreate (graphic.dx, graphic.dy);
  bDrawSetBuffer (buffer);
  bDrawSetStyle (black, 0, 0);
  
  for (i = 0; i < Nsection; i++) {
    bDrawFrame (&section[i]); 
    bDrawObjects (&section[i]);
    bDrawLabels (&section[i]);
    bDrawPtext (&section[i]);
  }
  
  return (buffer);
}

