コード例 #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();
}