API - Chapitre 03.pdf - IUT d'Arles

API - Chapitre 03.pdf - IUT d'Arles API - Chapitre 03.pdf - IUT d'Arles

iut.arles.up.univ.mrs.fr
from iut.arles.up.univ.mrs.fr More from this publisher
10.03.2014 Views

Effet de l’alpha blending Alpha faible (max=255) couleur transparente Pen crayon(Color(80, 0, 0, 255),40); graphics.DrawLine(&crayon, 10, 20,280, 150); 18

3.2.6 Tracé de rectangles Graphics::DrawRectangle(Pen *crayon, int x, int y, int largeur, int hauteur); Exemple: graphics.DrawRectangle(&crayon, 100, 50, 80, 40); 100 50 40 80 19

3.2.6 Tracé de rectangles<br />

Graphics::DrawRectangle(Pen *crayon, int x, int y,<br />

int largeur, int hauteur);<br />

Exemple:<br />

graphics.DrawRectangle(&crayon, 100, 50, 80, 40);<br />

100<br />

50<br />

40<br />

80<br />

19

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!