API - Chapitre 03.pdf - IUT d'Arles
API - Chapitre 03.pdf - IUT d'Arles API - Chapitre 03.pdf - IUT d'Arles
3.2.9 Tracé de courbes splines Courbe passant par des points de contrôle. Point liste_points[] = {Point(60, 180), Point(30, 60)}; Point(120, 80), Point(170, 20), Point(220, 100)}; graphics.DrawCurve(&crayon, liste_points, 5, 1.0f); 22
Dernier paramètre = « tension » graphics.DrawCurve(&crayon, liste_points, 5, 1.0f ); Tension = 0.0f Tension = 1.0f Tension = 2.0f 23
- Page 1 and 2: 3. Affichage graphique 3.1 Graphics
- Page 3 and 4: Le cas le plus courant d’affichag
- Page 5 and 6: 3.2 Evolution de GDI : GDI+ Nombre
- Page 7 and 8: Paramètres : Dans le menu Projet,
- Page 9 and 10: Au début de votre programme, on in
- Page 11 and 12: Obtenir un contexte de périphériq
- Page 13 and 14: 3.2.3 La classe Color En informatiq
- Page 15 and 16: 3.2.4 La classe Pen Classe de « cr
- Page 17 and 18: Définition des extrémités de lig
- Page 19 and 20: 3.2.6 Tracé de rectangles Graphics
- Page 21: 3.2.8 Tracé de polygones Point lis
- Page 25 and 26: 3.2.11 Remplissage de formes avec d
- Page 27 and 28: La classe HatchBrush HatchBrush bro
- Page 29 and 30: 3.2.12 Clipping Le « clipping » o
- Page 31 and 32: Une fonction GDI+ permet d’utilis
- Page 33 and 34: Affichage de texte dans une zone re
- Page 35 and 36: 3.2.15 Affichage d’images Image :
- Page 37 and 38: Classe Image Pour afficher une imag
- Page 39 and 40: 2 Graphics::DrawImage(Image* image,
- Page 41: Gestion de la transparence Certains
3.2.9 Tracé de courbes splines<br />
Courbe passant par des points de contrôle.<br />
Point liste_points[] = {Point(60, 180), Point(30, 60)};<br />
Point(120, 80), Point(170, 20),<br />
Point(220, 100)};<br />
graphics.DrawCurve(&crayon, liste_points, 5, 1.0f);<br />
22