next up previous
Next: Commandes gdb Up: Mémento C - shell, Previous: Commandes shell Unix

Graphiques

Graphiques
#include <win.h>
winInit(w,h,col);
winLoop();
winLine(a,b,c,d,col,t);
winRect(a,b,w,h,col,t);
winFillRect(a,b,w,h,col);
winCircle(a,b,w,h,col,t);
winFillCircle(a,b,w,h,col);
winPoint(a,b,col);
void winPoly(int n,pixel p[],WinColor col,int w);
void winFillPoly(int n,pixel p[],WinColor col);
winString(a,b,s,col);
winGreyImage(g,w,h,x,y);
winColorImage(r,g,b,w,h,x,y);
winGreyPoint(x,y,g);
winColorPoint(x,y,r,g,b);
button=winInput(&x,&y);
key=winKey();
key=winEvent(int millisec);
white,black,blue,red,green,yellow,cyan,magenta
LDLIBS=-lwin -lXm -lXt -lX11


R.Keriven (Cermics)