next up previous contents index
Next: Dessins bitmaps Up: Le débogueur gdb Previous: Dessins vectoriels

Exemple 1

#include <win.h>

int main()
{
  int i;
  
  winInit(512, 512, yellow);
  winLine(20, 10, 300, 100, red, 5);
  winRect(50, 50, 30, 10, cyan, 2);
  winFillRect(150, 50, 30, 40, magenta);
  for (i=100;i<200;i++)
    winPoint(i, 300, black);
  winLoop();
  return 0;
}


Jean-Philippe Chancelier
9/29/1998