예제 #1
0
int main() {
 
  CINI_open_window(400, 300, "test");
  
  CINI_draw_pixel(199, 200, "white");   /* affiche pt coord x=199, y=200*/
  CINI_draw_pixel(200, 200, "white");   /* affiche pt coord x=200, y=200*/
  CINI_draw_pixel(201, 200, "white");   /* affiche pt coord x=201, y=200*/

  CINI_loop();
  return 0;
}
예제 #2
0
파일: 2.c 프로젝트: Eastkap/1I002
void dessiner_baton(int point[],int largeur, int hauteur, char couleur []){
	
	CINI_fill_rect(point[0],point[1]-hauteur,largeur,hauteur,couleur);
	CINI_loop();
}